/* ===========================
   SECURALIX Landing (Brand 2.0)
   Brand colors (final):
   - Primary: #008FD7
   - Accent:  #0CD8E9
   - Dark:    #253A4F
   - Surface: #F8FAFC
   =========================== */

:root{
  --sx-primary: #008FD7;
  --sx-accent:  #0CD8E9;
  --sx-dark:    #253A4F;
  --sx-surface: #F8FAFC;

  --sx-text: #0b1220;
  --sx-muted: #5b667a;
  --sx-border: #e6edf7;

  --sx-radius: 16px;
  --sx-radius-lg: 22px;

  --sx-shadow: 0 14px 40px rgba(37,58,79,.12);
  --sx-shadow-soft: 0 10px 26px rgba(37,58,79,.10);

  --sx-motion-fast: 200ms;
  --sx-motion-base: 480ms;
  --sx-motion-slow: 900ms;
  --sx-stagger: 80ms;
  --sx-ease-out: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--sx-text);
  background: #ffffff;
  line-height:1.5;
}

body.sx-modal-lock{
  overflow: hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top:0;
  z-index: 20;
  border-bottom: 1px solid rgba(230,237,247,.85);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

/* Logo SOLO */
.brand{
  display:flex;
  align-items:center;
  min-width: 220px;
}
.brand-mark{
  width: 170px;
  height: 44px;
  object-fit: contain;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  font-weight: 600;
  color: var(--sx-dark);
  opacity: .9;
}
.nav a:hover{ opacity: 1; }

.nav-toggle{
  display:none;
  border: 1px solid var(--sx-border);
  background:#fff;
  border-radius: 12px;
  padding: 10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--sx-dark);
  margin: 3px 0;
  border-radius: 2px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--sx-motion-fast) var(--sx-ease-out),
    box-shadow var(--sx-motion-fast) var(--sx-ease-out),
    background var(--sx-motion-fast) var(--sx-ease-out),
    border-color var(--sx-motion-fast) var(--sx-ease-out),
    opacity var(--sx-motion-fast) var(--sx-ease-out);
  user-select:none;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--sx-primary), var(--sx-accent));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,143,215,.24);
}
.btn-primary:hover{
  box-shadow: 0 16px 34px rgba(0,143,215,.30);
  text-decoration:none;
}

.btn-dark{
  background: #0b1220;
  color: #fff;
}
.btn-dark:hover{ text-decoration:none; }

.btn-outline{
  background: #fff;
  border-color: var(--sx-border);
}
.btn-outline:hover{
  border-color: rgba(0,143,215,.35);
  box-shadow: var(--sx-shadow-soft);
  text-decoration:none;
}

.btn-ghost{
  background: rgba(248,250,252,.75);
  border-color: rgba(230,237,247,.95);
}
.btn-ghost:hover{
  border-color: rgba(0,143,215,.30);
  box-shadow: var(--sx-shadow-soft);
  text-decoration:none;
}

.btn-wide{ width: 100%; }

/* HERO */
.hero{
  position: relative;
  overflow: hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 25%, rgba(0,143,215,.18), transparent 60%),
    radial-gradient(780px 380px at 70% 20%, rgba(12,216,233,.12), transparent 62%),
    radial-gradient(650px 340px at 10% 70%, rgba(37,58,79,.10), transparent 65%),
    linear-gradient(180deg, #ffffff, #ffffff);
  pointer-events:none;
}

.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  padding: 54px 0 28px;
  align-items: start;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.22);
  color: rgba(37,58,79,.95);
  font-weight: 700;
}
.pill .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sx-accent);
  box-shadow: 0 0 0 4px rgba(12,216,233,.20);
}

.hero h1{
  margin: 16px 0 12px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sx-dark);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
}

.lead{
  margin: 0 0 16px;
  color: var(--sx-muted);
  font-size: 18px;
  max-width: 62ch;
}

/* Bullets */
.hero-bullets{
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.hero-bullets li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(230,237,247,.95);
}
.hero-bullets .check{
  width: 26px;
  height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,143,215,.12);
  border: 1px solid rgba(0,143,215,.25);
  color: var(--sx-primary);
  font-weight: 900;
  flex: 0 0 26px;
}
.hero-bullets span{
  color: var(--sx-dark);
  font-weight: 600;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 12px;
}

.beta-note{
  display:flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0,143,215,.28);
  background: rgba(0,143,215,.06);
  color: rgba(37,58,79,.88);
  font-weight: 600;
}
.beta-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(12,216,233,.14);
  border: 1px solid rgba(12,216,233,.28);
  color: var(--sx-dark);
  white-space: nowrap;
}

/* Hero Card */
.hero-card .card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow);
  padding: 18px;
}

.card-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(37,58,79,.60);
}

.card-score{
  display:flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.score{
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--sx-primary);
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}
.badge-ok{
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.20);
  color: var(--sx-primary);
}

.ring{
  width: 52px; height: 52px;
  border-radius: 50%;
  background:
    conic-gradient(var(--sx-primary) 0 72deg, rgba(230,237,247,1) 72deg 360deg);
  box-shadow: 0 10px 22px rgba(0,143,215,.14);
  border: 6px solid rgba(255,255,255,.96);
}

.mini-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 14px;
}
.mini{
  border-radius: 16px;
  border: 1px solid rgba(230,237,247,.95);
  background: rgba(248,250,252,.94);
  padding: 12px;
}
.mini-title{
  color: rgba(37,58,79,.78);
  font-weight: 800;
  font-size: 13px;
}
.mini-val{
  margin-top: 4px;
  font-weight: 900;
  color: var(--sx-dark);
  font-size: 18px;
}

.actions-box{
  margin: 10px 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(230,237,247,.95);
  background: rgba(248,250,252,.92);
  padding: 12px;
}
.actions-title{
  font-weight: 900;
  color: rgba(37,58,79,.92);
  margin-bottom: 8px;
}
.actions-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(37,58,79,.85);
  font-weight: 600;
}
.actions-list li{ margin: 6px 0; }
.actions-foot{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.18);
  color: rgba(37,58,79,.92);
}

/* Sections */
.section{ padding: 56px 0; }
.section-soft{
  background: linear-gradient(180deg, rgba(248,250,252,.90), #ffffff);
  border-top: 1px solid rgba(230,237,247,.95);
  border-bottom: 1px solid rgba(230,237,247,.95);
}

.section-head{ margin-bottom: 22px; }
.section-head h2{
  margin: 0 0 8px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
  font-size: 34px;
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0;
  color: var(--sx-muted);
  font-size: 16px;
}

/* Product screenshot block */
.product-shot{
  padding-top: 40px;
  background:
    radial-gradient(920px 280px at 50% -20%, rgba(12,216,233,.07), transparent 72%),
    linear-gradient(180deg, rgba(7,14,26,.03), transparent 42%);
}

.product-shot-head{
  margin-bottom: 18px;
}

.product-shot-eyebrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12,216,233,.32);
  background: rgba(12,216,233,.10);
  color: var(--sx-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-shot-frame{
  margin: 0;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(12,216,233,.30);
  background:
    linear-gradient(155deg, rgba(11,26,44,.94), rgba(8,16,30,.95)),
    linear-gradient(90deg, rgba(12,216,233,.12), rgba(0,143,215,.08));
  box-shadow: var(--sx-shadow-dark);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-shot-frame:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0,0,0,.42);
  border-color: rgba(12,216,233,.42);
}

.product-shot-open{
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.product-shot-open:focus-visible{
  outline: 2px solid rgba(12,216,233,.72);
  outline-offset: 3px;
}

.product-shot-image{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(230,237,247,.24);
  transition: opacity .32s var(--sx-ease-out), filter .32s var(--sx-ease-out), transform .32s var(--sx-ease-out);
}

.product-shot-image.is-changing{
  opacity: .46;
  filter: saturate(.92) contrast(.96);
  transform: scale(1.004);
}

.product-shot-actions{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* Modal */
.sx-modal[hidden]{
  display: none;
}

.sx-modal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.sx-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(7,14,26,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s ease;
}

.sx-modal-dialog{
  position: relative;
  width: min(1220px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 20px;
  border: 1px solid rgba(12,216,233,.28);
  background: linear-gradient(165deg, #0d1f35, #0a182a);
  box-shadow: 0 22px 62px rgba(0,0,0,.48);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .22s ease, transform .22s ease;
}

.sx-modal.is-open .sx-modal-backdrop{
  opacity: 1;
}

.sx-modal.is-open .sx-modal-dialog{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sx-modal-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.sx-modal-head h3{
  margin: 0;
  color: #ffffff;
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.sx-gallery-counter{
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.78);
}

.sx-modal-close{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sx-modal-close:hover{
  background: rgba(255,255,255,.16);
}

.sx-modal-body{
  overflow: auto;
  padding: 12px;
}

.sx-gallery{
  display: grid;
  gap: 12px;
}

.sx-gallery-stage{
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sx-gallery-main{
  display: block;
  width: 100%;
}

.sx-gallery-main img{
  width: 100%;
  max-height: min(72vh, 780px);
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
}

.sx-gallery-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 12px;
  background: rgba(7,14,26,.58);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.sx-gallery-prev{
  left: 10px;
}

.sx-gallery-next{
  right: 10px;
}

.sx-gallery-nav:hover{
  background: rgba(7,14,26,.78);
  border-color: rgba(12,216,233,.58);
}

.sx-gallery-nav:focus-visible{
  outline: 2px solid rgba(12,216,233,.72);
  outline-offset: 2px;
}

.sx-gallery-thumbs{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.sx-gallery-thumb{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sx-gallery-thumb img{
  display: block;
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.12);
}

.sx-gallery-thumb:hover{
  border-color: rgba(12,216,233,.44);
  transform: translateY(-1px);
}

.sx-gallery-thumb.is-active{
  border-color: rgba(12,216,233,.72);
  box-shadow: 0 0 0 1px rgba(12,216,233,.42), 0 8px 20px rgba(0,143,215,.24);
}

.sx-gallery-thumb:focus-visible{
  outline: 2px solid rgba(12,216,233,.72);
  outline-offset: 2px;
}

/* Value props */
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.value{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  padding: 18px;
  box-shadow: var(--sx-shadow-soft);
}
.value h3{
  margin: 0 0 8px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.value p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

/* Packages */
.packages-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.package{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-soft);
  padding: 18px;
  position: relative;
}
.package-top h3{
  margin: 8px 0 6px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.package-top p{
  margin: 0 0 12px;
  color: var(--sx-muted);
  font-weight: 500;
}
.package-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.20);
  color: var(--sx-dark);
}
.badge-featured{
  background: rgba(12,216,233,.14);
  border-color: rgba(12,216,233,.28);
}
.package-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

/* Services band */
.services-band{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--sx-radius-lg);
  border: 1px solid rgba(0,143,215,.18);
  background: rgba(248,250,252,.92);
  box-shadow: var(--sx-shadow-soft);
}
.services-band h3{
  margin: 0 0 6px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.services-band p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}
.services-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Impact */
.impact-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.impact{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-soft);
  padding: 18px;
}
.impact-top{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}
.impact .icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow: hidden;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.22);
  color: var(--sx-primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
  transition: transform var(--sx-motion-fast) var(--sx-ease-out), box-shadow var(--sx-motion-fast) var(--sx-ease-out), border-color var(--sx-motion-fast) var(--sx-ease-out);
}
.impact .icon::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120px circle at 18% 20%, rgba(12,216,233,.24), transparent 62%);
  opacity: .85;
}
.impact .icon svg{
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.impact:hover .icon{
  transform: translateY(-1px);
  border-color: rgba(0,143,215,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.52), 0 8px 20px rgba(0,143,215,.16);
}
.impact h3{
  margin: 0;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.impact p{
  margin: 0 0 10px;
  color: var(--sx-muted);
  font-weight: 500;
}
.impact-bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(37,58,79,.84);
  font-weight: 600;
}
.impact-bullets li{ margin: 6px 0; }

/* Cover grid */
.cover-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cover{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  padding: 18px;
  box-shadow: var(--sx-shadow-soft);
}
.cover h3{
  margin: 0 0 8px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.cover p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-soft);
  padding: 18px;
}
.step-n{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.22);
  color: var(--sx-primary);
  margin-bottom: 10px;
}
.step h3{
  margin: 0 0 6px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.step p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

/* CTA band */
.cta-band{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--sx-radius-lg);
  border: 1px solid rgba(0,143,215,.20);
  background: linear-gradient(135deg, rgba(0,143,215,.10), rgba(12,216,233,.08));
  box-shadow: var(--sx-shadow-soft);
}
.cta-band h3{
  margin: 0 0 4px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.cta-band p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

/* Contact */
.contact-wrap{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-soft);
  padding: 18px;
}
.contact-copy h2{
  margin: 0 0 8px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  color: var(--sx-dark);
}
.contact-copy p{
  margin: 0 0 14px;
  color: var(--sx-muted);
  font-weight: 500;
}
.contact-email{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.contact-email .label{
  display:block;
  color: rgba(37,58,79,.65);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.contact-email a{
  font-weight: 800;
  color: var(--sx-primary);
}

.contact-form{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: 18px;
  padding: 16px;
}
.contact-form label{ display:block; margin-bottom: 12px; }
.contact-form span{
  display:block;
  font-weight: 800;
  color: rgba(37,58,79,.78);
  margin-bottom: 6px;
  font-size: 13px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(230,237,247,.95);
  background: rgba(248,250,252,.70);
  outline: none;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(0,143,215,.35);
  box-shadow: 0 0 0 4px rgba(0,143,215,.14);
  background: #fff;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.notice{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: transparent;
  min-height: 0;
}
.notice-success{
  border-color: rgba(0,143,215,.25);
  background: rgba(0,143,215,.10);
  color: var(--sx-primary);
}
.notice-error{
  border-color: rgba(239,68,68,.25);
  background: rgba(239,68,68,.08);
  color: #7a1020;
}

/* Footer */
.site-footer{
  border-top: 1px solid rgba(230,237,247,.95);
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.brand-mini{
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 800;
  color: var(--sx-dark);
}
.sep{ color: rgba(37,58,79,.35); margin: 0 8px; }
.footer-right a{
  color: rgba(37,58,79,.78);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; padding-top: 34px; }
  .impact-3{ grid-template-columns: 1fr; }
  .cover-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction: column; align-items: flex-start; }
  .packages-grid{ grid-template-columns: 1fr; }
  .services-band{ flex-direction: column; align-items: flex-start; }
  .services-tags{ justify-content: flex-start; }
  .product-shot-actions{ justify-content: flex-start; }
}

/* Mobile nav + logo size */
@media (max-width: 720px){
  .nav{ display:none; }
  .nav.open{
    display:flex;
    position:absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(230,237,247,.95);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--sx-shadow);
  }
  .nav-toggle{ display:block; }
  .grid-2{ grid-template-columns: 1fr; }
  .score{ font-size: 40px; }

  .brand{ min-width: auto; }
  .brand-mark{ width: 150px; height: 40px; }
  .product-shot{ padding-top: 24px; }
  .product-shot-frame{ padding: 10px; border-radius: 18px; }
  .product-shot-image{ border-radius: 10px; }
  .product-shot-actions .btn{ width: 100%; }
  .sx-modal{ padding: 10px; }
  .sx-modal-dialog{
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    border-radius: 14px;
  }
  .sx-modal-head{
    padding: 10px 12px;
  }
  .sx-modal-head h3{
    font-size: 16px;
  }
  .sx-gallery-counter{
    font-size: 12px;
  }
  .sx-modal-body{
    padding: 8px;
  }
  .sx-gallery-stage{
    min-height: 220px;
  }
  .sx-gallery-nav{
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .sx-gallery-prev{
    left: 6px;
  }
  .sx-gallery-next{
    right: 6px;
  }
  .sx-gallery-thumbs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .sx-gallery-thumb{
    flex: 0 0 96px;
  }
  .sx-gallery-thumb img{
    height: 62px;
  }
}

/* ===== Paquetes: mejoras de visibilidad + 3 columnas ===== */

.packages-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.package-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(0,143,215,.14);
  border: 1px solid rgba(0,143,215,.28);
  color: var(--sx-dark);
}

.badge-featured{
  background: linear-gradient(135deg, rgba(0,143,215,.18), rgba(12,216,233,.18));
  border-color: rgba(12,216,233,.34);
}

/* Responsive: 2 columnas en tablet, 1 en móvil */
@media (max-width: 1100px){
  .packages-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px){
  .packages-grid{ grid-template-columns: 1fr; }
}
/* =========================
   PAQUETES — Ajustes visuales
   ========================= */

/* Más aire general en la sección */
#paquetes .section-head{ margin-bottom: 26px; }
#paquetes .section-head p{ max-width: 78ch; }

/* Grid consistente */
.packages-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* Card más “premium” y con separación clara */
.package{
  background: #fff;
  border: 1px solid rgba(230,237,247,.95);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow-soft);
  padding: 18px;
  display:flex;
  flex-direction: column;
  min-height: 100%;
}

/* Header del paquete con separación */
.package-top{
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(230,237,247,.90);
}
.package-top h3{
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.15;
}
.package-top p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

/* Badge MUCHO más visible */
.package-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(0,143,215,.14);
  border: 1px solid rgba(0,143,215,.30);
  color: var(--sx-dark);
}

/* Featured: resalta como “suscripción recomendada” */
.package-featured{
  border-color: rgba(0,143,215,.35);
  box-shadow: 0 18px 56px rgba(0,143,215,.18);
  transform: translateY(-2px);
}
.package-featured .package-badge{
  background: linear-gradient(135deg, rgba(0,143,215,.18), rgba(12,216,233,.18));
  border-color: rgba(12,216,233,.36);
}

/* Lista más compacta y legible */
.package-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.package-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(230,237,247,.95);
}
.package-list .check{
  width: 26px;
  height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,143,215,.12);
  border: 1px solid rgba(0,143,215,.25);
  color: var(--sx-primary);
  font-weight: 900;
  flex: 0 0 26px;
}
.package-list span{
  color: var(--sx-dark);
  font-weight: 600;
}

/* Tags: que no se peguen y tengan aire */
.package-foot{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.package-foot .tag{
  padding: 7px 11px;
  border-radius: 999px;
}

/* CTA del paquete: siempre abajo y con separación */
.package .btn-wide{
  margin-top: auto;       /* empuja el botón al fondo */
}
.package a.btn-wide{
  margin-top: 16px;       /* separación del contenido */
}

/* Evita que el CTA se “pegue” a la siguiente sección */
#paquetes{
  padding-bottom: 64px;
}

/* Services band: margen superior más claro */
.services-band{
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1100px){
  .packages-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px){
  .packages-grid{ grid-template-columns: 1fr; }
  .package-featured{ transform: none; }
}

/* ===========================
   QUÉ INCLUYE — versión más visual (solo #cubre)
   =========================== */
.cover-grid-plus .cover-plus{
  position: relative;
  overflow: hidden;
}

.cover-grid-plus .cover-plus::before{
  content:"";
  position:absolute;
  inset:-1px -1px auto -1px;
  height: 6px;
  background: linear-gradient(90deg, rgba(0,143,215,.55), rgba(12,216,233,.45));
  opacity: .9;
}

.cover-top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.cover-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  font-weight: 900;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.22);
  box-shadow: 0 10px 22px rgba(0,143,215,.10);
  flex: 0 0 44px;
}

.cover-top-copy h3{
  margin: 0 0 6px;
}

.cover-top-copy p{
  margin: 0;
  color: var(--sx-muted);
  font-weight: 500;
}

.cover-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.cover-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(230,237,247,.95);
}

.cover-check{
  width: 26px;
  height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,143,215,.12);
  border: 1px solid rgba(0,143,215,.25);
  color: var(--sx-primary);
  font-weight: 900;
  flex: 0 0 26px;
  margin-top: 1px;
}

.cover-chips{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: rgba(0,143,215,.10);
  border: 1px solid rgba(0,143,215,.18);
  color: rgba(37,58,79,.92);
}

.chip-strong{
  background: rgba(12,216,233,.14);
  border-color: rgba(12,216,233,.28);
}

.cover-list-compact{
  gap: 8px;
}

.cover-list-compact li{
  padding: 9px 12px;
}

/* Ajustes responsive: mantenemos 1 columna en <=980 como ya hace la web */
@media (max-width: 980px){
  .cover-grid-plus{ grid-template-columns: 1fr; }
}

/* ===================================================
   BRAND 2.1 — VISUAL OVERHAUL
   Hero oscuro · Animaciones · Header adaptativo
   Secciones mejoradas · Footer oscuro
   =================================================== */

/* --- Nuevas variables --- */
:root {
  --sx-deep:          #070e1a;
  --sx-deep-mid:      #0d1f35;
  --sx-deep-surface:  #112844;

  --sx-glass-bg:      rgba(10,25,50,0.55);
  --sx-glass-border:  rgba(12,216,233,0.18);

  --sx-shadow-glow:   0 0 32px rgba(0,143,215,0.30);
  --sx-shadow-hover:  0 22px 54px rgba(37,58,79,0.20);
  --sx-shadow-dark:   0 20px 48px rgba(0,0,0,0.45);

  --sx-h1-size:       clamp(42px, 5.5vw, 72px);
  --sx-h2-size:       clamp(30px, 3.5vw, 42px);
}

/* --- Keyframes --- */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 4px rgba(12,216,233,0.22); }
  50%       { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(12,216,233,0.08); }
}

@keyframes orb-drift {
  from { transform: translateX(-16px) translateY(-12px) scale(0.97); }
  to   { transform: translateX(16px)  translateY(12px)  scale(1.03); }
}

@keyframes float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-4px); }
}

@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);     }
}

@keyframes sx-scanline {
  0%   { transform: translateY(-125%); opacity: 0; }
  12%  { opacity: .22; }
  70%  { opacity: .16; }
  100% { transform: translateY(125%); opacity: 0; }
}

@keyframes sx-glow-breathe {
  0%, 100% { opacity: .38; box-shadow: 0 0 0 rgba(12,216,233,0); }
  50%      { opacity: .68; box-shadow: 0 0 12px rgba(12,216,233,.20); }
}

@keyframes sx-float-card {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@keyframes sx-shimmer-sweep {
  0%   { transform: translateX(-140%); }
  100% { transform: translateX(140%); }
}

/* ========================
   HERO — DARK TRANSFORMATION
   ======================== */

.hero {
  background: var(--sx-deep);
  overflow: hidden;
}

.hero-bg {
  background:
    radial-gradient(ellipse 700px 600px at 78% 28%, rgba(12,216,233,0.10), transparent 65%),
    radial-gradient(ellipse 800px 700px at 15% 65%, rgba(0,143,215,0.14), transparent 65%),
    radial-gradient(ellipse 500px 400px at 88% 85%, rgba(0,143,215,0.07), transparent 60%),
    radial-gradient(ellipse 400px 350px at 5%  15%, rgba(12,216,233,0.06), transparent 60%),
    linear-gradient(160deg, var(--sx-deep) 0%, var(--sx-deep-mid) 55%, var(--sx-deep-surface) 100%);
}

/* Dot grid overlay */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12,216,233,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -35% 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(12,216,233,.10) 44%,
    rgba(12,216,233,.20) 50%,
    rgba(12,216,233,.10) 56%,
    transparent 100%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .18;
  animation: sx-scanline 12s linear infinite;
}

/* White diagonal transition at hero bottom */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: #ffffff;
  clip-path: polygon(0 55%, 100% 0%, 100% 100%, 0 100%);
  z-index: 1;
}

/* Soft separator above diagonal (without hard neon line) */
.hero::before {
  content: "";
  position: absolute;
  bottom: 52px;
  left: 0;
  right: 0;
  height: 14px;
  background: radial-gradient(65% 100% at 50% 100%, rgba(12,216,233,0.18), transparent 72%);
  filter: blur(6px);
  z-index: 2;
  opacity: 0.42;
}

/* Extra padding so content clears the diagonal cut */
.hero-grid {
  padding-bottom: 100px;
  position: relative;
  z-index: 3;
}

/* Animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 420px;
  top: -8%; right: 5%;
  background: radial-gradient(circle, rgba(0,143,215,0.28) 0%, rgba(12,216,233,0.10) 55%, transparent 75%);
  animation: orb-drift 20s ease-in-out infinite alternate, sx-glow-breathe 8s ease-in-out infinite;
}
.orb-2 {
  width: 580px; height: 460px;
  bottom: 15%; left: -6%;
  background: radial-gradient(circle, rgba(12,216,233,0.16) 0%, rgba(0,143,215,0.08) 55%, transparent 75%);
  animation: orb-drift 24s ease-in-out infinite alternate-reverse, sx-glow-breathe 9s ease-in-out infinite;
}

/* Gradient text classes */
.h1-accent {
  background: linear-gradient(90deg, var(--sx-accent), var(--sx-primary), var(--sx-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
.h2-accent {
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero typography on dark */
.hero h1 {
  color: #ffffff;
  font-size: var(--sx-h1-size);
}
.hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 19px;
}

/* Pill on dark */
.hero .pill {
  background: rgba(12,216,233,0.12);
  border-color: rgba(12,216,233,0.30);
  color: rgba(255,255,255,0.92);
}
.hero .pill .dot {
  background: var(--sx-accent);
  box-shadow: 0 0 0 4px rgba(12,216,233,0.22);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

/* Hero bullets on dark */
.hero .hero-bullets li {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
.hero .hero-bullets span { color: rgba(255,255,255,0.88); }
.hero .hero-bullets .check {
  background: rgba(12,216,233,0.18);
  border-color: rgba(12,216,233,0.35);
  color: var(--sx-accent);
}

/* Beta note on dark */
.hero .beta-note {
  background: rgba(12,216,233,0.07);
  border-color: rgba(12,216,233,0.22);
  color: rgba(255,255,255,0.76);
}
.hero .beta-badge {
  background: rgba(12,216,233,0.18);
  border-color: rgba(12,216,233,0.35);
  color: #ffffff;
}

/* Buttons on dark hero */
.hero .hero-actions .btn-primary {
  padding: 15px 28px;
  font-size: 16px;
}
.hero .hero-actions .btn-primary:hover {
  box-shadow: 0 0 18px rgba(12,216,233,0.34), 0 12px 28px rgba(0,143,215,0.26);
}
.hero .hero-actions .btn-ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}
.hero .hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.38);
  text-decoration: none;
}

/* ========================
   HERO CARD — GLASSMORPHISM
   ======================== */
.hero-card .card {
  background: var(--sx-glass-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--sx-glass-border);
  box-shadow: var(--sx-shadow-dark);
  position: relative;
  overflow: hidden;
  animation: sx-float-card 10.5s ease-in-out infinite;
}
.hero-card .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(12,216,233,.26);
  pointer-events: none;
  animation: sx-glow-breathe 6.2s ease-in-out infinite;
}
.hero-card .card-label   { color: rgba(255,255,255,0.48); }
.hero-card .card-top { align-items: center; }
.hero-card .card-top > div:first-child { min-width: 0; flex: 1 1 auto; }
.hero-card .card-score  { flex-wrap: wrap; row-gap: 8px; }
.hero-card .score       {
  color: var(--sx-accent);
  text-shadow: 0 0 8px rgba(12,216,233,0.22);
  font-size: clamp(25px, 2.1vw, 31px);
  line-height: 1.05;
}
.hero-card .card-subline {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.74);
  font-size: 14px;
  line-height: 1.35;
}
.hero-card .badge-ok {
  background: rgba(12,216,233,0.18);
  border-color: rgba(12,216,233,0.35);
  color: var(--sx-accent);
  white-space: nowrap;
  font-size: 13px;
}
.hero-card .hero-signal {
  position: relative;
  flex: 0 0 118px;
  width: 118px;
  min-height: 74px;
  border-radius: 14px;
  margin-left: 10px;
  margin-right: 4px;
  border: 1px solid rgba(12,216,233,0.30);
  background:
    linear-gradient(160deg, rgba(12,216,233,0.18), rgba(10,20,38,0.74) 58%),
    rgba(7,18,35,0.86);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 14px rgba(12,216,233,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 8px;
}
.hero-card .hero-signal-val {
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}
.hero-card .hero-signal-lbl {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 520px) {
  .hero-card .score {
    font-size: 24px;
  }
  .hero-card .hero-signal {
    margin-left: 8px;
    margin-right: 0;
    flex-basis: 104px;
    width: 104px;
    min-height: 68px;
  }
  .hero-card .badge-ok {
    font-size: 12px;
  }
}
.hero-card .mini {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
.hero-card .mini-title { color: rgba(255,255,255,0.52); }
.hero-card .mini-val   { color: rgba(255,255,255,0.92); }
.hero-card .actions-box {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
.hero-card .actions-title { color: rgba(255,255,255,0.90); }
.hero-card .actions-list  { color: rgba(255,255,255,0.76); }
.hero-card .tag {
  background: rgba(12,216,233,0.12);
  border-color: rgba(12,216,233,0.22);
  color: rgba(255,255,255,0.85);
}
/* CTA card button: gradient glowing */
.hero-card .btn-dark {
  background: linear-gradient(135deg, var(--sx-primary), var(--sx-accent));
  color: #ffffff;
  box-shadow: var(--sx-shadow-glow);
}
.hero-card .btn-dark:hover {
  box-shadow: 0 0 16px rgba(12,216,233,0.34), 0 12px 28px rgba(0,143,215,0.24);
  text-decoration: none;
}

.sx-fx-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sx-fx-shimmer::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255,255,255,.08) 34%,
    rgba(255,255,255,.42) 48%,
    rgba(255,255,255,.08) 62%,
    transparent 80%
  );
  transform: translateX(-140%);
  opacity: .52;
}
.sx-fx-shimmer:hover::after,
.sx-fx-shimmer:focus-visible::after {
  animation: sx-shimmer-sweep 780ms var(--sx-ease-out) 1;
}

.sx-float {
  animation: sx-float-card 10.5s ease-in-out infinite;
}

.sx-tilt {
  transform-style: preserve-3d;
  transition: transform var(--sx-motion-fast) var(--sx-ease-out), box-shadow var(--sx-motion-fast) var(--sx-ease-out);
}

/* ========================
   HEADER ADAPTATIVO
   (transparent → .scrolled)
   ======================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230,237,247,0.85);
  box-shadow: 0 2px 16px rgba(37,58,79,0.08);
}

/* Nav links blancos sobre hero oscuro */
.nav a:not(.btn) {
  color: rgba(255,255,255,0.88);
  position: relative;
  padding-bottom: 3px;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-accent));
  border-radius: 2px;
  transition: width .25s ease;
}
.nav a:not(.btn):hover { opacity: 1; text-decoration: none; }
.nav a:not(.btn):hover::after { width: 100%; }

.site-header.scrolled .nav a:not(.btn) { color: var(--sx-dark); }

/* Logo blanco sobre dark → color al scrolled */
.brand-mark {
  filter: none;
  transition: filter .3s ease, opacity .3s ease;
}
.site-header.scrolled .brand-mark { filter: none; }

/* Botón "Pedir demo" en nav sobre dark */
.site-header .btn-outline {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
  color: #ffffff;
}
.site-header .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.50);
  box-shadow: none;
  text-decoration: none;
}
.site-header.scrolled .btn-outline {
  background: #ffffff;
  border-color: var(--sx-border);
  color: var(--sx-text);
}
.site-header.scrolled .btn-outline:hover {
  border-color: rgba(0,143,215,0.35);
  box-shadow: var(--sx-shadow-soft);
}

/* Hamburger sobre dark */
.nav-toggle {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.nav-toggle span { background: rgba(255,255,255,0.88); }
.site-header.scrolled .nav-toggle { border-color: var(--sx-border); background: #fff; }
.site-header.scrolled .nav-toggle span { background: var(--sx-dark); }

/* Header fijo: compensar altura para que el hero no quede tapado */
.hero-grid {
  padding-top: 118px;
}

/* Nav móvil: oscuro cuando header no está scrolled */
@media (max-width: 720px) {
  .site-header:not(.scrolled) .nav.open {
    background: rgba(7,14,26,0.97);
    border-color: rgba(12,216,233,0.18);
  }
  .site-header:not(.scrolled) .nav.open a:not(.btn) {
    color: rgba(255,255,255,0.88);
  }
  .site-header:not(.scrolled) .nav.open .btn-outline {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.28);
    color: #ffffff;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    padding-top: 104px;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    padding-top: 94px;
  }
}

/* ========================
   SECCIONES — MEJORAS
   ======================== */
.section { padding: 80px 0; }

.section-head h2 { font-size: var(--sx-h2-size); }

/* Hover universal en tarjetas */
.value, .impact, .cover, .step { transition: transform var(--sx-motion-fast) var(--sx-ease-out), box-shadow var(--sx-motion-fast) var(--sx-ease-out); }
.package { transition: transform var(--sx-motion-fast) var(--sx-ease-out), box-shadow var(--sx-motion-fast) var(--sx-ease-out); }

.value:hover, .impact:hover, .cover:hover, .step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sx-shadow-hover), 0 0 0 1px rgba(0,143,215,0.10);
}
.package:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(37,58,79,0.18), 0 0 0 1px rgba(0,143,215,0.12);
}

/* Cover icon gradient */
.cover-ico {
  background: linear-gradient(135deg, rgba(0,143,215,0.18), rgba(12,216,233,0.12));
  border: 1px solid rgba(12,216,233,0.25);
  box-shadow: 0 8px 18px rgba(0,143,215,0.13);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cover-plus:hover .cover-ico {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(12,216,233,0.28);
}

/* Barra superior de cover cards: más brillante */
.cover-grid-plus .cover-plus::before {
  height: 5px;
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-accent));
  opacity: 1;
}

/* Step numbers: gradiente + flotación */
.step-n {
  background: linear-gradient(135deg, var(--sx-primary), var(--sx-accent));
  color: #ffffff;
  border: none;
  box-shadow: var(--sx-shadow-glow);
  animation: float 7.5s ease-in-out infinite;
}
.steps .step:nth-child(1) .step-n { animation-delay: 0s;   }
.steps .step:nth-child(2) .step-n { animation-delay: 0.5s; }
.steps .step:nth-child(3) .step-n { animation-delay: 1s; }

/* CTA band oscura */
.cta-band {
  background: linear-gradient(135deg, var(--sx-deep) 0%, var(--sx-deep-mid) 60%, rgba(0,143,215,0.20) 100%);
  border-color: rgba(12,216,233,0.20);
  padding: 28px 32px;
}
.cta-band h3 { color: #ffffff; }
.cta-band p  { color: rgba(255,255,255,0.68); }
.cta-band .btn-primary {
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: var(--sx-shadow-glow);
}
.cta-band .btn-primary:hover {
  box-shadow: 0 0 16px rgba(12,216,233,0.34), 0 12px 28px rgba(0,143,215,0.26);
}

/* Section soft: más azulado */
.section-soft {
  background: linear-gradient(180deg, #eef5fd, #ffffff);
  border-top: 1px solid rgba(230,237,247,0.95);
  border-bottom: 1px solid rgba(230,237,247,0.95);
}

/* Contact section accent */
#contactar .contact-wrap {
  background: linear-gradient(135deg, rgba(0,143,215,0.05), rgba(12,216,233,0.03));
  border-color: rgba(0,143,215,0.16);
}

/* ========================
   FOOTER OSCURO
   ======================== */
.site-footer {
  background: var(--sx-deep);
  border-top: none;
  padding: 0;
}
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sx-accent), var(--sx-primary), var(--sx-accent), transparent);
}
.footer-inner {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 28px 0;
}
.brand-mini           { color: #ffffff; }
.footer-inner .sep    { color: rgba(255,255,255,0.28); }
.footer-right a       { color: rgba(255,255,255,0.56); }
.footer-right a:hover { color: var(--sx-accent); text-decoration: none; }

/* ========================
   SISTEMA DE ANIMACIÓN (scroll)
   Cards inician invisibles; JS añade .sx-visible
   ======================== */
.value, .impact, .step, .cover-plus {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--sx-motion-base) var(--sx-ease-out), transform var(--sx-motion-base) var(--sx-ease-out), box-shadow var(--sx-motion-fast) var(--sx-ease-out);
}
.value.sx-visible,
.impact.sx-visible,
.step.sx-visible,
.cover-plus.sx-visible {
  opacity: 1;
  transform: translateY(0);
}
.value.sx-visible:hover,
.impact.sx-visible:hover,
.cover-plus.sx-visible:hover,
.step.sx-visible:hover {
  transform: translateY(-3px);
  box-shadow: var(--sx-shadow-hover), 0 0 0 1px rgba(0,143,215,0.10);
}

/* ========================
   REDUCED MOTION
   ======================== */
@media (prefers-reduced-motion: reduce) {
  .orb-1, .orb-2, .step-n    { animation: none; }
  .hero .pill .dot            { animation: none; }
  .hero::before               { animation: none; }
  .h1-accent                  { animation: none; background-position: 0% 50%; }
  .value, .impact, .step, .cover-plus {
    opacity: 1;
    transform: none;
    transition: box-shadow .25s ease;
  }
}

/* ===================================================
   GLOBAL UI SYSTEM (site-wide consistency)
   =================================================== */

:root{
  --sx-header-h: 76px;
  --sx-page-top-offset: 48px;
  --sx-page-top-offset-mobile: 22px;
}

.site-header{
  min-height: var(--sx-header-h);
}

.nav a.active{
  color: var(--sx-primary) !important;
  opacity: 1;
}

.nav a.active::after{
  width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline: 2px solid rgba(12,216,233,.72);
  outline-offset: 2px;
}

/* Fixed header offsets for internal pages */
.page-hero{
  padding-top: calc(var(--sx-header-h) + var(--sx-page-top-offset)) !important;
}

.blog-hero{
  padding-top: calc(var(--sx-header-h) + 26px) !important;
}

.post-hero .container{
  padding-top: calc(var(--sx-header-h) + 22px) !important;
}

.legal-page{
  padding: calc(var(--sx-header-h) + 24px) 0 72px !important;
}

/* Shared legal styles */
.legal-page h1{
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 800;
  color: var(--sx-dark);
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal-meta{
  color: var(--sx-muted);
  font-size: 14px;
  margin: 0 0 36px;
}

.legal-body h2{
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 700;
  color: var(--sx-dark);
  font-size: 20px;
  margin: 36px 0 10px;
}

.legal-body h2:first-child{
  margin-top: 0;
}

.legal-body p,
.legal-body li{
  color: var(--sx-muted);
  line-height: 1.7;
  margin: 0 0 10px;
}

.legal-body ul{
  padding-left: 20px;
  margin: 0 0 12px;
}

.legal-body a{
  color: var(--sx-primary);
  font-weight: 600;
}

/* Generic reveal system */
.sx-reveal{
  --sx-reveal-x: 0px;
  --sx-reveal-y: 16px;
  --sx-reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--sx-reveal-x), var(--sx-reveal-y), 0) scale(var(--sx-reveal-scale));
  transition:
    opacity var(--sx-motion-base) var(--sx-ease-out),
    transform var(--sx-motion-base) var(--sx-ease-out),
    box-shadow .25s ease,
    border-color .25s ease;
  will-change: opacity, transform;
}

.sx-reveal--up{
  --sx-reveal-y: 18px;
}
.sx-reveal--left{
  --sx-reveal-x: -18px;
  --sx-reveal-y: 0px;
}
.sx-reveal--right{
  --sx-reveal-x: 18px;
  --sx-reveal-y: 0px;
}
.sx-reveal--scale{
  --sx-reveal-y: 8px;
  --sx-reveal-scale: .94;
}

.sx-visible{
  opacity: 1 !important;
  transform: translate3d(0,0,0) scale(1) !important;
}

/* Services page motion + hover system */
.pricing-card,
.addon-card,
.faq-item {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(37,58,79,0.16), 0 0 0 1px rgba(0,143,215,0.10);
}

.pricing-card-featured{
  position: relative;
  overflow: visible;
  z-index: 0;
}

.pricing-card-featured::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(12,216,233,.35);
  pointer-events: none;
  animation: sx-glow-breathe 6s ease-in-out infinite;
  z-index: 1;
}

.pricing-recommended{
  z-index: 3;
}

.pricing-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,143,215,0.20), 0 0 0 1px rgba(12,216,233,0.22);
}

.addon-card:hover,
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37,58,79,0.14), 0 0 0 1px rgba(0,143,215,0.09);
}

.pricing-cta{
  background-size: 180% 180%;
  animation: gradientShift 18s ease infinite;
}

@media (max-width: 980px){
  .page-hero{
    padding-top: calc(var(--sx-header-h) + 34px) !important;
  }

  .blog-hero{
    padding-top: calc(var(--sx-header-h) + 18px) !important;
  }
}

@media (max-width: 720px){
  :root{
    --sx-header-h: 68px;
  }

  .page-hero{
    padding-top: calc(var(--sx-header-h) + var(--sx-page-top-offset-mobile)) !important;
  }

  .blog-hero{
    padding-top: calc(var(--sx-header-h) + 16px) !important;
  }

  .post-hero .container{
    padding-top: calc(var(--sx-header-h) + 14px) !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-bg::before,
  .hero-card .card,
  .hero-card .card::before,
  .sx-float,
  .sx-fx-shimmer::after,
  .pricing-cta,
  .pricing-card-featured::after,
  .sx-modal-backdrop,
  .sx-modal-dialog{
    animation: none !important;
    transition: none !important;
  }

  .sx-tilt{
    transition: box-shadow .25s ease;
  }

  .product-shot-frame:hover{
    transform: none;
  }

  .sx-reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================
   REALTIME FX PACK (Home + Servicios focus)
   =================================================== */

.sx-scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
  background: rgba(255,255,255,0.06);
}

.sx-scroll-progress-bar{
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-accent));
  box-shadow: 0 0 10px rgba(12,216,233,0.42);
}

.hero-bg{
  transition: translate .45s cubic-bezier(.22,.61,.36,1);
  will-change: translate;
}

.sx-reactive{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sx-reactive::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    230px circle at var(--sx-glow-x,50%) var(--sx-glow-y,50%),
    rgba(12,216,233,.20),
    rgba(12,216,233,.09) 24%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity .22s ease;
}

.sx-reactive.sx-reactive-on::after{
  opacity: 1;
}

.btn.sx-magnetic{
  --sx-mx: 0px;
  --sx-my: 0px;
  translate: var(--sx-mx) var(--sx-my);
  transition: translate .16s var(--sx-ease-out), box-shadow .2s ease, background .2s ease;
}

@keyframes sx-live-pop{
  0%   { transform: scale(1); }
  45%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes sx-live-scan{
  0%   { transform: translateX(-120%); opacity: 0; }
  20%  { opacity: .65; }
  100% { transform: translateX(120%); opacity: 0; }
}

.hero-card .mini{
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.hero-card .mini.sx-live-active{
  border-color: rgba(12,216,233,.34);
  box-shadow: 0 10px 26px rgba(12,216,233,.16), inset 0 0 0 1px rgba(12,216,233,.12);
  transform: translateY(-1px);
}

.hero-card .score.sx-live-pop{
  animation: sx-live-pop .42s var(--sx-ease-out) 1;
}

.hero-card .hero-signal{
  position: relative;
  overflow: hidden;
}

.hero-card .hero-signal.sx-live-scan::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, rgba(12,216,233,.55) 48%, transparent 72%);
  animation: sx-live-scan .68s var(--sx-ease-out) 1;
}

.hero-card .card.sx-story-card{
  --sx-story-progress: 0;
}

.hero-card .card.sx-story-card::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(12,216,233,.16), rgba(12,216,233,.68), rgba(0,143,215,.85));
  transform-origin: left center;
  transform: scaleX(var(--sx-story-progress, 0));
  opacity: .20;
  transition: transform .34s var(--sx-ease-out), opacity .34s ease;
}

.hero-card .card.sx-story-s1::after{
  opacity: .45;
}

.hero-card .card.sx-story-s2::after{
  opacity: .62;
}

.hero-card .card.sx-story-s3::after{
  opacity: .78;
}

.hero-card .card.sx-story-s1 .hero-signal::before{
  opacity: .48;
  animation-duration: 7s;
}

.hero-card .card.sx-story-s2 .hero-signal::before{
  opacity: .58;
  animation-duration: 6.2s;
}

.hero-card .card.sx-story-s3 .hero-signal::before{
  opacity: .68;
  animation-duration: 5.6s;
}

.hero-card .card.sx-story-s2 .score,
.hero-card .card.sx-story-s3 .score{
  text-shadow: 0 0 14px rgba(12,216,233,.32);
}

.hero-card .card.sx-story-s3 .actions-box{
  border-color: rgba(12,216,233,.30);
  box-shadow: inset 0 0 0 1px rgba(12,216,233,.14);
}

[data-sx-count-end]{
  font-variant-numeric: tabular-nums;
}

@media (max-width: 980px){
  .sx-scroll-progress{
    height: 2px;
  }
}

@media (prefers-reduced-motion: reduce){
  .sx-scroll-progress-bar{
    transition: none !important;
  }

  .hero-bg{
    translate: 0 0 !important;
    transition: none !important;
  }

  .btn.sx-magnetic{
    translate: 0 0 !important;
    transition: box-shadow .2s ease, background .2s ease;
  }

  .sx-reactive::after,
  .hero-card .score.sx-live-pop,
  .hero-card .hero-signal.sx-live-scan::after{
    animation: none !important;
  }

  .hero-card .card.sx-story-card::after{
    transition: none !important;
  }
}

/* ===================================================
   MOTION V2: Scene Sequencing + Section Flow
   =================================================== */

@keyframes sx-signal-spin{
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

html.sx-scene-home:not(.sx-scene-ready) .hero-copy,
html.sx-scene-home:not(.sx-scene-ready) .hero-card .card{
  opacity: 0;
  transform: translateY(22px);
}

html.sx-scene-home.sx-scene-ready .hero-copy{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .62s var(--sx-ease-out), transform .62s var(--sx-ease-out);
}

html.sx-scene-home.sx-scene-ready .hero-card .card{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--sx-ease-out) .2s, transform .7s var(--sx-ease-out) .2s;
}

html.sx-scene-services:not(.sx-scene-ready) .page-hero .container{
  opacity: 0;
  transform: translateY(16px);
}

html.sx-scene-services.sx-scene-ready .page-hero .container{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .58s var(--sx-ease-out), transform .58s var(--sx-ease-out);
}

.sx-flow-section{
  opacity: .94;
  transform: translateY(10px);
  transition: opacity .62s var(--sx-ease-out), transform .62s var(--sx-ease-out);
  will-change: opacity, transform;
}

.sx-flow-section.sx-flow-visible{
  opacity: 1;
  transform: translateY(0);
}

.hero-card .hero-signal::before{
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center, rgba(7,14,26,.88) 34%, transparent 36%),
    conic-gradient(from 0deg, rgba(12,216,233,.10), rgba(12,216,233,.9), rgba(0,143,215,.9), rgba(12,216,233,.12));
  opacity: .42;
  filter: saturate(1.05);
  animation: sx-signal-spin 7.8s linear infinite;
  pointer-events: none;
}

.hero-card .hero-signal-val,
.hero-card .hero-signal-lbl{
  position: relative;
  z-index: 2;
}

.hero .h1-accent{
  animation-duration: 8.5s;
  text-shadow: 0 0 18px rgba(12,216,233,.20);
}

.btn.sx-fx-shimmer:hover,
.btn.sx-fx-shimmer:focus-visible{
  box-shadow: 0 14px 32px rgba(0,143,215,.28), 0 0 12px rgba(12,216,233,.22);
}

html.sx-lite-motion .hero-bg{
  transition: none !important;
  translate: 0 0 !important;
}

html.sx-lite-motion .sx-reactive::after{
  display: none !important;
}

html.sx-lite-motion .btn.sx-magnetic{
  translate: 0 0 !important;
}

html.sx-lite-motion .hero-card .hero-signal::before{
  animation: none !important;
  opacity: .26;
}

@media (prefers-reduced-motion: reduce){
  html.sx-scene-home .hero-copy,
  html.sx-scene-home .hero-card .card,
  html.sx-scene-services .page-hero .container{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sx-flow-section{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-card .hero-signal::before{
    animation: none !important;
  }
}

/* ===================================================
   VISUAL POLISH PASS 1
   - no palette changes
   - spacing, hierarchy, consistency
   =================================================== */

:root{
  --sx-space-section: clamp(62px, 8vw, 92px);
  --sx-space-section-tight: clamp(48px, 6vw, 72px);
}

.section{
  padding: var(--sx-space-section) 0;
}

.section-head{
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.section-head h2{
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.section-head p{
  line-height: 1.64;
  max-width: 72ch;
}

.header-inner{
  padding: 12px 0;
  gap: 20px;
}

.nav{
  gap: 20px;
}

.nav a:not(.btn){
  font-size: 15px;
}

.site-header{
  border-bottom-color: rgba(255,255,255,0.12);
}

.site-header.scrolled{
  box-shadow: 0 6px 24px rgba(37,58,79,0.10);
}

.btn{
  min-height: 46px;
  padding: 12px 18px;
  letter-spacing: .005em;
}

.btn:hover{
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0);
}

.hero-grid{
  gap: clamp(26px, 3.2vw, 40px);
}

.hero h1{
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero .lead{
  line-height: 1.6;
  max-width: 60ch;
}

.hero .hero-bullets li{
  padding: 12px 14px;
}

.hero-bg::before{
  opacity: .12;
  animation-duration: 18s;
}

.hero::before{
  opacity: .30;
  height: 10px;
  filter: blur(8px);
}

.hero::after{
  height: 86px;
}

.orb{
  opacity: .82;
}

.orb-1{
  animation-duration: 24s, 9.5s;
}

.orb-2{
  animation-duration: 26s, 10.5s;
}

.hero-card .card{
  animation-duration: 16s;
}

.hero-card .card::before{
  animation-duration: 8.5s;
}

.sx-float{
  animation-duration: 16s;
}

.value,
.impact,
.cover-plus,
.step,
.pricing-card,
.addon-card,
.faq-item,
.blog-card{
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.value,
.impact,
.cover-plus,
.step{
  border-radius: var(--sx-radius-lg);
}

.cta-band{
  padding: 30px 34px;
}

.cta-band .btn{
  min-height: 48px;
  padding-inline: 26px;
}

@media (max-width: 980px){
  .section{
    padding: var(--sx-space-section-tight) 0;
  }

  .hero-grid{
    gap: 22px;
  }

  .cta-band{
    padding: 24px 22px;
  }
}

@media (max-width: 720px){
  .section{
    padding: 56px 0;
  }

  .hero-grid{
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .hero .lead{
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-actions{
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn{
    width: 100%;
    max-width: 100%;
  }

  .cta-band{
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-bg::before,
  .orb-1,
  .orb-2,
  .hero-card .card,
  .hero-card .card::before,
  .sx-float,
  .step-n{
    animation: none !important;
  }

  .btn{
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
}

/* ===================================================
   RELEASE CANDIDATE POLISH
   =================================================== */

html.sx-motion-subtle{
  --sx-motion-fast: 170ms;
  --sx-motion-base: 360ms;
  --sx-motion-slow: 700ms;
}

html.sx-motion-impact{
  --sx-motion-fast: 220ms;
  --sx-motion-base: 560ms;
  --sx-motion-slow: 1100ms;
}

.hero-card .card{
  border-radius: 24px;
}

.hero-card .card-top{
  margin-bottom: 12px;
}

.hero-card .card-score{
  gap: 10px;
}

.hero-card .card-subline{
  max-width: 34ch;
  margin-top: 10px;
  line-height: 1.45;
}

.hero-card .mini-grid{
  gap: 10px;
  margin-bottom: 12px;
}

.hero-card .actions-box{
  margin-bottom: 12px;
}

.hero-card .actions-list{
  line-height: 1.55;
}

.hero-card .btn-dark.btn-wide{
  min-height: 48px;
  font-size: 16px;
}

.hero-card .hero-signal{
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), 0 0 18px rgba(12,216,233,0.22);
}

.sx-flow-section{
  transition-duration: var(--sx-motion-base);
}

.contact-form{
  position: relative;
}

.contact-form.is-submitting{
  pointer-events: none;
}

.contact-form.is-submitting .btn-wide[type="submit"]{
  position: relative;
  opacity: .95;
}

.contact-form.is-submitting .btn-wide[type="submit"]::after{
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  display: inline-block;
  margin-left: 10px;
  vertical-align: -2px;
  animation: sx-submit-spin .7s linear infinite;
}

@keyframes sx-submit-spin{
  from{ transform: rotate(0deg); }
  to  { transform: rotate(360deg); }
}

.blog-empty{
  border: 1px dashed rgba(0,143,215,.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,143,215,.06), rgba(12,216,233,.04));
}

.blog-empty h3{
  margin: 0 0 6px;
}

.blog-empty p{
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 420px){
  .header-inner{
    padding: 10px 0;
  }

  .brand-mark{
    width: 154px;
    height: 40px;
  }

  .hero-grid{
    padding-top: 84px;
    padding-bottom: 64px;
    gap: 18px;
  }

  .hero h1{
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-card .hero-signal{
    flex-basis: 96px;
    width: 96px;
    min-height: 62px;
  }

  .hero-card .hero-signal-val{
    font-size: 18px;
  }

  .hero-card .hero-signal-lbl{
    font-size: 11px;
  }

  .hero-actions .btn{
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce){
  .contact-form.is-submitting .btn-wide[type="submit"]::after{
    animation: none;
  }
}

/* ===================================================
   CROSS-PAGE HERO CONSISTENCY (Home / Servicios / Blog)
   =================================================== */

:root{
  --sx-hero-copy-max: 64ch;
}

.page-hero .container,
.blog-hero .container{
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.page-hero h1,
.blog-hero h1{
  margin-left: auto !important;
  margin-right: auto !important;
  letter-spacing: -0.024em;
}

.page-hero p,
.blog-hero p{
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--sx-hero-copy-max) !important;
}

.page-hero::after,
.blog-hero::after{
  height: 44px !important;
  clip-path: none !important;
  background: linear-gradient(to bottom, rgba(248,250,252,0), #f8fafc 76%) !important;
}

@media (max-width: 720px){
  .page-hero .container,
  .blog-hero .container{
    width: min(1120px, calc(100% - 28px));
  }

  .page-hero::after,
  .blog-hero::after{
    height: 34px !important;
  }
}

/* ===================================================
   COOKIE CONSENT (Consent Mode v2)
   =================================================== */

.sx-consent-manage{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 65;
  border: 1px solid rgba(12,216,233,.32);
  background: rgba(7,14,26,.86);
  color: #eaf2ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(7,14,26,.24);
}

.sx-consent-manage:hover{
  border-color: rgba(12,216,233,.58);
  text-decoration: none;
}

.sx-consent{
  position: fixed;
  inset: auto 18px 18px auto;
  z-index: 66;
  width: min(540px, calc(100vw - 36px));
  background: linear-gradient(160deg, rgba(7,14,26,.98), rgba(13,31,53,.98));
  color: #e9f2ff;
  border: 1px solid rgba(12,216,233,.28);
  border-radius: 18px;
  box-shadow: 0 20px 52px rgba(7,14,26,.45);
  padding: 18px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}

.sx-consent.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sx-consent-title{
  margin: 0 0 8px;
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.sx-consent-text{
  margin: 0 0 12px;
  color: rgba(233,242,255,.86);
  line-height: 1.55;
  font-size: 14px;
}

.sx-consent-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sx-consent-actions .btn{
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.sx-consent-actions .btn-outline{
  background: rgba(255,255,255,.06);
  color: #e9f2ff;
  border-color: rgba(255,255,255,.22);
}

.sx-consent-actions .btn-ghost{
  background: transparent;
  color: rgba(233,242,255,.9);
  border-color: rgba(255,255,255,.18);
}

.sx-consent-prefs{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: none;
}

.sx-consent-prefs.is-open{
  display: block;
}

.sx-consent-opt{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}

.sx-consent-opt:last-of-type{
  margin-bottom: 12px;
}

.sx-consent-opt input{
  margin-top: 2px;
}

.sx-consent-opt strong{
  display: block;
  font-size: 14px;
  color: #fff;
}

.sx-consent-opt span{
  display: block;
  font-size: 13px;
  color: rgba(233,242,255,.8);
  line-height: 1.45;
}

@media (max-width: 720px){
  .sx-consent{
    inset: auto 10px 10px 10px;
    width: auto;
    border-radius: 16px;
    padding: 15px;
  }

  .sx-consent-manage{
    left: 10px;
    bottom: 10px;
  }

  .sx-consent-actions{
    flex-direction: column;
  }

  .sx-consent-actions .btn{
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce){
  .sx-consent{
    transition: none !important;
  }
}
