:root {
  --pk-bordo: #6d1b2f;
  --pk-bordo-dark: #501421;
  --pk-cream: #f1efec;
  --pk-brown: #7b5e46;
  --pk-gold: #c98a3a;
  --pk-text: #2b2b2b;
  --pk-border: #e4ddd3;
  --pk-white: #ffffff;
  --pk-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --pk-shadow-lg: 0 16px 40px rgba(109, 27, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--pk-text);
  background: var(--pk-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--pk-bordo);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 12px; }

img, video { max-width: 100%; display: block; }

a { color: inherit; }

.pk-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top announcement bar */

.pk-topbar {
  background: var(--pk-bordo-dark);
  color: #f4d9b0;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
}

.pk-topbar a {
  color: var(--pk-white);
  font-weight: bold;
  text-decoration: underline;
  margin-left: 8px;
  white-space: nowrap;
}

/* Nav */

.pk-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pk-nav.pk-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--pk-border);
}

.pk-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.pk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: var(--pk-bordo);
  letter-spacing: 1px;
  font-size: 1.05rem;
}

.pk-logo { height: 40px; width: 40px; object-fit: contain; }
.pk-logo-footer { height: 56px; width: 56px; margin: 0 auto 12px; }

.pk-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pk-nav-links a:not(.pk-btn) {
  text-decoration: none;
  font-weight: bold;
  font-size: 0.92rem;
  color: var(--pk-text);
  position: relative;
  padding: 4px 0;
}

.pk-nav-links a:not(.pk-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pk-bordo);
  transition: width 0.2s ease;
}

.pk-nav-links a:not(.pk-btn):hover::after { width: 100%; }

.pk-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.pk-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--pk-bordo);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */

.pk-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pk-btn:hover { transform: translateY(-2px); }

.pk-btn-primary {
  background: var(--pk-bordo);
  color: var(--pk-white);
  box-shadow: 0 6px 18px rgba(109, 27, 47, 0.25);
}
.pk-btn-primary:hover { background: var(--pk-bordo-dark); box-shadow: 0 10px 24px rgba(109, 27, 47, 0.32); }

.pk-btn-outline {
  background: transparent;
  color: var(--pk-bordo);
  border-color: var(--pk-bordo);
}
.pk-btn-outline:hover { background: var(--pk-cream); }

.pk-btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.pk-btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.pk-btn-block { width: 100%; text-align: center; }
.pk-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Hero */

.pk-hero {
  position: relative;
  background: linear-gradient(180deg, var(--pk-cream) 0%, var(--pk-white) 100%);
  padding: 72px 0 96px;
  overflow: hidden;
}

.pk-hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.pk-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  animation: pk-float 9s ease-in-out infinite;
}

.pk-blob-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--pk-gold) 0%, transparent 70%);
  top: -80px;
  right: -60px;
}

.pk-blob-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--pk-bordo) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  animation-delay: -4s;
}

@keyframes pk-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.06); }
}

.pk-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.pk-eyebrow {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--pk-brown);
  text-transform: uppercase;
  margin: 0 0 12px;
  background: var(--pk-cream);
  padding: 6px 14px;
  border-radius: 999px;
}

.pk-eyebrow-center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.pk-highlight {
  color: var(--pk-bordo);
  background: linear-gradient(90deg, var(--pk-gold), var(--pk-bordo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pk-lead { font-size: 1.1rem; color: #4a4a4a; }

.pk-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0 16px; }

.pk-trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--pk-brown);
  font-weight: bold;
}

.pk-trust-pills-vertical { flex-direction: column; gap: 10px; margin-top: 20px; }

.pk-hero-media { position: relative; max-width: 70%; margin-left: auto; }

.pk-hero-media video,
.pk-media-video video,
.pk-demo-video video {
  border-radius: 16px;
  box-shadow: var(--pk-shadow-lg);
  width: 100%;
}

.pk-floating-card {
  position: absolute;
  background: var(--pk-white);
  border-radius: 12px;
  box-shadow: var(--pk-shadow-lg);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  animation: pk-float 6s ease-in-out infinite;
}

.pk-floating-card strong { color: var(--pk-bordo); font-size: 1.2rem; font-family: Georgia, serif; }
.pk-floating-card span { font-size: 0.72rem; color: var(--pk-brown); font-weight: bold; }

.pk-floating-card-1 { top: -18px; left: -18px; animation-delay: -2s; }
.pk-floating-card-2 { bottom: -18px; right: -18px; animation-delay: -5s; }

.pk-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 2px solid var(--pk-bordo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pk-bordo);
  text-decoration: none;
  animation: pk-bounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pk-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Compare band */

.pk-band { padding: 40px 0; }

.pk-band-contrast { background: var(--pk-bordo); color: var(--pk-white); }

.pk-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.pk-compare-item { max-width: 320px; }

.pk-compare-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.pk-compare-text { font-size: 1.15rem; font-weight: bold; margin: 0; }

.pk-compare-item-highlight .pk-compare-text { color: #f4d9b0; }

.pk-compare-arrow { font-size: 2rem; opacity: 0.75; animation: pk-pulse 1.8s ease-in-out infinite; }

@keyframes pk-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* Stats */

.pk-stats { padding: 56px 0; background: var(--pk-white); }

.pk-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.pk-stat-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--pk-cream);
  border: 1px solid var(--pk-border);
}

.pk-stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  color: var(--pk-bordo);
  font-weight: bold;
  margin: 0 0 6px;
}

.pk-stat-label { margin: 0; color: var(--pk-brown); font-weight: bold; font-size: 0.9rem; }

/* Sections */

.pk-section { padding: 72px 0; }

.pk-section-title { text-align: center; margin-bottom: 12px; }

.pk-section-subtitle {
  text-align: center;
  color: #6a6a6a;
  max-width: 560px;
  margin: 0 auto 40px;
}

.pk-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pk-feature-card {
  background: var(--pk-cream);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--pk-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pk-shadow-lg);
}

.pk-feature-icon {
  font-style: normal;
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.pk-feature-card:hover .pk-feature-icon { transform: scale(1.15) rotate(-4deg); }

.pk-feature-card h3 { margin-bottom: 8px; }
.pk-feature-card p { color: #4a4a4a; margin: 0; }

/* Media (video + copy) sections */

.pk-media-section { background: var(--pk-white); }

.pk-media-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pk-media-video { max-width: 70%; margin: 0 auto; }

/* Steps ("cómo funciona") */

.pk-steps-section { background: var(--pk-cream); }

.pk-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  position: relative;
}

.pk-step {
  background: var(--pk-white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--pk-border);
  box-shadow: var(--pk-shadow);
}

.pk-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pk-bordo);
  color: var(--pk-white);
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.pk-step p { color: #4a4a4a; margin: 0; }

/* Brand band */

.pk-band-brand {
  background: var(--pk-cream);
  text-align: center;
}

.pk-brand-block { max-width: 640px; margin: 0 auto; }
.pk-brand-block p { color: #4a4a4a; font-size: 1.05rem; }

/* FAQ */

.pk-faq-wrap { max-width: 760px; }

.pk-faq { display: flex; flex-direction: column; gap: 12px; }

.pk-faq-item {
  border: 1px solid var(--pk-border);
  border-radius: 12px;
  padding: 6px 20px;
  background: var(--pk-white);
}

.pk-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: bold;
  color: var(--pk-bordo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pk-faq-item summary::-webkit-details-marker { display: none; }

.pk-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--pk-brown);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.pk-faq-item[open] summary::after { transform: rotate(45deg); }

.pk-faq-item p { color: #4a4a4a; padding-bottom: 16px; margin: 0; }

/* Demo section */

.pk-demo-section { background: linear-gradient(180deg, var(--pk-white) 0%, var(--pk-cream) 100%); }

.pk-demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pk-demo-video { margin-bottom: 20px; max-width: 196px; }

.pk-form {
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  border-radius: 16px;
  box-shadow: var(--pk-shadow-lg);
  padding: 32px;
}

.pk-form-title { margin-bottom: 20px; }

.pk-form-row { margin-bottom: 16px; }

.pk-form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pk-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--pk-brown);
  margin-bottom: 6px;
}

.pk-form input,
.pk-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--pk-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--pk-white);
  color: var(--pk-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pk-form input:focus,
.pk-form textarea:focus {
  outline: none;
  border-color: var(--pk-bordo);
  box-shadow: 0 0 0 3px rgba(109, 27, 47, 0.12);
}

.pk-form textarea { resize: vertical; }

/* Honeypot: oculto para personas, sigue presente en el DOM para bots */
.pk-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pk-form-mensaje {
  margin: 16px 0 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.pk-form-mensaje.pk-ok { color: #2e7d32; }
.pk-form-mensaje.pk-error { color: #c62828; }

/* Footer */

.pk-footer {
  background: var(--pk-bordo-dark);
  color: #e8c9ce;
  padding: 48px 0;
  font-size: 0.9rem;
}

.pk-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.pk-footer-brand { text-align: center; max-width: 280px; }
.pk-footer-brand p { margin: 0; }

.pk-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.pk-footer-links a { text-decoration: none; color: #e8c9ce; font-weight: bold; }
.pk-footer-links a:hover { text-decoration: underline; }

/* Sticky mobile CTA */

.pk-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: var(--pk-bordo);
  color: var(--pk-white);
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: var(--pk-shadow-lg);
  display: none;
  transform: translateY(120%);
  transition: transform 0.25s ease;
}

.pk-sticky-cta.pk-visible { transform: translateY(0); }

/* Scroll reveal */

.pk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pk-reveal.pk-visible { opacity: 1; transform: translateY(0); }

.pk-reveal-delay-1.pk-visible { transition-delay: 0.12s; }
.pk-reveal-delay-2.pk-visible { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .pk-reveal, .pk-blob, .pk-floating-card, .pk-scroll-cue, .pk-compare-arrow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */

@media (max-width: 860px) {
  .pk-hero-inner,
  .pk-media-inner,
  .pk-demo-inner {
    grid-template-columns: 1fr;
  }

  .pk-media-reverse .pk-media-video { order: -1; }

  .pk-form-row-split { grid-template-columns: 1fr; }

  .pk-stats-grid { grid-template-columns: 1fr; }

  .pk-nav-toggle { display: flex; }

  .pk-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pk-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 24px;
    border-bottom: 0 solid var(--pk-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease, border-bottom-width 0.25s ease;
  }

  .pk-nav-links.pk-open {
    max-height: 320px;
    padding: 12px 24px 20px;
    border-bottom-width: 1px;
    box-shadow: var(--pk-shadow);
  }

  .pk-nav-links a:not(.pk-btn) { padding: 10px 0; width: 100%; }
  .pk-nav-links .pk-btn { margin-top: 8px; }

  .pk-sticky-cta { display: block; }

  .pk-footer-inner { justify-content: center; text-align: center; }
}
