.services-hero {
  position: relative;
  overflow: hidden;

  padding: 78px 24px 92px;
  text-align: center;
}

.services-hero::before,
.services-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}

.services-hero::before {
  width: 420px;
  height: 420px;
  left: -210px;
  top: -180px;
  background: rgba(255, 211, 77, 0.24);
}

.services-hero::after {
  width: 480px;
  height: 480px;
  right: -250px;
  bottom: -270px;
  background: rgba(123, 63, 252, 0.12);
}

.services-logo,
.services-label,
.services-hero h1,
.services-hero-subtitle,
.services-hero-note {
  position: relative;
  z-index: 1;
}

.services-logo {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
  object-fit: contain;
}

.services-label,
.services-kicker,
.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-pill);

  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.services-label {
  margin-bottom: 24px;
  padding: 10px 17px;

  background: var(--jutiko-soft-yellow);
  color: rgba(0, 0, 0, 0.76);
}

.services-hero h1 {
  max-width: 920px;
  margin: 0 auto;

  font-size: clamp(58px, 10vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.services-hero-subtitle {
  max-width: 720px;
  margin: 32px auto 0;

  color: var(--text-muted);

  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5;
  font-weight: 720;
}

.services-hero-note {
  display: inline-flex;
  margin: 25px auto 0;
  padding: 10px 15px;

  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.045);

  color: rgba(0, 0, 0, 0.66);

  font-size: 14px;
  font-weight: 850;
}


/* ESTRUCTURA GENERAL */

.services-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 104px 0;
}

.services-heading {
  max-width: 810px;
  margin: 0 auto 56px;
  text-align: center;
}

.services-kicker {
  margin-bottom: 20px;
  padding: 9px 14px;

  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.66);
}

.services-heading h2,
.services-philosophy h2,
.services-help h2,
.services-community h2 {
  margin: 0;

  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 950;
}

.services-heading > p {
  max-width: 700px;
  margin: 25px auto 0;

  color: var(--text-muted);

  font-size: 19px;
  line-height: 1.62;
  font-weight: 680;
}


/* CÓMO FUNCIONA */

.services-process {
  padding-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  min-height: 260px;
  padding: 27px;

  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);

  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 211, 77, 0.85),
      rgba(179, 136, 255, 0.46)
    );

  color: var(--jutiko-black);

  font-size: 20px;
  font-weight: 950;
}

.step-card h3 {
  margin: 30px 0 0;

  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.step-card p {
  margin: 16px 0 0;

  color: var(--text-muted);

  font-size: 16px;
  line-height: 1.58;
  font-weight: 680;
}


/* BENEFICIOS */

.services-benefits {
  padding-top: 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 250px;
  padding: 28px;

  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.035);
}

.benefit-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 17px;
  background: #ffffff;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);

  font-size: 19px;
  font-weight: 950;
}

.benefit-card h3 {
  margin: 27px 0 0;

  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.benefit-card p {
  margin: 15px 0 0;

  color: var(--text-muted);

  font-size: 16px;
  line-height: 1.58;
  font-weight: 680;
}


/* PRODUCTOS */

.services-products {
  padding-top: 76px;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.service-card {
  position: relative;
  overflow: hidden;

  min-height: 690px;
  padding: 34px;

  display: flex;
  flex-direction: column;

  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.08);

  background: #ffffff;
  box-shadow: var(--shadow-soft);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.13);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card--plus::before {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 211, 77, 0.48),
      transparent 39%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(123, 63, 252, 0.2),
      transparent 48%
    );
}

.service-card--presenta::before {
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 211, 77, 0.3),
      transparent 42%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(110, 168, 255, 0.2),
      transparent 47%
    );
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-icon {
  flex: 0 0 auto;

  width: 66px;
  height: 66px;

  display: grid;
  place-items: center;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);

  font-size: 32px;
}

.service-icon--logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.service-tag {
  margin-bottom: 10px;
  padding: 7px 11px;

  background: rgba(255, 255, 255, 0.76);
  color: rgba(0, 0, 0, 0.64);
}

.service-card h3 {
  margin: 0;

  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.048em;
  font-weight: 950;
}

.service-description {
  margin: 27px 0 0;

  color: var(--text-muted);

  font-size: 17px;
  line-height: 1.58;
  font-weight: 680;
}


/* RECURSOS PLUS PRO */

.resources-list {
  margin-top: 34px;
  padding: 27px;

  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--radius-lg);

  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
}

.resource-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.resource-symbol {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border-radius: 18px;
  background: rgba(0, 0, 0, 0.045);

  font-size: 27px;
}

.resource-symbol--logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.resource-content {
  display: flex;
  flex-direction: column;
}

.resource-number {
  font-size: 45px;
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.resource-name {
  margin-top: 7px;

  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.resource-content small {
  margin-top: 11px;

  color: var(--text-muted);

  font-size: 14px;
  line-height: 1.48;
  font-weight: 680;
}

.resource-content small + small {
  margin-top: 7px;
}

.resource-divider {
  height: 1px;
  margin: 25px 0;
  background: rgba(0, 0, 0, 0.075);
}


/* PRODUCTOS INDIVIDUALES */

/* VISTA PREVIA JUTIKO PRESENTA */

.presented-preview {
  position: relative;
  overflow: hidden;

  min-height: 410px;
  margin-top: 34px;
  padding: 22px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;

  border: 1.4px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;

  background:
    linear-gradient(
      135deg,
      #0f172a 0%,
      #1e293b 50%,
      #334155 100%
    );

  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.presented-preview-label {
  color: #ffffff;

  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.presented-preview-logo {
  width: 170px;
  height: 92px;
  margin-top: 18px;
  padding: 14px 30px;
  box-sizing: border-box;
  overflow: hidden;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 10px 26px rgba(255, 255, 255, 0.16);

  color: #6f6f74;
  text-align: center;

  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.presented-preview-content {
  width: 100%;
  margin: auto 0;

  text-align: center;
}

.presented-preview-content strong {
  display: block;

  color: #ffffff;

  font-size: clamp(25px, 3vw, 32px);
  line-height: 1;
  letter-spacing: -0.7px;
  font-weight: 900;
}

.presented-preview-content p {
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.presented-preview-button {
  width: 100%;
  height: 56px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  background: #ffffff;
  color: #000000;

  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.4px;
}


/* TEXTO DEBAJO DE LAS VISTAS PREVIAS */

.service-preview-caption {
  margin: 18px 4px 0;

  color: var(--text-muted);

  font-size: 13px;
  line-height: 1.55;
  font-weight: 680;
}

.service-legal {
  margin: 22px 0 0;

  color: var(--text-muted);

  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}


/* PRECIO Y BOTONES */

.service-card-footer {
  margin-top: auto;
  padding-top: 37px;
}

.service-price {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.service-price-note {
  display: block;
  margin-top: 8px;

  color: var(--text-muted);

  font-size: 14px;
  font-weight: 800;
}

.purchase-security{
  margin-top:14px;
  text-align:center;
  font-size:.92rem;
  font-weight:600;
  color:var(--text-muted);
}

.service-saving {
  margin: 11px 0 0;

  color: var(--jutiko-purple);

  font-size: 14px;
  line-height: 1.4;
  font-weight: 900;
}

.service-button {
  width: 100%;
  margin-top: 24px;
  padding: 17px 22px;

  border: 0;
  border-radius: var(--radius-pill);

  background: var(--jutiko-black);
  color: var(--jutiko-white);

  font: inherit;
  font-size: 16px;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.service-button:active {
  transform: translateY(0);
}

.service-claim {
  margin: 17px 0 0;

  text-align: center;

  color: rgba(0, 0, 0, 0.55);

  font-size: 13px;
  font-weight: 850;
}


/* CONFIANZA */

.services-trust {
  width: min(calc(100% - 48px), 1000px);
  margin: 0 auto 20px;
  padding: 25px 30px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.035);
}

.services-trust div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  text-align: center;
}

.services-trust strong {
  font-size: 20px;
}

.services-trust span {
  font-size: 15px;
  font-weight: 900;
}


/* FAQ */

.services-faq {
  max-width: 980px;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-list details {
  overflow: hidden;

  padding: 0 25px;

  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);

  background: #ffffff;
}

.faq-list summary {
  position: relative;

  padding: 24px 42px 24px 0;

  cursor: pointer;
  list-style: none;

  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";

  position: absolute;
  right: 0;
  top: 50%;

  transform: translateY(-50%);

  font-size: 27px;
  line-height: 1;
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -2px 0 22px;

  color: var(--text-muted);

  font-size: 16px;
  line-height: 1.62;
  font-weight: 680;
}


/* FILOSOFÍA */

.services-philosophy {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto 105px;
  padding: 68px;

  text-align: center;

  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 211, 77, 0.34),
      transparent 44%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(123, 63, 252, 0.17),
      transparent 48%
    ),
    #ffffff;

  box-shadow: var(--shadow-soft);
}

.services-philosophy > p {
  max-width: 730px;
  margin: 24px auto 0;

  color: var(--text-muted);

  font-size: 18px;
  line-height: 1.65;
  font-weight: 690;
}

.services-philosophy > p + p {
  margin-top: 8px;
}

.services-philosophy-claim {
  max-width: 690px;
  margin: 42px auto 0;
  padding-top: 37px;

  display: flex;
  flex-direction: column;
  gap: 8px;

  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.services-philosophy-claim strong {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.services-philosophy-claim span {
  margin-top: 9px;

  color: var(--text-muted);

  font-size: 17px;
  font-weight: 750;
}


/* AYUDA */

.services-help,
.services-community {
  width: min(calc(100% - 48px), 940px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services-help {
  margin-bottom: 42px;
  padding: 58px;

  border-radius: var(--radius-xl);

  background: var(--jutiko-black);
  color: var(--jutiko-white);
}

.services-help h2 {
  color: var(--jutiko-white);
}

.services-help p {
  max-width: 720px;
  margin: 25px auto 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 18px;
  line-height: 1.65;
  font-weight: 680;
}

.services-help a,
.services-community a {
  display: inline-flex;
  margin-top: 27px;
  padding: 14px 21px;

  border-radius: var(--radius-pill);

  text-decoration: none;

  font-size: 16px;
  font-weight: 900;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.services-help a {
  background: var(--jutiko-white);
  color: var(--jutiko-black);
}

.services-help a:hover,
.services-community a:hover {
  transform: translateY(-2px);
}

.services-community {
  margin-bottom: 76px;
  padding: 65px 30px;
}

.services-community h2 {
  font-size: clamp(35px, 5vw, 54px);
}

.services-community p {
  margin: 21px 0 0;

  color: var(--text-muted);

  font-size: 18px;
  font-weight: 700;
}

.services-community a {
  background: rgba(0, 0, 0, 0.055);
  color: var(--jutiko-black);
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .steps,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-hero {
    padding: 54px 20px 65px;
  }

  .services-logo {
    width: 74px;
    height: 74px;
    margin-bottom: 22px;
  }

  .services-hero h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .services-hero-subtitle {
    margin-top: 25px;
    font-size: 18px;
  }

  .services-section {
    width: min(calc(100% - 32px), var(--max-width));
    padding: 76px 0;
  }

  .services-heading {
    margin-bottom: 39px;
  }

  .services-heading > p {
    font-size: 17px;
  }

  .steps,
  .benefits-grid,
  .services-grid,
  .services-trust {
    grid-template-columns: 1fr;
  }

  .step-card,
  .benefit-card {
    min-height: auto;
  }

  .service-card--plus {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
    border-radius: 30px;
  }

  .service-card:hover {
    transform: none;
  }

  .resources-list {
    padding: 23px;
  }

  .service-card-header {
    align-items: flex-start;
  }

  .service-icon {
    width: 58px;
    height: 58px;
    border-radius: 19px;
    font-size: 29px;
  }

  .service-icon--logo img {
    width: 37px;
    height: 37px;
  }

  .service-card h3 {
    font-size: 30px;
  }

  .services-trust {
    width: min(calc(100% - 32px), 1000px);
    padding: 27px 22px;
  }

  .services-trust div {
    justify-content: flex-start;
  }

  .services-philosophy,
  .services-help,
  .services-community {
    width: min(calc(100% - 32px), 940px);
  }

  .services-philosophy {
    margin-bottom: 78px;
    padding: 45px 25px;
    border-radius: 32px;
  }

  .services-help {
    padding: 44px 24px;
    border-radius: 32px;
  }

  .services-community {
    padding: 48px 20px;
  }

  .presented-preview {
    min-height: 370px;
  }
}

@media (max-width: 430px) {
  .services-hero h1 {
    font-size: 52px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card-header {
    gap: 14px;
  }

  .resource-item {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 14px;
  }

  .resource-symbol {
    width: 47px;
    height: 47px;
    border-radius: 16px;
    font-size: 24px;
  }

  .resource-symbol--logo img {
    width: 31px;
    height: 31px;
  }

  .resource-number {
    font-size: 40px;
  }

  .single-service-feature {
    padding: 30px 21px;
  }

    .presented-preview {
    min-height: 350px;
    padding: 20px;
    border-radius: 30px;
  }

  .presented-preview-content strong {
    font-size: 26px;
  }
}

/* MODAL DE COMPRA */

.purchase-modal[hidden] {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: grid;
  place-items: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.purchase-modal--visible {
  opacity: 1;
  visibility: visible;
}

.purchase-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.purchase-dialog {
  position: relative;
  z-index: 1;

  width: min(100%, 470px);
  padding: 38px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 34px;

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 211, 77, 0.24),
      transparent 38%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 79, 123, 0.14),
      transparent 42%
    ),
    #ffffff;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.26);

  text-align: center;

  transform: translateY(18px) scale(0.98);

  transition:
    transform 180ms ease;
}

.purchase-modal--visible .purchase-dialog {
  transform: translateY(0) scale(1);
}

.purchase-close {
  position: absolute;
  top: 18px;
  right: 20px;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.05);
  color: var(--jutiko-black);

  font: inherit;
  font-size: 26px;
  line-height: 1;

  cursor: pointer;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.purchase-close:hover {
  background: rgba(0, 0, 0, 0.09);
  transform: scale(1.04);
}

.purchase-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto;

  display: grid;
  place-items: center;

  border-radius: 25px;

  background: rgba(255, 79, 123, 0.13);

  font-size: 35px;
}

.purchase-dialog h2 {
   margin-top: 22px;

  font-size: 35px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.purchase-subtitle {
  max-width: 350px;
  margin-top: 15px;

  color: var(--text-muted);

  font-size: 17px;
  line-height: 1.55;
  font-weight: 680;
}

.purchase-product {
  margin-top: 22px;
  padding: 16px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.7);
}

.purchase-product span {
  font-size: 25px;
}

.purchase-product strong {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
}

.purchase-code {
  width: 100%;
  margin-top: 18px;
  padding: 20px 16px;

  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  outline: none;

  background: #ffffff;
  color: var(--jutiko-black);

  font: inherit;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1;
  letter-spacing: 0.22em;
  text-align: center;
  font-weight: 950;
  text-transform: uppercase;

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.purchase-code::placeholder {
  color: rgba(0, 0, 0, 0.22);
}

.purchase-code:focus {
  border-color: rgba(255, 79, 123, 0.72);
  box-shadow:
    0 0 0 5px rgba(255, 79, 123, 0.1);
}

.purchase-actions {
  margin-top: 20px;

  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
}

.purchase-secondary,
.purchase-primary {
  min-height: 56px;
  padding: 15px 18px;

  border: 0;
  border-radius: var(--radius-pill);

  font: inherit;
  font-size: 16px;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.purchase-secondary {
  background: rgba(0, 0, 0, 0.055);
  color: var(--jutiko-black);
}

.purchase-primary {
  background: #ff4f7b;
  color: #ffffff;

  box-shadow:
    0 14px 30px rgba(255, 79, 123, 0.26);
}

.purchase-secondary:hover,
.purchase-primary:hover {
  transform: translateY(-2px);
}

.purchase-primary:hover {
  box-shadow:
    0 18px 36px rgba(255, 79, 123, 0.32);
}

.purchase-secondary:active,
.purchase-primary:active {
  transform: translateY(0);
}

.purchase-message {
  margin: 14px 4px 0;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  text-align: center;
}

.purchase-message--loading {
  color: var(--text-muted);
}

.purchase-message--success {
  color: #168447;
}

.purchase-message--error {
  color: #c63752;
}

.purchase-code:disabled,
.purchase-secondary:disabled,
.purchase-primary:disabled,
.purchase-close:disabled {
  cursor: wait;
  opacity: 0.65;
}

.purchase-primary:disabled,
.purchase-secondary:disabled {
  transform: none;
}
/* =========================================================
   PASO CONTRACTUAL DE COMPRA
   ========================================================= */

.purchase-contract-view {
  width: 100%;
}

.purchase-contract-product-detail {
  margin-top: 4px;

  color: var(--text-muted);

  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.purchase-contract-summary {
  margin-top: 16px;
  padding: 16px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border: 1px solid rgba(0, 0, 0, 0.065);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.7);

  font-size: 15px;
  font-weight: 750;
}

.purchase-contract-summary strong {
  flex-shrink: 0;

  color: var(--jutiko-black);

  font-size: 20px;
  font-weight: 950;
}

.purchase-legal-check {
  margin-top: 16px;
  padding: 15px 16px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.72);

  cursor: pointer;
}

.purchase-legal-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;

  flex: 0 0 auto;

  accent-color: #ff4f7b;

  cursor: pointer;
}

.purchase-legal-check span {
  color: var(--jutiko-black);

  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.purchase-legal-check a,
.purchase-privacy-note a {
  color: var(--jutiko-purple);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.purchase-legal-check a:hover,
.purchase-privacy-note a:hover {
  text-decoration-thickness: 2px;
}

.purchase-privacy-note {
  margin: 14px 4px 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  text-align: left;
}

.purchase-help-button {
  margin-top: 14px;
  padding: 4px 8px;

  border: 0;
  background: transparent;
  color: var(--jutiko-purple);

  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 850;

  cursor: pointer;
}

.purchase-help-button:hover {
  text-decoration: underline;
}

.purchase-help-view {
  width: 100%;
}

.purchase-help-image {
  display: block;

  width: auto;
  height: auto;

  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 150px);

  margin: 0 auto;

  object-fit: contain;
  border-radius: 22px;
}

.purchase-help-back {
  width: 100%;
  margin-top: 18px;
}

.purchase-dialog:has(
  .purchase-help-view:not([hidden])
) {
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);

  overflow: auto;
}

.purchase-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .purchase-modal {
    padding: 14px;
    align-items: end;
  }

  .purchase-dialog {
  width: 100%;
  max-height: calc(100vh - 28px);
  padding: 28px 20px 22px;

  overflow-y: auto;

  border-radius: 30px 30px 0 0;
}

  .purchase-close {
    top: 14px;
    right: 15px;
  }

 .purchase-icon {
  width: 58px;
  height: 58px;

  border-radius: 19px;

  font-size: 27px;
}

  .purchase-dialog h2 {
    font-size: 37px;
  }

  .purchase-subtitle {
    font-size: 16px;
  }

  .purchase-code {
    padding: 18px 12px;

    border-radius: 19px;

    font-size: 34px;
    letter-spacing: 0.16em;
  }

  .purchase-actions {
    grid-template-columns: 1fr;
  }

  .purchase-primary {
    order: -1;
  }

    .purchase-dialog:has(
    .purchase-help-view:not([hidden])
  ) {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 20px 14px 16px;
  }

  .purchase-help-image {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 125px);

    border-radius: 16px;
  }

  .purchase-help-back {
    margin-top: 12px;
  }

  .purchase-contract-summary {
  padding: 14px 15px;
}

.purchase-legal-check {
  padding: 13px 14px;
}

.purchase-legal-check span {
  font-size: 12.5px;
}

.purchase-privacy-note {
  font-size: 11.5px;
}
}

/* =========================================================
   VOLVER A JUTIKO
   ========================================================= */

.services-back-home {
  width: 100%;
  max-width: var(--max-width);

  margin: 24px auto 0;
  padding: 0 24px;
}

.services-back-home a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(17, 17, 17, 0.62);

  text-decoration: none;

  font-size: 14px;
  font-weight: 800;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

.services-back-home a:hover {
  color: var(--jutiko-purple);
  transform: translateX(-3px);
}

.purchase-result {
  position: relative;

  width: min(100% - 32px, 760px);
  margin: 28px auto 10px;
  padding: 26px 62px 26px 26px;

  display: flex;
  align-items: center;
  gap: 18px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 26px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(250, 250, 252, 0.98)
    );

  box-shadow:
    0 18px 50px rgba(15, 23, 42, 0.10);
}

.purchase-result[hidden] {
  display: none;
}

.purchase-result--success {
  border-color: rgba(22, 132, 71, 0.20);

  background:
    linear-gradient(
      135deg,
      rgba(242, 253, 247, 0.98),
      rgba(255, 255, 255, 0.98)
    );
}

.purchase-result--cancelled {
  border-color: rgba(198, 55, 82, 0.18);

  background:
    linear-gradient(
      135deg,
      rgba(255, 245, 247, 0.98),
      rgba(255, 255, 255, 0.98)
    );
}

.purchase-result__icon {
  width: 54px;
  height: 54px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background: rgba(0, 0, 0, 0.045);

  font-size: 25px;
  font-weight: 900;
}

.purchase-result--success
.purchase-result__icon {
  color: #168447;
  background: rgba(22, 132, 71, 0.10);
}

.purchase-result--cancelled
.purchase-result__icon {
  color: #c63752;
  background: rgba(198, 55, 82, 0.09);
}

.purchase-result__content {
  min-width: 0;
  flex: 1;
}

.purchase-result__content h2 {
  margin: 4px 0 8px;

  font-size: 24px;
  line-height: 1.08;
  font-weight: 950;
}

.purchase-result__content p {
  margin: 0;

  color: var(--text-muted);

  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.purchase-result__eyebrow {
  display: block;

  font-size: 11px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.purchase-result--success
.purchase-result__eyebrow {
  color: #168447;
}

.purchase-result--cancelled
.purchase-result__eyebrow {
  color: #c63752;
}

.purchase-result__close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 999px;

  background:
    rgba(0, 0, 0, 0.05);

  cursor: pointer;

  font: inherit;
  font-size: 20px;
  font-weight: 800;

  transition:
    background 160ms ease,
    transform 160ms ease;
}

.purchase-result__close:hover {
  background:
    rgba(0, 0, 0, 0.09);

  transform: scale(1.04);
}

@media (max-width: 600px) {
  .services-back-home {
    margin-top: 18px;
    padding: 0 16px;
  }

  .purchase-result {
  width: calc(100% - 28px);
  margin-top: 16px;
  padding: 20px 50px 20px 18px;

  align-items: flex-start;

  border-radius: 22px;
}

.purchase-result__icon {
  width: 46px;
  height: 46px;

  border-radius: 15px;

  font-size: 22px;
}

.purchase-result__content h2 {
  font-size: 21px;
}

.purchase-result__content p {
  font-size: 13px;
}
}