/* Programador PrestaShop — hire page (visual builder)
   Direction: cool steel + teal craft. Distinct from experto gold. */

.page-programador-prestashop,
.pg-page {
  --pg-ink: #0e141b;
  --pg-slate: #1c2733;
  --pg-muted: #5c6b7a;
  --pg-accent: #2f9e9a;
  --pg-accent-bright: #4ec4bf;
  --pg-accent-soft: rgba(47, 158, 154, 0.14);
  --pg-steel: #e6edf3;
  --pg-display: Georgia, "Times New Roman", serif;
  --pg-sans: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  font-family: var(--pg-sans);
  color: var(--pg-ink);
}

.pg-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0e141b;
  padding-top: 72px;
  box-sizing: border-box;
}

.pg-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  transform: scale(1.05);
  animation: pg-hero-pan 20s ease-in-out infinite alternate;
}

@keyframes pg-hero-pan {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.4%, -1.2%, 0); }
}

.pg-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(108deg, rgba(8, 14, 22, 0.97) 0%, rgba(8, 14, 22, 0.9) 38%, rgba(8, 14, 22, 0.5) 66%, rgba(8, 14, 22, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 14, 22, 0.55) 0%, rgba(8, 14, 22, 0.2) 50%, rgba(8, 14, 22, 0.78) 100%);
  pointer-events: none;
}

.pg-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(78, 196, 191, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 196, 191, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(105deg, #000 0%, transparent 58%);
  pointer-events: none;
  animation: pg-grid-drift 14s linear infinite;
}

@keyframes pg-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 24px, 48px 24px; }
}

.page-programador-prestashop .pg-hero h1,
.pg-page .pg-hero h1,
.pg-hero h1 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.page-programador-prestashop .pg-brand,
.pg-page .pg-brand,
.pg-hero .pg-brand {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.page-programador-prestashop .pg-hero-copy,
.pg-page .pg-hero-copy,
.pg-hero .pg-hero-copy {
  color: #d9f4f2 !important;
  -webkit-text-fill-color: #d9f4f2 !important;
}

.pg-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(88px, 12vh, 120px) 0;
}

.pg-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 !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  animation: pg-rise 0.7s ease both;
}

.pg-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--pg-display);
  font-size: clamp(2.45rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.5);
  animation: pg-rise 0.75s ease 0.08s both;
}

.pg-hero h1 .accent,
.pg-hero h1 .home-hero-accent,
.pg-hero h1 .accent::after,
.pg-hero h1 .home-hero-accent::after {
  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;
  box-shadow: none !important;
}

.pg-hero h1 .accent,
.pg-hero h1 .home-hero-accent {
  border-bottom: 3px solid var(--pg-accent-bright);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}

.pg-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: #e8f7f6 !important;
  -webkit-text-fill-color: #e8f7f6 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  animation: pg-rise 0.75s ease 0.16s both;
}

.pg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.55rem;
  animation: pg-rise 0.75s ease 0.24s both;
}

.pg-hero-actions .btn-green {
  box-shadow: 0 14px 36px rgba(47, 158, 154, 0.35);
  animation: pg-pulse 2.4s ease-in-out infinite;
}

@keyframes pg-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.pg-hero-actions .btn-outline,
.pg-final-actions .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.pg-hero-proof {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  color: #eef6f6;
  font-size: 0.98rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  animation: pg-rise 0.75s ease 0.32s both;
}

.pg-hero-proof span::before {
  content: "✓ ";
  color: var(--pg-accent-bright);
}

@keyframes pg-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pg-hero-media img,
  .pg-hero-grid,
  .pg-hero-actions .btn-green,
  .pg-brand,
  .pg-hero h1,
  .pg-hero-copy,
  .pg-hero-actions,
  .pg-hero-proof {
    animation: none !important;
  }
}

.pg-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.pg-section--steel {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(47, 158, 154, 0.1), transparent 60%),
    linear-gradient(180deg, #f3f7fa 0%, #e4ebf1 100%);
}

.pg-section--ink {
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(47, 158, 154, 0.2), transparent 55%),
    linear-gradient(160deg, #0e141b 0%, #1a2633 100%);
  color: #e4edf4;
}

.pg-section .section-header {
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.pg-section .section-kicker,
.pg-section .section-header .section-kicker,
.pg-final .section-kicker {
  display: inline-block !important;
  color: var(--pg-accent) !important;
  -webkit-text-fill-color: var(--pg-accent) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: var(--pg-sans) !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem !important;
}

.pg-section h2,
.pg-section .section-header h2 {
  margin: 0.55rem 0 0.7rem !important;
  font-family: var(--pg-display) !important;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem) !important;
  letter-spacing: -0.02em;
  color: var(--pg-ink) !important;
  -webkit-text-fill-color: var(--pg-ink) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
}

.pg-section .lead,
.pg-section .section-header .lead {
  margin: 0 auto !important;
  max-width: 40rem;
  color: var(--pg-muted) !important;
  -webkit-text-fill-color: var(--pg-muted) !important;
  font-size: 1.12rem !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
}

.pg-section--ink .section-kicker {
  color: var(--pg-accent-bright) !important;
  -webkit-text-fill-color: var(--pg-accent-bright) !important;
}

.pg-section--ink h2,
.pg-section.pg-section--ink h2,
.pg-section.pg-section--ink h3,
#precio-programador h2,
#tiendas-reales h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.pg-section--ink .lead,
.pg-section--ink p,
.pg-section.pg-section--ink .lead,
.pg-section.pg-section--ink p,
#precio-programador .lead,
#precio-programador p,
#precio-programador .pg-price-note,
#precio-programador .pg-factors strong,
#precio-programador .pg-factors p,
#tiendas-reales .lead,
#tiendas-reales p {
  color: #e4edf4 !important;
  -webkit-text-fill-color: #e4edf4 !important;
}

#precio-programador .pg-factors strong,
#tiendas-reales .pg-stores strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800;
}

.pg-why-grid,
.pg-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.pg-why,
.pg-service {
  padding: 1.25rem 1.2rem;
  border-top: 2px solid var(--pg-accent);
  background: rgba(255, 255, 255, 0.62);
}

.pg-why-code {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pg-accent);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.pg-why h3,
.pg-service h3,
.pg-step h3,
.pg-faq-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--pg-display);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--pg-ink);
}

.pg-why p,
.pg-service p,
.pg-step p,
.pg-faq-card p {
  margin: 0;
  color: var(--pg-muted);
  line-height: 1.55;
  font-weight: 500;
}

.pg-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 16px);
}

.pg-step {
  padding: 1.2rem 1.05rem;
  background: rgba(255, 255, 255, 0.75);
  border-left: 3px solid var(--pg-accent);
}

.pg-step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.65rem;
  border-radius: 6px;
  background: var(--pg-accent-soft);
  color: #1f6f6c;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: ui-monospace, Consolas, monospace;
}

.pg-proof {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.pg-stores {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.pg-stores li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pg-proof-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 280px;
  filter: saturate(0.92) contrast(1.05);
}

.pg-pricing {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.pg-factors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pg-factors li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.pg-factor-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(47, 158, 154, 0.2);
  color: var(--pg-accent-bright);
  font-size: 0.8rem;
  font-weight: 800;
  font-family: ui-monospace, Consolas, monospace;
}

.pg-price-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  line-height: 1.55;
}

.pg-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.pg-faq-card {
  padding: 1.25rem 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  border-top: 2px solid rgba(47, 158, 154, 0.55);
}

.pg-final {
  padding: clamp(56px, 8vw, 88px) 0;
  background:
    radial-gradient(640px 280px at 20% 0%, rgba(47, 158, 154, 0.22), transparent 55%),
    linear-gradient(160deg, #0e141b 0%, #162231 100%);
  color: #fff;
}

.pg-final-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.pg-final h2 {
  margin: 0.5rem 0 0.7rem;
  font-family: var(--pg-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.pg-final p {
  margin: 0;
  max-width: 36rem;
  color: #dce8ef !important;
  -webkit-text-fill-color: #dce8ef !important;
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 500;
}

.pg-final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-related {
  padding: clamp(40px, 6vw, 64px) 0;
  background: #e6edf3;
}

.pg-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.pg-related-list a {
  color: var(--pg-ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--pg-accent);
}

.pg-service a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--pg-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pg-accent);
}
.pg-service a:hover { color: #1f6f6c; }

@media (max-width: 1100px) {
  .pg-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pg-why-grid,
  .pg-service-grid,
  .pg-process,
  .pg-proof,
  .pg-pricing,
  .pg-faq-grid,
  .pg-final-inner {
    grid-template-columns: 1fr;
  }
  .pg-process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pg-process,
  .pg-why-grid,
  .pg-service-grid,
  .pg-faq-grid {
    grid-template-columns: 1fr;
  }
  .pg-hero h1 {
    max-width: 12ch;
  }
}
