/* SAC GYM · sección "Precios" rediseñada. Prefijo sgp- para no chocar con Elementor ni con Font Awesome (fa-). */

/* Lo original de Elementor queda en la página, oculto. */
.elementor-element.sgp-on > :not(.sgp-wrap) { display: none !important; }
/* Elementor le da a la sección un 10% de margen a los costados (7% en el celular): el ancho lo maneja .sgp-wrap. */
.elementor-element.sgp-on { padding-left: 24px !important; padding-right: 24px !important; }

.sgp-wrap {
  --sgp-or: #f7941d;
  --sgp-or-d: #b35900;
  --sgp-or-l: #fff3e3;
  --sgp-ink: #1c1c1c;
  --sgp-mut: #5f6368;
  --sgp-line: #ece4d9;
  --sgp-blue: #1d71f7;
  --sgp-blue-d: #1559c9;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  color: var(--sgp-ink);
  text-align: left;
}
.sgp-wrap *, .sgp-wrap *::before, .sgp-wrap *::after { box-sizing: border-box; }
/* :where() para que este reseteo no les gane a las clases de abajo. */
.sgp-wrap :where(p, h2, h3, h4, ul, li, figure, figcaption, blockquote) { margin: 0; padding: 0; font-style: normal; }
.sgp-wrap :where(p) { line-height: 1.45; }
.sgp-wrap :where(ul) { list-style: none; }
.sgp-wrap svg { display: block; flex: none; }

/* Encabezado */
.sgp-head { margin-bottom: 44px; text-align: center; }
.sgp-wrap h2.sgp-title { font: 600 36px/1.2 Roboto, sans-serif !important; color: #252525 !important; }
.sgp-wrap p.sgp-sub { max-width: 640px; margin: 14px auto 0; font-size: 17px; line-height: 1.55; color: var(--sgp-mut); }
.sgp-sub b { font-weight: 700; color: var(--sgp-ink); }

/* Planes */
.sgp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sgp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--sgp-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -32px rgba(150, 80, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sgp-plan::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #f7941d, #ffb85c); }
.sgp-plan:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 32px 56px -30px rgba(150, 80, 0, .5); }
.sgp-plan-head { display: flex; align-items: center; gap: 14px; }
.sgp-plan-icon { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sgp-or-l); color: var(--sgp-or-d); }
.sgp-plan-icon svg { width: 27px; height: 27px; }
.sgp-wrap p.sgp-plan-size { font: 700 12px/1.2 Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--sgp-or-d); }
.sgp-wrap h3.sgp-plan-name { margin-top: 5px; font: 800 23px/1.15 Roboto, sans-serif !important; letter-spacing: -.01em; color: var(--sgp-ink) !important; text-transform: none; }
.sgp-plan-name small { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--sgp-mut); }
.sgp-plan-price { display: flex; align-items: flex-start; gap: 6px; margin-top: 26px; color: var(--sgp-ink); }
.sgp-wrap .sgp-cur { margin-top: 9px; font: 700 20px/1 Roboto, sans-serif; color: var(--sgp-or-d); }
.sgp-plan-price b { font: 800 58px/1 Roboto, sans-serif; letter-spacing: -.03em; }
.sgp-wrap p.sgp-plan-per { margin-top: 8px; font-size: 15px; color: var(--sgp-mut); }

.sgp-plan-ai { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding: 14px 16px; border: 1px solid #d7e4fd; border-radius: 16px; background: linear-gradient(135deg, #edf3ff, #f7faff); }
.sgp-plan-ai-ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sgp-blue); color: #fff; box-shadow: 0 10px 18px -10px rgba(29, 113, 247, .9); }
.sgp-plan-ai-ico svg { width: 23px; height: 23px; }
.sgp-wrap p.sgp-plan-ai-k { font: 700 11px/1.2 Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--sgp-blue-d); }
.sgp-plan-ai b { display: block; margin-top: 3px; font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--sgp-ink); }
.sgp-plan-ai-t { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--sgp-mut); }

.sgp-plan-extra { margin-top: 14px !important; }
.sgp-plan-extra li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.sgp-plan-extra li + li { margin-top: 6px; }
.sgp-plan-extra svg { width: 16px; height: 16px; margin-top: 2px; color: var(--sgp-or-d); }

.sgp-plan-win { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.sgp-plan-win .sgp-tick { margin-top: 1px; }
.sgp-plan-win b { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--sgp-ink); }
.sgp-wrap a.sgp-plan-all { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--sgp-mut) !important; text-decoration: none !important; }
.sgp-plan-all u { text-decoration: underline dotted #b9b0a4; text-underline-offset: 4px; }
.sgp-plan-all:hover u { text-decoration-color: var(--sgp-or-d); }
.sgp-tick { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e6f5ea; color: #1e8e3e; }
.sgp-tick svg { width: 13px; height: 13px; stroke-width: 3; }

.sgp-plan-foot { margin-top: auto; padding-top: 24px; }
.sgp-wrap a.sgp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--sgp-or);
  color: #1a1a1a !important;
  font: 700 17px/1 Roboto, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 14px 26px -14px rgba(232, 128, 0, .95);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sgp-wrap a.sgp-cta:hover { background: #ffa53a; transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(232, 128, 0, 1); }
.sgp-wrap a.sgp-cta svg { width: 21px; height: 21px; }
.sgp-wrap p.sgp-note { margin-top: 9px; text-align: center; font-size: 13px; color: #85807a; }

/* Lo que traen todos los planes */
.sgp-all { margin-top: 28px; padding: 34px 34px 32px; border: 1px solid var(--sgp-line); border-radius: 24px; background: #fff; scroll-margin-top: 110px; }
.sgp-all-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 26px; }
.sgp-wrap h3.sgp-all-title { font: 800 24px/1.2 Roboto, sans-serif !important; color: var(--sgp-ink) !important; }
.sgp-wrap p.sgp-all-sub { font-size: 15px; color: var(--sgp-mut); }
.sgp-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.sgp-wrap .sgp-group h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 15.5px/1.25 Roboto, sans-serif !important; color: var(--sgp-ink) !important; }
.sgp-group-ico { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sgp-or-l); color: var(--sgp-or-d); }
.sgp-group-ico svg { width: 19px; height: 19px; }
.sgp-group.is-ai .sgp-group-ico { background: var(--sgp-blue); color: #fff; }
.sgp-group li { position: relative; padding-left: 27px; font-size: 14.5px; line-height: 1.45; color: #333; }
.sgp-group li + li { margin-top: 11px; }
.sgp-group li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e6f5ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8e3e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Agente IA: packs de consultas extras */
.sgp-ai {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 28px;
  padding: 42px;
  overflow: hidden;
  border-radius: 28px;
  color: #dfe7fb;
  background: radial-gradient(circle at 0 0, rgba(29, 113, 247, .38), transparent 55%), radial-gradient(circle at 100% 100%, rgba(247, 148, 29, .16), transparent 45%), linear-gradient(135deg, #0c1730, #13295a);
}
.sgp-wrap p.sgp-ai-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(29, 113, 247, .28); font: 700 12px/1 Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #b5d0ff; }
.sgp-ai-eyebrow svg { width: 16px; height: 16px; }
.sgp-wrap h3.sgp-ai-title { margin-top: 16px; font: 800 30px/1.2 Roboto, sans-serif !important; letter-spacing: -.01em; color: #fff !important; }
.sgp-wrap p.sgp-ai-sub { margin-top: 10px; font-size: 16px; line-height: 1.5; color: #b8c5e6; }
.sgp-ai-list { display: grid; gap: 12px; margin-top: 22px !important; }
.sgp-ai-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: #e3eafb; }
.sgp-ai-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(29, 113, 247, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfe0ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.sgp-chat { max-width: 470px; margin-top: 26px; padding: 14px 16px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.sgp-chat-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #a9b8da; }
.sgp-chat-top b { color: #fff; }
.sgp-chat-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2aa3e0; color: #fff; }
.sgp-chat-av svg { width: 17px; height: 17px; }
.sgp-wrap p.sgp-chat-k { margin-top: 12px; font: 700 12px/1.2 Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #ffc27a; }
.sgp-wrap blockquote.sgp-bubble { margin-top: 8px; padding: 12px 15px; border: 0; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 15px; font-style: normal; line-height: 1.45; color: var(--sgp-ink); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .6); }

.sgp-packs { display: grid; align-content: center; gap: 18px; }
.sgp-pack { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 24px; border-radius: 20px; background: #fff; color: var(--sgp-ink); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .7); }
.sgp-wrap p.sgp-pack-k { font: 700 11px/1.2 Roboto, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--sgp-blue-d); }
.sgp-wrap h4.sgp-pack-name { margin-top: 4px; font: 500 17px/1.25 Roboto, sans-serif !important; color: var(--sgp-ink) !important; }
.sgp-pack-name b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.sgp-pack-price { text-align: right; }
.sgp-pack-amount { display: flex; align-items: flex-start; justify-content: flex-end; gap: 5px; }
.sgp-pack-amount .sgp-cur { margin-top: 6px; font-size: 16px; color: var(--sgp-blue-d); }
.sgp-pack-amount b { font: 800 42px/1 Roboto, sans-serif; letter-spacing: -.03em; }
.sgp-wrap p.sgp-pack-per { margin-top: 5px; font-size: 13px; color: var(--sgp-mut); }
.sgp-wrap a.sgp-cta.sgp-cta--ai { grid-column: 1 / -1; margin-top: 16px; background: var(--sgp-blue-d); color: #fff !important; box-shadow: 0 14px 26px -14px rgba(21, 89, 201, .95); }
.sgp-wrap a.sgp-cta.sgp-cta--ai:hover { background: var(--sgp-blue); }

/* Confianza y prueba gratis */
.sgp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 36px; font-size: 15px; color: #444; }
.sgp-trust span { display: inline-flex; align-items: center; gap: 9px; }
.sgp-trust svg { width: 20px; height: 20px; color: var(--sgp-or-d); }
.sgp-wrap p.sgp-try { margin-top: 18px; text-align: center; font-size: 15.5px; color: #555; }
.sgp-wrap .sgp-try a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sgp-or-d) !important; text-decoration: none !important; }
.sgp-try a span { text-decoration: underline; text-underline-offset: 3px; }
.sgp-try a svg { width: 17px; height: 17px; }

.sgp-wrap a:focus-visible { outline: 3px solid var(--sgp-blue); outline-offset: 3px; }

@media (max-width: 1100px) {
  .sgp-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgp-ai { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sgp-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sgp-plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; gap: 28px; }
}
@media (max-width: 767px) {
  .elementor-element.sgp-on { padding-left: 16px !important; padding-right: 16px !important; }
  .sgp-head { margin-bottom: 34px; }
  .sgp-wrap h2.sgp-title { font-size: 30px !important; }
  .sgp-wrap p.sgp-sub { font-size: 16px; }
  .sgp-plan { padding: 30px 20px 20px; }
  .sgp-plan:hover { transform: none; }
  .sgp-all { max-width: 480px; margin: 28px auto 0; padding: 26px 20px; }
  .sgp-groups { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sgp-ai { max-width: 480px; margin: 28px auto 0; padding: 30px 20px 20px; border-radius: 24px; }
  .sgp-wrap h3.sgp-ai-title { font-size: 25px !important; }
  .sgp-packs { grid-template-columns: minmax(0, 1fr); }
  .sgp-pack { padding: 20px; }
  .sgp-trust { flex-direction: column; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sgp-plan, .sgp-wrap a.sgp-cta { transition: none; }
  .sgp-plan:hover, .sgp-wrap a.sgp-cta:hover { transform: none; }
}
