/* Soporte técnico PrestaShop — emergency desk (visual builder) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

.page-soporte-prestashop,
.st-page {
  --st-ink: #0b1220;
  --st-slate: #1e2f48;
  --st-muted: #3a4d6a;
  --st-paper: #f3f6fb;
  --st-signal: #e11d48;
  --st-signal-soft: rgba(225, 29, 72, 0.12);
  --st-ok: #0f9f6e;
  --st-line: rgba(15, 23, 42, 0.1);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--st-ink);
}

.st-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0b1220;
}

.st-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.st-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
  transform: scale(1.04);
  animation: st-hero-pan 18s ease-in-out infinite alternate;
}

@keyframes st-hero-pan {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.st-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 12, 24, 0.92) 0%, rgba(7, 12, 24, 0.78) 42%, rgba(7, 12, 24, 0.42) 68%, rgba(7, 12, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.45) 0%, rgba(7, 12, 24, 0.2) 45%, rgba(7, 12, 24, 0.55) 100%);
  pointer-events: none;
}

.st-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(88px, 12vh, 120px) 0;
}

.st-brand {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  animation: st-rise 0.7s ease both;
}

.st-brand em {
  font-style: normal;
  color: #fda4af;
}

.st-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.5rem, 6.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
  animation: st-rise 0.75s ease 0.08s both;
}

.st-hero h1 .accent,
.st-hero h1 .home-hero-accent,
.st-hero h1 .st-accent {
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  border-bottom: 3px solid #fb7185;
  box-shadow: none !important;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}

.st-hero-copy {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
  color: #f1f5fb;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  animation: st-rise 0.75s ease 0.16s both;
}

.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.55rem;
  animation: st-rise 0.75s ease 0.24s both;
}

.st-hero-actions .btn-green {
  box-shadow: 0 14px 36px rgba(15, 159, 110, 0.35);
  animation: st-pulse 2.4s ease-in-out infinite;
}

@keyframes st-pulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 14px 36px rgba(15, 159, 110, 0.35); }
  50% { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15, 159, 110, 0.45); }
}

.st-hero-actions .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.st-hero-actions .btn-primary {
  color: #fff !important;
}

.st-hero-proof {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  color: #eef3fb;
  font-size: 0.98rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  animation: st-rise 0.75s ease 0.32s both;
}

.st-hero-proof span::before {
  content: "✓ ";
  color: #6ee7b7;
}

@keyframes st-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .st-hero-media img,
  .st-hero-actions .btn-green,
  .st-brand,
  .st-hero h1,
  .st-hero-copy,
  .st-hero-actions,
  .st-hero-proof {
    animation: none !important;
  }
}

.st-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.st-section--paper {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(225, 29, 72, 0.06), transparent 60%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
}

.st-section--ink {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(225, 29, 72, 0.18), transparent 55%),
    linear-gradient(160deg, #0b1220 0%, #15233a 100%);
  color: #e8eef8;
}

.st-section .section-header {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.st-section .section-kicker {
  color: var(--st-signal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.st-section h2 {
  margin: 0.35em 0 0.45em;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--st-ink);
  line-height: 1.15;
}

.st-section .lead {
  color: var(--st-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Keep after base section rules so dark panels stay readable */
.st-section--ink .section-kicker {
  color: #fda4af;
}

.st-section--ink h2,
.st-section--ink h3,
.st-section.st-section--ink h2,
.st-section.st-section--ink h3 {
  color: #fff !important;
}

.st-section--ink .lead,
.st-section--ink p,
.st-section.st-section--ink .lead,
.st-section.st-section--ink p {
  color: #d5e0f2 !important;
}

.st-now-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.st-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.st-checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  background: none;
  border: 0;
}

.st-checklist strong {
  display: block;
  color: var(--st-ink);
  font-size: 1.08rem;
  margin-bottom: 0.15rem;
}

.st-checklist p {
  margin: 0;
  color: var(--st-slate);
  line-height: 1.55;
  font-weight: 500;
}

.st-check {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--st-signal-soft);
  color: var(--st-signal);
  font-weight: 800;
  font-size: 0.85rem;
}

.st-now-media {
  position: relative;
}

.st-now-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.st-now-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.55));
  pointer-events: none;
}

.st-incident-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: clamp(28px, 4vw, 40px);
}

.st-incident {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.st-incident .st-incident-code {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--st-signal);
}

.st-incident h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--st-ink);
}

.st-incident p {
  margin: 0;
  color: var(--st-slate);
  line-height: 1.55;
  font-size: 1rem;
  font-weight: 500;
}

.st-proof {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(24px, 4vw, 40px);
}

.st-proof-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.st-proof-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.st-proof-points li strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.st-proof-points li p {
  margin: 0;
  color: #b8c7de;
  line-height: 1.5;
}

.st-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
  counter-reset: ststep;
}

.st-step {
  position: relative;
  padding-top: 0.2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.st-step::before {
  counter-increment: ststep;
  content: counter(ststep, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--st-signal);
}

.st-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--st-ink);
}

.st-step p {
  margin: 0;
  color: var(--st-slate);
  line-height: 1.55;
  font-size: 1rem;
  font-weight: 500;
}

.st-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(28px, 4vw, 44px);
}

.st-mode {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.st-mode h3 {
  margin: 0 0 0.45rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.55rem;
  color: var(--st-ink);
}

.st-mode p {
  margin: 0 0 1rem;
  color: var(--st-slate);
  line-height: 1.55;
  font-weight: 500;
}

.st-mode ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.st-mode li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--st-slate);
  line-height: 1.45;
}

.st-mode li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--st-signal);
  font-weight: 800;
}

.st-mode.is-featured h3 {
  color: var(--st-signal);
}

.st-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  margin-top: clamp(24px, 4vw, 40px);
}

.st-faq-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.st-faq-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--st-ink);
}

.st-faq-card p {
  margin: 0;
  color: var(--st-slate);
  line-height: 1.55;
  font-weight: 500;
}

.st-related h2 {
  font-family: "Source Serif 4", Georgia, serif !important;
  color: var(--st-ink) !important;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
}

.st-final .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.st-final {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 88px) 0;
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(15, 159, 110, 0.18), transparent 55%),
    linear-gradient(150deg, #0b1220 0%, #12263f 100%);
  color: #fff;
}

.st-final-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.st-final .section-kicker {
  color: #fda4af;
}

.st-final h2 {
  margin: 0.35em 0 0.5em;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.st-final p {
  margin: 0;
  color: #c5d2e8;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 36rem;
}

.st-final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-final-actions .btn {
  width: 100%;
  justify-content: center;
}

.st-related {
  padding: 48px 0 72px;
  background: #f7f9fd;
}

.st-related-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.st-related-list a {
  color: var(--st-slate);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(225, 29, 72, 0.35);
}

.st-related-list a:hover {
  color: var(--st-signal);
}

@media (max-width: 980px) {
  .st-now-grid,
  .st-proof,
  .st-final-inner,
  .st-modes {
    grid-template-columns: 1fr;
  }

  .st-incident-grid {
    grid-template-columns: 1fr 1fr;
  }

  .st-process {
    grid-template-columns: 1fr 1fr;
  }

  .st-faq-grid {
    grid-template-columns: 1fr;
  }

  .st-hero {
    min-height: min(88vh, 720px);
  }
}

@media (max-width: 640px) {
  .st-incident-grid,
  .st-process {
    grid-template-columns: 1fr;
  }

  .st-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
