/*
Theme Name: PushMarketing
Theme URI: https://pushmarketing.com.ar
Author: PushMarketing
Author URI: https://pushmarketing.com.ar
Description: Tema para PushMarketing (growth marketing, performance y analítica), compatible con Elementor. Incluye header glass persistente, interacciones nativas, revelado por IntersectionObserver, contadores, FAQ animadas y una portada adaptable con movimiento reducido.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pushmarketing
Tags: business, one-column, custom-logo, custom-menu, full-width-template, accessibility-ready, translation-ready
*/

/* -------------------------------------------------------------------------
   style.css: cabecera del tema + tokens de diseño + base.
   Las secciones de la portada viven en assets/css/main.css.
   ------------------------------------------------------------------------- */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marca (tomada del logo: flecha azul + puntos verde, naranja y rojo) */
  --pm-blue: #2B7FFF;
  --pm-blue-deep: #1D5FD6;
  --pm-green: #22C55E;
  --pm-green-deep: #16A34A;
  --pm-orange: #F5A524;
  --pm-red: #F0524F;
  --pm-gradient: linear-gradient(115deg, #2B7FFF 0%, #22C55E 100%);
  --pm-gradient-text: linear-gradient(100deg, #5FA2FF 0%, #3DDC84 100%);

  /* Neutros */
  --pm-ink: #070B18;        /* fondo oscuro */
  --pm-ink-2: #0D1428;      /* superficie oscura */
  --pm-ink-line: rgba(255, 255, 255, 0.09);
  --pm-heading: #0B1220;
  --pm-body: #475467;
  --pm-muted: #667085;
  --pm-line: #E6EAF0;
  --pm-surface: #F5F7FB;
  --pm-white: #FFFFFF;
  --pm-on-dark: #C8D1E1;    /* texto sobre fondo oscuro */
  --pm-on-green: #04160A;   /* texto sobre botón verde (contraste 9:1) */

  /* Forma */
  --pm-radius-sm: 12px;
  --pm-radius: 20px;
  --pm-radius-lg: 28px;
  --pm-radius-pill: 999px;

  /* Sombras en capas */
  --pm-shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 4px 12px -4px rgba(11, 18, 32, 0.06);
  --pm-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 20px -8px rgba(11, 18, 32, 0.08), 0 24px 48px -24px rgba(11, 18, 32, 0.14);
  --pm-shadow-lg: 0 2px 4px rgba(11, 18, 32, 0.04), 0 16px 32px -12px rgba(11, 18, 32, 0.12), 0 40px 80px -32px rgba(29, 95, 214, 0.28);
  --pm-glow-green: 0 10px 30px -8px rgba(34, 197, 94, 0.55);

  /* Movimiento */
  --pm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pm-ease-io: cubic-bezier(0.65, 0.05, 0, 1);
  --pm-dur-fast: 0.2s;
  --pm-dur: 0.35s;
  --pm-dur-reveal: 0.9s;

  /* Layout */
  --pm-container: 1200px;
  --pm-gutter: clamp(18px, 4vw, 32px);
  --pm-section-y: clamp(80px, 10vw, 140px);
  --pm-header-h: 76px;

  /* Tipografía */
  --pm-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pm-fs-hero: clamp(2.5rem, 6.4vw, 5rem);
  --pm-fs-h2: clamp(2rem, 4.2vw, 3.25rem);
  --pm-fs-h3: clamp(1.2rem, 1.6vw, 1.375rem);
  --pm-fs-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --pm-fs-body: 1.0625rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pm-header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--pm-font);
  font-size: var(--pm-fs-body);
  line-height: 1.7;
  color: var(--pm-body);
  background: var(--pm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.pm-menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pm-font);
  color: var(--pm-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h3, h4 { letter-spacing: -0.015em; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--pm-blue-deep); text-decoration: none; transition: color var(--pm-dur-fast) ease; }
a:hover { color: var(--pm-blue); }

img, video, svg { max-width: 100%; height: auto; }
img { display: block; }

::selection { background: var(--pm-green); color: var(--pm-on-green); }

/* Accesibilidad */
:focus-visible {
  outline: 3px solid var(--pm-blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  left: 12px;
  top: 12px;
  z-index: 100000;
  background: var(--pm-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--pm-radius-sm);
}

/* Núcleo de WordPress */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.875rem; color: var(--pm-muted); }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
