
:root {
  --bg: #050b14;
  --bg-soft: #081624;
  --card: rgba(255,255,255,0.07);
  --text: #f4f8ff;
  --muted: #c3ccda;
  --accent: #20d3ff;
  --accent2: #3cffb0;
  --warning: #ffd166;
  --radius: 1.4rem;
  --max: 1180px;
}

/* BASE MOBILE FIRST */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(32,211,255,.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(60,255,176,.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}


body {
  position: relative;
  background: #050b14;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(5,11,20,.82), rgba(5,11,20,.9)),
    url("/diseno-web/pictures/fondo-mundo-digital.webp") center/cover no-repeat;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(32,211,255,.18), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(60,255,176,.14), transparent 30rem);
  pointer-events: none;
}




/* MÁS LEGIBLE EN TELÉFONO */
p, li {
  font-size: clamp(1.05rem, 2.5vw, 1.18rem);
  color: var(--muted);
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.container {
  width: min(100% - 1.4rem, var(--max));
  margin-inline: auto;
}



.eyebrow {
  display: inline-flex;
  padding: .45rem .8rem;
  border: 1px solid rgba(32,211,255,.35);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(32,211,255,.08);
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.keyword {
  color: var(--accent);
  font-weight: 900;
}

.keyword-green {
  color: var(--accent2);
  font-weight: 900;
}

.section-title {
  font-size: clamp(2rem, 7vw, 4rem);
  max-width: 900px;
  margin-bottom: 1rem;
}

.section-text {
  max-width: 760px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  transition: .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #02101b;
  box-shadow: 0 0 2rem rgba(32,211,255,.28);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-3px);
}

/* HERO */
.hero {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
    
    
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(32,211,255,.25), transparent 60%);
  top: -100px;
  right: -100px;
  filter: blur(80px);
  z-index: 0;
}    

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 10vw, 5.7rem);
}

.hero p {
  margin-top: 1.2rem;
  max-width: 700px;
}

/* PANEL VISUAL */
.visual-card {
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2rem 5rem rgba(0,0,0,.4);
}

.browser {
  background: #071524;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.browser-top {
  display: flex;
  gap: .4rem;
  padding: .8rem;
  background: rgba(255,255,255,.06);
}

.dot {
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--accent);
}

.browser-body {
  padding: 1.2rem;
}

.metric {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
}

.metric strong {
  color: var(--accent2);
  font-size: 2rem;
}

/* CARDS */
.grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.22);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: .7rem;
}

.card ul {
  padding-left: 1.2rem;
}

/* DIFERENCIA */
.compare {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.compare-box {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
}

.normal {
  background: rgba(255,92,122,.08);
}

.optimized {
  background: rgba(60,255,176,.08);
}

/* CTA */
.cta {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(32,211,255,.16), transparent 35%),
    #040a12;
}

.cta .section-text {
  margin-inline: auto;
}

/* RESPONSIVE */
@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 5.8rem;
  }
}
 
    
 
    /* ANIMACIONES PREMIUM SCROLL */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-section {
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease;
}

.reveal-up {
  transform: translateY(45px);
}

.reveal-left {
  transform: translateX(-45px);
}

.reveal-right {
  transform: translateX(45px);
}

.reveal-section {
  transform: translateY(30px);
}

.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* STORY PREMIUM */
.premium-story {
  position: relative;
  overflow: hidden;
}

.premium-story::before {
  content: "";
  position: absolute;
  inset: 10% auto auto -10%;
  width: 22rem;
  height: 22rem;
  background: rgba(32, 211, 255, .16);
  filter: blur(90px);
  border-radius: 50%;
}

.story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.story-content p {
  margin-bottom: 1rem;
}

.story-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(32,211,255,.25);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2rem 5rem rgba(0,0,0,.35);
}

.glow-circle {
  width: 11rem;
  height: 11rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  padding: .25rem;
  background: linear-gradient(135deg, #20d3ff, #3cffb0);
  box-shadow: 0 0 2rem rgba(32,211,255,.35);
}

.glow-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.story-card h3 {
  color: #20d3ff;
  margin-bottom: .4rem;
}

.story-card blockquote {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #c3ccda;
  font-style: italic;
}

/* GOOGLE VS CLIENTE */
.premium-compare {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.premium-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem;
  padding: 1.7rem;
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.28);
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 12rem;
  height: 12rem;
  background: rgba(32,211,255,.16);
  border-radius: 50%;
  filter: blur(60px);
}

.premium-card h3 {
  font-size: 1.45rem;
  margin-bottom: .8rem;
  color: #fff;
}

.premium-card ul {
  padding-left: 1.2rem;
}

.premium-card li {
  margin-bottom: .55rem;
}

.icon-glow {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(32,211,255,.12);
  border: 1px solid rgba(32,211,255,.3);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* CTA PREMIUM */
.premium-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(32,211,255,.18), transparent 35%),
    #040a12;
}

.premium-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  opacity: .45;
}

.premium-cta .container {
  position: relative;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .story-grid,
  .premium-compare {
    grid-template-columns: 1fr 1fr;
  }
}

/* ACCESIBILIDAD: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
} 
     
.section-light {
  background: rgba(255,255,255,.035);
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.25);
  overflow: hidden;
}

.testimonial-quote {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #02101b;
  font-weight: 900;
}

.author-info h4 {
  color: var(--text);
  margin-bottom: .2rem;
}

.author-info p {
  font-size: .9rem;
}

.rating {
  color: var(--accent2);
  font-size: .85rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
    
     
     
     
     
     
     
 /* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(5,11,20,0.75);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.2rem;
  max-width: 1180px;
  margin: auto;
}

/* LOGO */
.logo a {
  color: var(--text);
  font-weight: 900;
  font-size: 1.2rem;
  text-decoration: none;
}



.nav-cta {
  margin-top: 1.5rem;
  padding: .9rem;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #02101b;
  font-weight: 900;
}

     
     
 @media (min-width:768px) {
  .menu-close,
  .menu-overlay {
    display: none;
  }
}    
     
     
 
    
  
  
.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -8rem;
  background: rgba(32, 211, 255, .25);
}

.hero-orb-2 {
  width: 24rem;
  height: 24rem;
  bottom: -7rem;
  left: -6rem;
  background: rgba(60, 255, 176, .16);
}

.hero-premium .hero-grid {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 9vw, 5.8rem);
  max-width: 850px;
}

.intent-question {
  color: var(--accent2);
  font-weight: 900;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.hero-visual-premium {
  display: grid;
  gap: 1.2rem;
  position: relative;
}

.dashboard-card {
  border-radius: 1.6rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2rem 5rem rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
}

.dashboard-body {
  padding: 1.4rem;
}

.dashboard-body h2 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.score-circle {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  margin: 1.5rem auto;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle, #071524 58%, transparent 60%),
    conic-gradient(var(--accent2) 0 82%, rgba(255,255,255,.12) 82% 100%);
  box-shadow: 0 0 2rem rgba(60,255,176,.2);
}

.score-circle strong {
  display: block;
  font-size: 3rem;
  color: var(--accent2);
  line-height: 1;
}

.score-circle span {
  display: block;
  max-width: 7rem;
  font-size: .9rem;
  color: var(--muted);
}

.mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.mini-metrics div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.mini-metrics strong {
  color: var(--accent);
  font-size: 1.5rem;
}

.manuel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(32,211,255,.22);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.28);
}

.manuel-img-wrap {
  width: 5.5rem;
  height: 5.5rem;
  flex: 0 0 5.5rem;
  border-radius: 50%;
  padding: .18rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 1.6rem rgba(32,211,255,.35);
}

.manuel-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.manuel-card h3 {
  color: var(--text);
  margin-bottom: .25rem;
}

.manuel-card p {
  font-size: .95rem;
}

@media (max-width: 767px) {
  .hero-premium {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .score-circle {
    width: 9.5rem;
    height: 9.5rem;
  }

  .manuel-card {
    align-items: flex-start;
  }
} 
      
      
      
      
      
      
      
      
.hero-visual-premium {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTENEDOR */
.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
}

/* IMAGEN */
.hero-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  object-fit: cover;

  /* EFECTO PRO */
  box-shadow: 0 2rem 5rem rgba(0,0,0,.45);
  filter: brightness(1.05) contrast(1.05);
}

/* GLOW DETRÁS */
.hero-img-wrapper::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(32,211,255,.2), transparent 70%);
  filter: blur(70px);
  z-index: -1;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual-premium {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-img-wrapper {
    max-width: 90%;
  }

}      
      
   .btn-center {
  justify-content: center;
}   
      
      
      
   .hero-image-full {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #050b14;
}

.hero-image-full picture,
.hero-full-img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-full-img {
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* Botón invisible encima del botón dibujado */
.hero-hotspot-cta {
  position: absolute;
  left: 4%;
  bottom: 17%;
  width: 34%;
  height: 9%;
  z-index: 5;
  border-radius: 999px;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-hotspot-cta {
    left: 8%;
    bottom: 20%;
    width: 42%;
    height: 7%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-image-full {
    min-height: auto;
  }

  .hero-full-img {
    min-height: auto;
    height: auto;
    object-fit: contain;
  }

  .hero-hotspot-cta {
    left: 10%;
    bottom: 23%;
    width: 80%;
    height: 6%;
  }
}   
 
  



.hero-overlay-content {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  z-index: 10;
  max-width: 650px;
}

.hero-overlay-content h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.hero-overlay-content p {
  margin-top: 1rem;
}


@media (max-width: 767px) {

  .hero-overlay-content {
    position: static;
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-overlay-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

}


/* MENÚ MOBILE */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 360px);
  height: 100dvh;
  background: #050b14;
  display: flex;
  flex-direction: column;
  padding: 5rem 1.4rem 2rem;
  gap: 1.2rem;
  transform: translateX(110%);
  transition: transform .3s ease;
  z-index: 1002;
  overflow-y: auto;
}

.nav.active {
  transform: translateX(0);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 1001;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  z-index: 1003;
}

@media (min-width:768px) {
  .menu-toggle,
  .menu-close,
  .menu-overlay {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    align-items: center;
    padding: 0;
    overflow: visible;
    z-index: auto;
  }
}



body.menu-open {
  overflow: hidden;
}





/* ============================================ */
/* REDUCIR ESPACIOS GRANDES ENTRE SECCIONES */
/* ============================================ */

.section {
  padding: clamp(2.2rem, 4vw, 3.8rem) 0 !important;
}

.grid,
.compare,
.testimonials-grid,
.premium-compare {
  margin-top: clamp(1.2rem, 3vw, 2rem) !important;
}

.section-title {
  margin-bottom: .75rem;
}

.section-subtitle {
  margin-bottom: 1.4rem;
}

.story-content p,
.section-text,
p {
  margin-bottom: .85rem;
}

/* Para que el fondo no cree tanta sensación de espacio vacío */
.section {
  background: rgba(5,11,20,.62);
}


@media (min-width: 1024px) {
  .section {
    padding: 3.2rem 0 !important;
  }
}