/* pekeCAM — landing */
:root {
  --purple: #9b34cd;
  --purple-dark: #7a29a3;
  --purple-soft: #f0e6fa;
  --dark: #333333;
  --muted: #5c5c5c;
  --bg: #fafafa;
  --white: #ffffff;
  --line: #ececec;
  --pink: #f8c8d8;
  --sky: #c5e4f5;
  --mint: #b8e0d2;
  --sand: #f5e6c8;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(155, 52, 205, 0.12);
  --shadow-hover: 0 12px 32px rgba(155, 52, 205, 0.2);
  --font: "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple-dark);
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  order: 3;
}

.site-nav {
  margin-left: auto;
  order: 2;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lang-switch button:hover {
  color: var(--purple);
}

.lang-switch button.is-active {
  background: var(--purple);
  color: #fff;
}

.logo img {
  width: 150px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--purple);
}

.site-nav .btn {
  color: #fff;
}

.site-nav .btn:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--purple);
  background: var(--purple);
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--purple) !important;
}

.btn-ghost:hover {
  background: var(--purple-soft);
  color: var(--purple-dark) !important;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, var(--purple-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, #eef8f4, transparent 50%),
    var(--white);
  padding: 2.5rem 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40ch;
}

.owl-mini {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 480px);
  border-radius: var(--radius);
}

.float {
  animation: float 5s ease-in-out infinite;
}

.float-slow {
  animation: float-sway 6.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-sway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1.2deg); }
}

.trust-strip {
  background: var(--purple);
  color: #fff;
  padding: 1rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  text-align: center;
  font-weight: 700;
}

.trust-inner p {
  margin: 0;
}

.trust-dot {
  opacity: 0.55;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 0.5rem;
}

.step-illu {
  width: 160px;
  height: 120px;
  margin: 0 auto 1rem;
}

.step-illu svg,
.step-illu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--dark);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.25rem 1.1rem 1.4rem;
  text-align: center;
}

.card-illu {
  width: 80px;
  height: 64px;
  margin: 0 auto 0.85rem;
}

.card-illu svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--dark);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.side-visual {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.side-visual img {
  width: min(100%, 420px);
  background: transparent;
}

/* Hardware flow */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
  margin-bottom: 2.5rem;
}

.flow-step {
  text-align: center;
  width: 160px;
}

.flow-icon {
  width: 100px;
  height: 80px;
  margin: 0 auto 0.75rem;
  background: var(--bg);
  border-radius: 20px;
  display: grid;
  place-items: center;
}

.flow-icon svg {
  width: 88px;
  height: 72px;
}

.flow-icon-img {
  overflow: hidden;
  padding: 0.4rem;
}

.flow-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  min-width: 72px;
}

.flow-arrow svg {
  width: 48px;
  height: 24px;
}

.lock-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.hardware-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.note-block {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border-left: 4px solid var(--purple);
}

.note-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--purple);
}

.note-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Stats */
.section-numbers {
  background:
    linear-gradient(180deg, var(--purple-soft) 0%, var(--white) 100%);
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 600;
}

/* Features */
.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}

.feature {
  text-align: center;
  padding: 0.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.7rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.ninos-accent {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.ninos-accent img {
  width: 180px;
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: var(--bg);
  border-radius: var(--radius);
  border-top: 3px solid var(--purple);
}

.quote p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--dark);
}

.quote footer {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--dark);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}

.pricing-visual {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.pricing-visual img {
  width: min(100%, 340px);
  background: transparent;
}

.pricing-main,
.pricing-promo {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.pricing-main {
  border: 2px solid var(--purple);
}

.pricing-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-price {
  margin: 0 0 0.75rem;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.pricing-price .per {
  color: var(--muted);
  font-weight: 600;
}

.pricing-note {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-includes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  color: var(--dark);
}

.pricing-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 2px var(--purple);
}

.promo-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  background: var(--sand);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 999px;
}

.pricing-promo h3 {
  margin: 0 0 1rem;
  color: var(--purple);
}

.promo-prices {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.promo-prices li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.promo-prices strong {
  color: var(--dark);
  font-size: 1.1rem;
}

.promo-extra {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 0.25rem 1.1rem;
  border: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 0;
  list-style: none;
  color: var(--dark);
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--purple);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, var(--purple-soft), transparent 55%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--purple);
  font-weight: 800;
}

.contact-copy > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34ch;
}

.contact-direct {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.contact-direct li {
  margin-bottom: 0.85rem;
}

.contact-direct .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-direct a {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}

.contact-direct a:hover {
  color: var(--purple);
}

.whatsapp-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(155, 52, 205, 0.15);
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.field-check input {
  width: auto;
  margin-top: 0.3rem;
}

.field-check label {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 1.2em;
}

.form-status.is-ok {
  color: #2e7d4f;
}

.form-status.is-error {
  color: #b00020;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #ddd;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-footer img {
  width: 120px;
  filter: brightness(1.05);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Cookie banner — Google Ads consent */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  display: none;
  align-items: center;
  gap: 0.85rem;
  z-index: 200;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner .cookie-copy {
  flex: 1;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float,
  .float-slow { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .cards-4,
  .stats,
  .quotes {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hardware-notes {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .lead,
  .demo-note {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .demo-note {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .btn {
    text-align: center;
  }

  .cards-4,
  .stats,
  .quotes {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    min-width: auto;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
