/* ===================================================================
   SMTP CHILE 2026 — Premium Agency Design System v2
   Cursor personalizado · Parallax · 3D Cards · Typewriter
   =================================================================== */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:        #030812;
  --bg2:       #050D1C;
  --surface:   rgba(255,255,255,0.03);
  --surface2:  rgba(255,255,255,0.05);
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);

  --blue:      #2563EB;
  --blue-b:    #1D4ED8;
  --blue-glow: rgba(37,99,235,0.4);
  --electric:  #38BDF8;
  --electric-g:rgba(56,189,248,0.3);
  --purple:    #8B5CF6;
  --purple-g:  rgba(139,92,246,0.25);
  --green:     #10B981;
  --green-g:   rgba(16,185,129,0.25);
  --orange:    #F59E0B;
  --wa:        #25D366;

  --text:      #FFFFFF;
  --text-2:    rgba(255,255,255,0.7);
  --text-3:    rgba(255,255,255,0.4);
  --text-4:    rgba(255,255,255,0.2);

  --grad-1:    linear-gradient(135deg, #2563EB, #8B5CF6);
  --grad-2:    linear-gradient(135deg, #38BDF8, #2563EB);
  --grad-text: linear-gradient(90deg, #38BDF8 0%, #8B5CF6 50%, #2563EB 100%);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-blue: 0 0 40px rgba(37,99,235,0.3);
  --shadow-glow: 0 0 60px rgba(56,189,248,0.2);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);

  --font-h: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-back:   cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
body.mobile-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── PAGE LOADER ─────────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  text-align: center;
}
.loader-text {
  display: block;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: var(--grad-2);
  border-radius: 2px;
  animation: loader-progress 0.8s var(--ease-out) forwards;
}
@keyframes loader-progress {
  to { width: 100%; }
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--electric);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: normal;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(56,189,248,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cursor.hover {
  width: 12px; height: 12px;
  background: var(--blue);
}
.cursor-follower.hover {
  width: 56px; height: 56px;
  border-color: rgba(37,99,235,0.6);
  background: rgba(37,99,235,0.08);
}
.cursor.click {
  transform: translate(-50%,-50%) scale(0.7);
}
@media (hover: none), (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

/* ── KEYFRAMES ──────────────────────────────────────────────────── */
@keyframes orb-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px,-40px) scale(1.15); }
  66%      { transform: translate(-30px,50px) scale(0.85); }
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes float-y2 {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes glow-cycle {
  0%,100% { box-shadow: 0 0 30px var(--blue-glow); }
  50%      { box-shadow: 0 0 60px rgba(56,189,248,0.4); }
}
@keyframes scroll-wheel {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.3; }
}
@keyframes line-reveal {
  from { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transform: translateY(20px); opacity: 0; }
  to   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateY(0); opacity: 1; }
}
@keyframes badge-ping {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.3; }
}
@keyframes tilt-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── SECTION SHARED ─────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--electric);
  animation: badge-ping 2s ease-in-out infinite;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head h2 em {
  font-style: normal;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.75;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="100"] { transition-delay: 0.1s; }
[data-reveal][data-delay="150"] { transition-delay: 0.15s; }
[data-reveal][data-delay="200"] { transition-delay: 0.2s; }
[data-reveal][data-delay="300"] { transition-delay: 0.3s; }
[data-reveal][data-delay="400"] { transition-delay: 0.4s; }
[data-reveal][data-delay="450"] { transition-delay: 0.45s; }
[data-reveal][data-delay="500"] { transition-delay: 0.5s; }

/* ── HEADER ─────────────────────────────────────────────────────── */
#smtp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#smtp-header.scrolled {
  background: rgba(3,8,18,0.92);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.4);
}
.hdr-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}
.hdr-logo {
  margin-right: auto;
  flex-shrink: 0;
}
.hdr-logo img { height: 36px; }
.logo-mark {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo-dot { color: var(--electric); font-size: 1.8rem; line-height: 0.5; }
.logo-domain {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--electric);
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 24px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  background: none;
}
.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link svg { opacity: 0.5; transition: transform 0.2s, opacity 0.2s; }
.nav-drop-wrap:hover .nav-link svg { transform: rotate(180deg); opacity: 1; }

.nav-drop-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(8,14,28,0.98);
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}
.nav-drop-wrap:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all 0.15s;
}
.nav-dropdown a:hover { background: var(--surface2); color: var(--electric); }

.hdr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav-ghost {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border2);
  background: var(--surface);
  transition: all 0.2s;
}
.btn-nav-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-nav-solid {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  padding: 9px 20px;
  border-radius: var(--r-sm);
  background: var(--blue);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-nav-solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.15s;
}
.btn-nav-solid:hover::after { opacity: 1; }
.btn-nav-solid:hover { transform: translateY(-1px); box-shadow: var(--shadow-blue); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(3,8,18,0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  z-index: 899;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: var(--r-md);
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
}
.mobile-menu a:hover { color: var(--text); background: var(--surface2); }
.mobile-cta {
  margin-top: 12px;
  background: var(--blue) !important;
  color: var(--text) !important;
  text-align: center;
  border: none !important;
}
.mobile-wa {
  background: rgba(37,211,102,0.1) !important;
  color: var(--wa) !important;
  border-color: rgba(37,211,102,0.2) !important;
  text-align: center;
}

/* Admin bar offset */
.admin-bar #smtp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #smtp-header { top: 46px; } }

/* ── HERO ────────────────────────────────────────────────────────── */
#smtp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(56,189,248,0.08) 0%, transparent 50%),
    var(--bg);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.6;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -250px; right: -150px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  animation: orb-drift 22s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  animation: orb-drift 30s ease-in-out infinite;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

/* Hero layout */
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px 60px;
  width: 100%;
}

/* Hero text */
.hero-text { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  color: var(--electric);
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: line-reveal 0.6s var(--ease-out) forwards;
}
.badge-ping {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
  position: relative;
  flex-shrink: 0;
}
.badge-ping::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--electric);
  animation: pulse-ring 1.8s ease-out infinite;
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
  overflow: hidden;
}
.h1-line {
  display: block;
  animation: line-reveal 0.7s var(--ease-out) forwards;
  animation-play-state: paused;
}
.h1-line:nth-child(1) { animation-delay: 0.2s; }
.h1-line:nth-child(2) { animation-delay: 0.4s; }
.h1-line:nth-child(3) { animation-delay: 0.6s; }
.hero-text.animate-in .h1-line { animation-play-state: running; }

.h1-highlight {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite, line-reveal 0.7s var(--ease-out) 0.4s both;
}
.h1-highlight.animate-in {
  animation: shimmer 4s linear infinite, line-reveal 0.7s var(--ease-out) 0.4s both;
}

/* Typewriter word rotate */
.word-rotate {
  display: inline-block;
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: line-reveal 0.7s var(--ease-out) 0.8s both;
}
.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: line-reveal 0.7s var(--ease-out) 1s both;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--blue);
  padding: 15px 28px;
  border-radius: 14px;
  transition: all 0.25s var(--ease-out);
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: glow-cycle 3s ease-in-out infinite;
}
.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(37,99,235,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  padding: 14px 24px;
  border-radius: 14px;
  transition: all 0.25s;
}
.btn-hero-wa:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.5);
  transform: translateY(-2px);
}
.btn-hero-wa svg { color: var(--wa); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  animation: line-reveal 0.7s var(--ease-out) 1.2s both;
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 3px; }
.hstat-n {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.hstat span {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hstat-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-wrap {
  position: relative;
  perspective: 1200px;
}

/* SERP mockup */
.serp-mockup {
  background: rgba(8,14,28,0.9);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-blue);
  backdrop-filter: blur(20px);
  width: 440px;
  max-width: 100%;
  animation: float-y 7s ease-in-out infinite;
  transition: transform 0.1s ease;
}
.serp-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.serp-dots { display: flex; gap: 6px; }
.serp-dots span { width: 10px; height: 10px; border-radius: 50%; }
.serp-dots span:nth-child(1) { background: #FF5F57; }
.serp-dots span:nth-child(2) { background: #FFBD2E; }
.serp-dots span:nth-child(3) { background: #28CA41; }
.serp-search {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.serp-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.serp-result { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); position: relative; }
.serp-top { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.06); }
.serp-ad-tag { font-size: 0.65rem; background: rgba(37,99,235,0.2); color: var(--electric); border: 1px solid rgba(37,99,235,0.3); padding: 1px 6px; border-radius: 4px; margin-bottom: 6px; display: inline-block; }
.serp-url { font-size: 0.72rem; color: var(--green); margin-bottom: 3px; }
.serp-title { font-family: var(--font-h); font-size: 0.9rem; color: #8AB4F8; font-weight: 600; margin-bottom: 4px; }
.serp-desc { font-size: 0.75rem; color: var(--text-3); line-height: 1.5; }
.serp-divider { height: 1px; background: var(--border); }
.serp-rank-badge {
  position: absolute;
  top: 10px; right: 12px;
  background: var(--green);
  color: white;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.serp-dim { opacity: 0.38; }
.serp-ad { padding: 5px 8px; }
.serp-ads-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px 2px;
}
.serp-organic-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 8px 2px;
  opacity: 0.8;
}
.serp-highlight {
  background: rgba(37,99,235,0.12) !important;
  border: 1px solid rgba(37,99,235,0.3) !important;
  border-radius: 6px;
  position: relative;
  animation: glow-cycle 3s ease-in-out infinite;
}
.serp-highlight .serp-title { color: var(--electric) !important; }
.serp-highlight .serp-url   { color: var(--green) !important; opacity: 1 !important; }

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(8,14,28,0.95);
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  font-size: 0.8rem;
}
.fc-icon { font-size: 1.2rem; flex-shrink: 0; }
.fc-info strong { display: block; font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; color: var(--electric); }
.fc-info span { font-size: 0.7rem; color: var(--text-3); }
.fc-rank { top: -20px; right: -20px; animation: float-y 5s ease-in-out infinite; }
.fc-speed { bottom: 40px; left: -40px; animation: float-y 6s ease-in-out 1.5s infinite; }
.fc-secure {
  bottom: -16px; right: 20px;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  animation: float-y2 4s ease-in-out 0.8s infinite;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--text-3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--text-3);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

/* ── TRUST BAR ──────────────────────────────────────────────────── */
#smtp-trust {
  padding: 28px 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
#smtp-trust::before, #smtp-trust::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
#smtp-trust::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
#smtp-trust::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.trust-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.trust-marquee-wrap { overflow: hidden; }
.trust-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
.trust-logo {
  padding: 8px 24px;
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-4);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}
.trust-logo:hover { color: var(--text-2); }

/* ── SERVICES ────────────────────────────────────────────────────── */
#smtp-servicios {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
#smtp-servicios::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border2), transparent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  transform-style: preserve-3d;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(37,99,235,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.svc-card:hover::after { opacity: 1; }
.svc-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: var(--shadow-card), 0 0 60px rgba(37,99,235,0.1);
}
.svc-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover .svc-glow { opacity: 1; }

.svc-featured {
  border-color: rgba(37,99,235,0.25);
  background: linear-gradient(145deg, rgba(37,99,235,0.08), rgba(139,92,246,0.05));
}
.svc-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.svc-badge-em {
  background: linear-gradient(90deg, var(--orange), #e11d48) !important;
}
.svc-card.svc-em {
  border-color: rgba(245,158,11,0.3);
}
.svc-card.svc-em:hover {
  border-color: var(--orange);
  box-shadow: 0 0 60px rgba(245,158,11,0.15);
}
.svc-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--blue);
  color: white;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.svc-num {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.svc-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--electric);
  transition: all 0.3s;
}
.svc-card:hover .svc-icon-wrap {
  background: rgba(37,99,235,0.2);
  transform: scale(1.05) rotate(-4deg);
}
.svc-card h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.svc-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.svc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.svc-features li {
  font-size: 0.8rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-features li::before {
  content: '✓';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--electric);
  transition: gap 0.2s;
  padding-top: 6px;
}
.svc-link:hover { gap: 10px; }

/* ── STATS ──────────────────────────────────────────────────────── */
#smtp-stats {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bg { position: absolute; inset: 0; pointer-events: none; }
.stats-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), rgba(56,189,248,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
.stats-line-1 { top: 0; left: 0; right: 0; }
.stats-line-2 { bottom: 0; left: 0; right: 0; animation-direction: reverse; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
  position: relative;
  z-index: 1;
}
.stat-item {
  background: var(--bg2);
  padding: 44px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.stat-item:hover { background: rgba(37,99,235,0.06); }
.stat-icon { font-size: 1.5rem; margin-bottom: 4px; }
.stat-num {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── POR QUÉ ────────────────────────────────────────────────────── */
#smtp-porque {
  padding: 120px 0;
  background: var(--bg);
}
.porque-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.porque-left h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.porque-left > p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.porque-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.pq-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.2s;
}
.pq-item:hover { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.05); }
.pq-check {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(16,185,129,0.15);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pq-item strong { display: block; font-family: var(--font-h); font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.pq-item span { font-size: 0.8rem; color: var(--text-2); line-height: 1.5; }
.btn-porque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  background: var(--blue);
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.25s;
  box-shadow: var(--shadow-blue);
}
.btn-porque:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(37,99,235,0.5); }

/* Rating card */
.porque-right { display: flex; flex-direction: column; gap: 20px; }
.rating-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.rating-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rc-stars { font-size: 1.1rem; letter-spacing: 2px; }
.rc-score {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-text);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.rc-quote { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.rc-client { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.rc-client strong { display: block; font-family: var(--font-h); font-size: 0.9rem; }
.rc-client span { font-size: 0.75rem; color: var(--text-3); }
.rc-badges { display: flex; gap: 8px; }
.rc-badges span { font-size: 0.7rem; background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.2); color: var(--electric); padding: 3px 10px; border-radius: 6px; }
.trust-badges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center;
  transition: all 0.2s;
}
.tb-item:hover { border-color: rgba(37,99,235,0.25); transform: translateY(-2px); }
.tb-icon { font-size: 1.4rem; margin-bottom: 6px; }
.tb-item strong { display: block; font-family: var(--font-h); font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.tb-item small { font-size: 0.72rem; color: var(--text-3); }

/* ── PLANES ─────────────────────────────────────────────────────── */
#smtp-planes {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
}
#smtp-planes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: var(--shadow-card); }
.plan-popular {
  border-color: rgba(37,99,235,0.35);
  background: linear-gradient(145deg, rgba(37,99,235,0.08), var(--surface));
  box-shadow: var(--shadow-blue);
}
.plan-popular:hover { box-shadow: 0 0 60px rgba(37,99,235,0.3); }
.plan-popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-1);
  color: white;
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 8px; }
.plan-currency { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; color: var(--text-2); }
.plan-amount {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.plan-period { font-size: 0.9rem; color: var(--text-3); margin-left: 4px; }
.plan-desc { font-size: 0.875rem; color: var(--text-2); margin-bottom: 28px; line-height: 1.5; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.plan-features li span:first-child { color: var(--green); font-weight: 700; }
.plan-features li:has(span:first-child:contains(✗)) { color: var(--text-3); }
.plan-btn {
  display: block;
  text-align: center;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  transition: all 0.25s;
}
.plan-btn-ghost {
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
}
.plan-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.plan-btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-blue);
}
.plan-btn-primary:hover { background: var(--blue-b); transform: translateY(-2px); box-shadow: 0 0 40px rgba(37,99,235,0.5); }
.planes-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 32px;
}

/* Plan price old / equivalent */
.plan-price-wrap { margin: 12px 0; }
.plan-price-old {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 4px;
}
.plan-price-old s { color: var(--text-3); }
.plan-price-equiv {
  font-size: 0.78rem;
  color: var(--electric);
  margin-top: 4px;
  opacity: 0.8;
}

/* ── SMTP PRICING MINI SECTION ─────────────────────────────────── */
.smtp-pricing-wrap { margin-top: 4rem; }
.smtp-plans-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2rem;
}
.smtp-plan-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 18px;
  transition: border-color 0.3s, transform 0.3s;
}
.smtp-plan-item:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}
.smtp-plan-featured {
  border-color: var(--blue);
  background: rgba(37,99,235,0.08);
}
.smtp-plan-item strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.smtp-price {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--electric);
  margin-bottom: 12px;
}
.smtp-price span {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 400;
}
.smtp-plan-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.smtp-plan-item ul li {
  font-size: 0.8rem;
  color: var(--text-2);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.smtp-plan-item ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-size: 0.7rem;
  top: 3px;
}
.smtp-plan-item a {
  font-size: 0.8rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.smtp-plan-item a:hover { color: var(--electric); }
@media (max-width: 900px) {
  .smtp-plans-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .smtp-plans-row { grid-template-columns: 1fr; }
}

/* ── PROCESO ─────────────────────────────────────────────────────── */
#smtp-proceso {
  padding: 120px 0;
  background: var(--bg);
}
.proceso-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.proceso-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.proceso-step:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.proceso-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  width: 40px;
}
.proceso-connector::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(to right, rgba(37,99,235,0.4), rgba(56,189,248,0.4));
}
.ps-number {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.ps-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.proceso-step h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.proceso-step p { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; }

/* ── BLOG ────────────────────────────────────────────────────────── */
#smtp-blog {
  padding: 120px 0;
  background: var(--bg2);
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-empty { grid-column: 1/-1; text-align: center; color: var(--text-3); padding: 48px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}
.blog-card:hover { border-color: rgba(37,99,235,0.25); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  position: relative;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(139,92,246,0.08));
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/9;
}
.blog-cat {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(37,99,235,0.85);
  color: white;
  padding: 3px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.blog-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-3); }
.blog-card h3 { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.35; transition: color 0.2s; flex: 1; }
.blog-card h3 a { color: inherit; }
.blog-card:hover h3 { color: var(--electric); }
.blog-card p { font-size: 0.825rem; color: var(--text-2); line-height: 1.6; }
.blog-more {
  font-family: var(--font-h);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--electric);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  transition: gap 0.2s;
}
.blog-more:hover { opacity: 0.8; }
.blog-cta { text-align: center; margin-top: 48px; }
.btn-blog {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--electric);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.2s;
}
.btn-blog:hover { background: rgba(56,189,248,0.15); border-color: rgba(56,189,248,0.35); }

/* ── CTA FINAL ──────────────────────────────────────────────────── */
#smtp-cta {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.cta-orb-1 {
  width: 600px; height: 400px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
}
.cta-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -60px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
}
.cta-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.cta-text h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-text h2 em {
  font-style: normal;
  background: var(--grad-text);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.cta-text p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; max-width: 500px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-shrink: 0; }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--blue);
  padding: 16px 32px;
  border-radius: 14px;
  transition: all 0.25s;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
  animation: glow-cycle 3s ease-in-out infinite;
}
.btn-cta-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 60px rgba(37,99,235,0.5); }
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wa);
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  padding: 14px 24px;
  border-radius: 14px;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-cta-wa:hover { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.4); transform: translateY(-2px); }
.cta-note { font-size: 0.78rem; color: var(--text-3); white-space: nowrap; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
#smtp-footer { background: rgba(0,0,0,0.3); border-top: 1px solid var(--border); }
.footer-top { padding: 80px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-logo {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--electric); }
.footer-brand p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: all 0.2s;
}
.social-icon:hover { background: rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.3); color: var(--text); transform: translateY(-2px); }
.social-wa:hover { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); }
.footer-col h4 { font-family: var(--font-h); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem; color: var(--text-2);
  transition: color 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before { content: '›'; color: var(--border2); }
.footer-col ul li a:hover { color: var(--electric); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fc-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text-2); line-height: 1.4; }
.fc-item svg { color: var(--electric); flex-shrink: 0; margin-top: 1px; }
.fc-item a:hover { color: var(--electric); }
.footer-infra { display: flex; align-items: center; gap: 8px; }
.footer-infra small { font-size: 0.72rem; color: var(--text-3); }
.zgh-badge {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--electric);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 3px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}
.zgh-badge:hover { background: rgba(56,189,248,0.2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-3); transition: color 0.15s; }
.footer-legal a:hover { color: var(--electric); }

/* WhatsApp float: manejado por plugin instalado */

/* ── MAGNETIC ────────────────────────────────────────────────────── */
[data-magnetic] { display: inline-flex; }

/* ── PÁGINAS INTERNAS ───────────────────────────────────────────── */
body.smtp-inner {
  background: var(--bg);
  color: var(--text);
  padding-top: 80px; /* compensar header fixed */
}
.smtp-page-body {
  min-height: 60vh;
  background: var(--bg);
}
.smtp-page-content {
  /* Dejar que el contenido Muffin Builder ocupe todo el ancho */
  width: 100%;
}
/* Asegurar que el texto de BeTheme sea legible sobre fondo oscuro */
body.smtp-inner .mfn-content,
body.smtp-inner .section,
body.smtp-inner .wrap {
  color: var(--text);
}

/* ── BLOG SINGLE POST ───────────────────────────────────────────── */
.smtp-single-wrap {
  padding: 60px 0 80px;
}
.smtp-single-post {
  max-width: 760px;
  margin: 0 auto;
}
.smtp-post-header {
  margin-bottom: 32px;
}
.smtp-post-cat {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.smtp-post-title {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 16px;
}
.smtp-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-3);
}
.smtp-post-thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 36px;
}
.smtp-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.smtp-post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-2);
}
.smtp-post-content h2,
.smtp-post-content h3,
.smtp-post-content h4 {
  font-family: var(--font-h);
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.smtp-post-content p { margin-bottom: 1.2rem; }
.smtp-post-content a { color: var(--electric); }
.smtp-post-content a:hover { color: var(--blue); }
.smtp-post-content pre,
.smtp-post-content code {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-size: 0.9em;
  color: var(--electric);
}
.smtp-post-content pre {
  padding: 16px;
  overflow-x: auto;
}
.smtp-post-content blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-2);
  font-style: italic;
}
.smtp-post-content ul,
.smtp-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.smtp-post-content li { margin-bottom: 0.4rem; }
.smtp-post-content img {
  max-width: 100%;
  border-radius: var(--r-sm);
}
.smtp-post-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.smtp-back-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--electric);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.smtp-back-blog:hover { color: var(--blue); }

/* nav link active state */
.nav-link.active {
  color: var(--electric) !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-text p { margin-inline: auto; }
  .cta-actions { align-items: center; }
  .planes-grid { grid-template-columns: 1fr 1fr; }
  .proceso-timeline { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proceso-connector { display: none; }
  .porque-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .btn-nav-ghost { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-hero-primary,
  .hero-actions .btn-hero-wa { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hstat-sep { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: 1fr; }
  .proceso-timeline { grid-template-columns: 1fr; gap: 12px; }
  .trust-badges-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section-head { margin-bottom: 40px; }
  #smtp-servicios,
  #smtp-porque,
  #smtp-planes,
  #smtp-proceso,
  #smtp-blog,
  #smtp-cta { padding: 72px 0; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .stat-item { padding: 28px 12px; }
  .stat-num { font-size: 2rem; }
  .plan-card { padding: 28px 20px; }
  .plan-amount { font-size: 2.4rem; }
  .svc-card { padding: 24px 20px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:last-child { grid-column: 1/-1; }
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
#smtp-faq {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(37,99,235,0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--surface2); }
.faq-icon {
  flex-shrink: 0;
  color: var(--electric);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}
.faq-a strong { color: var(--text); }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  #smtp-faq { padding: 72px 0; }
}

/* ── FOCUS / ACCESSIBILITY ──────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .h1-line { animation: none; opacity: 1; clip-path: none; transform: none; }
  .page-loader { display: none; }
}
