/* ==========================================================================
   WEBFACTOR STUDIO - CSS BASE (COMPARTIDO POR TODAS LAS PÁGINAS)
   Diseño: Mobile-First, Dark Luxury Tech, Glassmorphism, Micro-animaciones
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & TOKENS DE COLOR
   -------------------------------------------------------------------------- */
:root {
  --bg-main: #07090e;
  --bg-surface: #0f141f;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-glass: rgba(15, 20, 31, 0.8);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.3);
  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  --grad-border: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.2), rgba(255, 255, 255, 0.05));
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* --------------------------------------------------------------------------
   2. RESET Y ESTILOS GLOBALES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease-out;
}

.skip-link:focus {
  top: 20px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; border: none; background: none; }

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA Y JERARQUÍAS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: clamp(1.75rem, 5.2vw, 3.4rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.45rem, 3.8vw, 2.4rem); line-height: 1.25; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.3; }

p { color: var(--text-muted); font-size: clamp(0.92rem, 1.4vw, 1.05rem); overflow-wrap: break-word; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-cyan { color: var(--secondary); }
.text-emerald { color: var(--success); }

/* --------------------------------------------------------------------------
   4. LAYOUT Y CONTENEDORES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .section { padding-top: 6rem; padding-bottom: 6rem; }
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem auto; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   5. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55), 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   6. HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link { display: flex; align-items: center; gap: 0.6rem; z-index: 1002; }
.logo-img { height: 40px; width: auto; }

.nav-menu { display: none; }

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
  }
  .nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
  }
  .nav-link:hover, .nav-link.active { color: #ffffff; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--grad-primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
  }
  .nav-link:hover::after, .nav-link.active::after { width: 100%; }
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

@media (min-width: 992px) { .menu-toggle { display: none; } }

.menu-toggle span {
  display: block;
  width: 100%; height: 2.5px;
  background: #ffffff;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 82%; max-width: 380px;
  height: 100vh;
  background: #0d121d;
  border-left: 1px solid var(--border-subtle);
  padding: 6rem 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}
.mobile-nav.open { right: 0; }

.mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-link:hover { color: var(--secondary); }

/* Estados activos de navegación */
.nav-link.active-page { color: #ffffff !important; }
.nav-link.active-page::after { width: 100% !important; }
.mobile-link.active-page { color: var(--secondary) !important; }

/* --------------------------------------------------------------------------
   7. HERO GENÉRICO (PÁGINAS INTERNAS)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 4.5rem;
  }
}

.page-hero-title { margin-bottom: 1rem; }
.page-hero-desc {
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs span { color: #a5b4fc; }

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #05070b;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-grid>div:nth-child(1) {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-grid>div:nth-child(2),
.footer-grid>div:nth-child(3) {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
}

.footer-grid>div:nth-child(4) {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  .footer-grid>div:nth-child(1),
  .footer-grid>div:nth-child(2),
  .footer-grid>div:nth-child(3),
  .footer-grid>div:nth-child(4) {
    grid-column: span 1;
    display: block;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-col-desc { font-size: 0.92rem; margin: 1.2rem auto; max-width: 320px; }
@media (min-width: 640px) { .footer-col-desc { margin: 1.2rem 0; } }

.footer-col-title { font-size: 1rem; font-weight: 700; color: #ffffff; margin-bottom: 1.2rem; }

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links-list a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links-list a:hover { color: var(--secondary); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; text-align: left; }
}

.copyright-text { font-size: 0.85rem; color: var(--text-subtle); }

/* --------------------------------------------------------------------------
   9. WIDGET FLOTANTE DE WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
}

.whatsapp-trigger-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  padding: 0;
}

.whatsapp-trigger-btn:hover { transform: scale(1.08); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6); }

.whatsapp-trigger-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.whatsapp-popup-chat {
  position: absolute;
  bottom: 75px; right: 0;
  width: 310px;
  max-width: calc(100vw - 36px);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: popIn 0.25s ease-out forwards;
}

.whatsapp-popup-chat.open { display: flex; }

@media (max-width: 480px) {
  .whatsapp-widget-container { bottom: 16px; right: 16px; }
  .whatsapp-trigger-btn { width: 52px; height: 52px; }
  .whatsapp-trigger-btn svg { width: 28px; height: 28px; }
  .whatsapp-popup-chat { bottom: 65px; width: calc(100vw - 32px); }
}

.popup-header {
  background: #075e54;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.popup-header-info { display: flex; align-items: center; gap: 0.6rem; }

.popup-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #128c7e;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
}

.popup-title { font-size: 0.9rem; font-weight: 700; line-height: 1.1; }
.popup-status { font-size: 0.72rem; color: #bbf7d0; }
.popup-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  transition: color var(--transition-fast);
}
.popup-close-btn:hover { color: #ffffff; }

.popup-body { padding: 1rem; background: #0b1120; }

.popup-message-bubble {
  background: #1e293b;
  padding: 0.8rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #f1f5f9;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  border-left: 3px solid #25d366;
}

.popup-quick-actions { display: flex; flex-direction: column; gap: 0.5rem; }

.quick-reply-btn {
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #38bdf8;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quick-reply-btn:hover { background: #25d366; color: #ffffff; border-color: #25d366; }

/* --------------------------------------------------------------------------
   10. TOAST NOTIFICACIONES
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}
.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   11. ANIMACIONES KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes pulse-border {
  0%, 100% { border-color: rgba(16, 185, 129, 0.3); }
  50% { border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

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

@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes ptPulse {
  from { opacity: 0.4; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   12. ANIMACIONES TIPO DIAPOSITIVA (IntersectionObserver)
   -------------------------------------------------------------------------- */
[data-slide] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-slide="up"] { transform: translateY(35px); }
[data-slide="left"] { transform: translateX(-40px); }
[data-slide="right"] { transform: translateX(40px); }
[data-slide="zoom"] { transform: scale(0.95); }

[data-slide].slide-visible { opacity: 1; transform: none; }

[data-slide-delay="1"] { transition-delay: 0.12s; }
[data-slide-delay="2"] { transition-delay: 0.24s; }
[data-slide-delay="3"] { transition-delay: 0.36s; }
[data-slide-delay="4"] { transition-delay: 0.48s; }
[data-slide-delay="5"] { transition-delay: 0.60s; }
[data-slide-delay="6"] { transition-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
  [data-slide] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   13. TRANSICIÓN ENTRE PÁGINAS
   -------------------------------------------------------------------------- */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: rgba(7, 9, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.45s ease,
    visibility 0.45s;
}

#page-transition-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

#page-transition-overlay .pt-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.35s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#page-transition-overlay.is-active .pt-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pt-logo-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  animation: ptPulse 1.4s ease-in-out infinite alternate;
}

.pt-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MOBILE-FIRST GLOBAL
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  .container { padding-left: 1.15rem; padding-right: 1.15rem; }

  h1, .hero-title, .page-hero-title {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }

  h2, .section-title { font-size: 1.6rem !important; line-height: 1.3 !important; }

  .hero-desc, .page-hero-desc {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.6rem;
  }

  .hero-cta-group, .calc-actions { width: 100%; }

  .hero-cta-group .btn, .calc-actions .btn {
    width: 100% !important;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.96rem;
  }

  .whatsapp-widget-container { bottom: 18px !important; right: 18px !important; }
  .whatsapp-trigger-btn { width: 54px !important; height: 54px !important; }
  .whatsapp-popup-chat { width: calc(100vw - 28px) !important; right: -4px !important; bottom: 68px !important; }
}

@media (max-width: 420px) {
  h1, .hero-title, .page-hero-title { font-size: 1.72rem !important; }
  .stat-number { font-size: 1.35rem !important; }
  .stat-label { font-size: 0.72rem !important; }
  .pricing-plan-price { font-size: 1.85rem !important; }
}

/* ==========================================================================
   CLASES EXTRAÍDAS DE ESTILOS INLINE (NAVEGACIÓN, FOOTER, SECCIONES)
   ========================================================================== */
.mobile-nav-logo { margin-bottom: 2.5rem; }
.mobile-nav-logo-img { height: 34px; }
.footer-logo-img { height: 38px; }
.footer-availability { display: flex; gap: 0.6rem; color: #10b981; font-weight: 700; font-size: 0.85rem; align-items: center; }
.section-alt { background: rgba(15, 20, 31, 0.5); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section-compact { padding-top: 1rem; }
