/* NexoIT - estilos principales */
:root{
  --bg:#070b12;
  --bg2:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --text:#eaf2ff;
  --muted:rgba(234,242,255,.72);
  --line:rgba(255,255,255,.12);
  --green:#2ef59a;
  --green2:#6cfcc1;
  --cyan:#43c8ff;
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --radius: 20px;
  --radius2: 28px;
  --max: 1120px;
  --glow: 0 0 30px rgba(46,245,154,.4);
  --glow-cyan: 0 0 30px rgba(67,200,255,.4);
}

/* CSS Properties para animación de fondo */
@property --c-0 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(224, 89%, 10%, 1)
}

@property --x-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 7%
}

@property --y-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 30%
}

@property --s-start-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 9%
}

@property --s-end-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 69%
}

@property --c-1 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(238, 94%, 14%, 1)
}

@property --x-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 72%
}

@property --y-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 37%
}

@property --s-start-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 9%
}

@property --s-end-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 69%
}

@property --c-2 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(249, 89%, 8%, 1)
}

@property --x-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 52%
}

@property --y-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 52%
}

@property --s-start-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 9%
}

@property --s-end-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 69%
}

@property --c-3 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(253, 98%, 2%, 1)
}

@property --x-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 81%
}

@property --y-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 20%
}

@property --s-start-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 9%
}

@property --s-end-3 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 69%
}

@property --c-4 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(211, 89%, 6%, 1)
}

@property --x-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 58%
}

@property --y-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 26%
}

@property --s-start-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 9%
}

@property --s-end-4 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 69%
}

*{box-sizing:border-box}
html,body{height:100%;scroll-behavior:smooth}

/* Page Loader Mejorado */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__content {
  text-align: center;
  animation: fade-scale 0.6s ease-out;
}

.loader__logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(46,245,154,.3);
  box-shadow: 0 10px 30px rgba(46,245,154,.2);
  animation: pulse-glow 2s ease-in-out infinite;
}

.loader__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.loader__ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: loader-spin 1.2s linear infinite;
}

.loader__ring:nth-child(1) {
  animation-delay: 0s;
}

.loader__ring:nth-child(2) {
  inset: 6px;
  border-top-color: var(--cyan);
  animation-delay: 0.2s;
  animation-duration: 0.8s;
}

.loader__ring:nth-child(3) {
  inset: 12px;
  border-top-color: var(--green2);
  animation-delay: 0.4s;
  animation-duration: 1s;
}

.loader__text {
  color: rgba(234,242,255,.8);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes loader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animación de entrada de contenido */
@keyframes page-load {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.loaded {
  animation: page-load 0.8s ease-out;
}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  --c-0: hsla(224, 89%, 10%, 1);
  --x-0: 7%;
  --y-0: 30%;
  --c-1: hsla(238, 94%, 14%, 1);
  --x-1: 72%;
  --y-1: 37%;
  --c-2: hsla(249, 89%, 8%, 1);
  --x-2: 52%;
  --y-2: 52%;
  --c-3: hsla(253, 98%, 2%, 1);
  --x-3: 81%;
  --y-3: 20%;
  --c-4: hsla(211, 89%, 6%, 1);
  --x-4: 58%;
  --y-4: 26%;
  background-color: hsla(229, 94%, 0%, 1);
  background-image: radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2)), radial-gradient(circle at var(--x-3) var(--y-3), var(--c-3) var(--s-start-3), transparent var(--s-end-3)), radial-gradient(circle at var(--x-4) var(--y-4), var(--c-4) var(--s-start-4), transparent var(--s-end-4));
  animation: hero-gradient-animation 10s linear infinite alternate;
  background-blend-mode: normal, normal, normal, normal, normal;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x:hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(46,245,154,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(67,200,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(46,245,154,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

/* Partículas flotantes */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(46,245,154,.3);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 20s; animation-delay: 2s; background: rgba(67,200,255,.3); }
.particle:nth-child(3) { left: 30%; animation-duration: 18s; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-duration: 16s; animation-delay: 3s; background: rgba(67,200,255,.3); }
.particle:nth-child(6) { left: 60%; animation-duration: 19s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-duration: 21s; animation-delay: 2s; background: rgba(67,200,255,.3); }
.particle:nth-child(8) { left: 80%; animation-duration: 17s; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; animation-duration: 23s; animation-delay: 1s; }

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

.container, .header, .section, .footer, .hero{
  position: relative;
  z-index: 1;
}

/* Animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(46,245,154,.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(46,245,154,.6);
  }
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

@keyframes hero-gradient-animation {
    0% {
        --c-0: hsla(224, 89%, 10%, 1);
        --x-0: 7%;
        --y-0: 30%;
        --s-start-0: 9%;
        --s-end-0: 69%;
        --c-1: hsla(238, 94%, 14%, 1);
        --x-1: 72%;
        --y-1: 37%;
        --s-start-1: 9%;
        --s-end-1: 69%;
        --c-2: hsla(249, 89%, 8%, 1);
        --x-2: 52%;
        --y-2: 52%;
        --s-start-2: 9%;
        --s-end-2: 69%;
        --c-3: hsla(253, 98%, 2%, 1);
        --x-3: 81%;
        --y-3: 20%;
        --s-start-3: 9%;
        --s-end-3: 69%;
        --c-4: hsla(211, 89%, 6%, 1);
        --x-4: 58%;
        --y-4: 26%;
        --s-start-4: 9%;
        --s-end-4: 69%;
    }

    100% {
        --c-0: hsla(211, 93%, 5%, 1);
        --x-0: 93%;
        --y-0: 59%;
        --s-start-0: 9%;
        --s-end-0: 69%;
        --c-1: hsla(225, 96%, 1%, 1);
        --x-1: 4%;
        --y-1: 21%;
        --s-start-1: 9%;
        --s-end-1: 69%;
        --c-2: hsla(211, 89%, 17%, 1);
        --x-2: 91%;
        --y-2: 34%;
        --s-start-2: 9%;
        --s-end-2: 69%;
        --c-3: hsla(214, 96%, 4%, 1);
        --x-3: 57%;
        --y-3: 16%;
        --s-start-3: 9%;
        --s-end-3: 69%;
        --c-4: hsla(253, 90%, 13%, 1);
        --x-4: 38%;
        --y-4: 46%;
        --s-start-4: 9%;
        --s-end-4: 69%;
    }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

.animate-blur-in {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

.animate-blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Hover mejorados */
.svc, .pcard, .price, .person {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.svc::after, .pcard::after, .price::after, .person::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46,245,154,.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.svc:hover, .pcard:hover, .price:hover, .person:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  border-color: rgba(46,245,154,.3);
}

.svc:hover::after, .pcard:hover::after, .price:hover::after, .person:hover::after {
  opacity: 1;
}

.price--hot:hover {
  box-shadow: var(--glow);
  border-color: rgba(46,245,154,.5);
}

.btn {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,245,154,.2);
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:20px; top:20px; width:auto; height:auto; padding:10px 12px;
  background:var(--bg2); border:1px solid var(--line); border-radius:12px;
  z-index:9999;
}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(25px) saturate(200%);
  background: rgba(7,11,18,.7);
  border-bottom:1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  transition: all 0.3s ease;
}
.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,245,154,.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.header:hover::after {
  opacity: 1;
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}

.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand__logo{
  width:44px; height:44px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  object-fit:cover;
}
.brand__name{font-weight:800; letter-spacing:.2px; font-size:18px; line-height:1}
.brand__tag{display:block; font-size:12px; color:var(--muted); margin-top:4px}

.nav{display:flex; align-items:center; gap:18px}
.nav a{
  font-size:14px;
  color:rgba(234,242,255,.9);
  padding:10px 14px;
  border-radius:12px;
  position: relative;
  transition: all 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav a:hover{
  background:rgba(255,255,255,.06);
  color: var(--green2);
  transform: translateY(-1px);
}
.nav a:hover::after {
  width: 80%;
}
.nav .btn{margin-left:6px}

.navbtn{
  display:none;
  width:44px; height:44px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  cursor:pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  position: relative;
}
.navbtn:hover {
  transform: scale(1.05);
  border-color: rgba(46,245,154,.3);
  background: rgba(255,255,255,.08);
}
.navbtn span{
  display:block;
  height:2px;
  background:rgba(234,242,255,.88);
  margin:6px 10px;
  border-radius:999px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.navbtn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}
.navbtn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(46,245,154,.28);
  background: linear-gradient(135deg, rgba(46,245,154,.18), rgba(67,200,255,.08));
  color:var(--text);
  font-weight:700;
  transition: transform .15s ease, filter .15s ease, background .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover{
  transform: translateY(-2px);
  filter:brightness(1.1);
  box-shadow: var(--glow);
  border-color: rgba(46,245,154,.5);
}
.btn:active{transform: translateY(0)}
.btn--ghost{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 0 20px rgba(255,255,255,.1);
}
.btn--sm{padding:10px 14px; font-size:14px}
.btn--full{width:100%}

.link{color:rgba(46,245,154,.95); font-weight:700}
.link:hover{text-decoration:underline}

.pill{
  display:inline-flex;
  gap:10px;
  padding:10px 12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  font-size:13px;
  color:rgba(234,242,255,.86);
}

.hero{position:relative; padding:54px 0 24px}
.hero__grid{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap:32px;
  align-items:start;
}
.hero__copy h1{
  font-size:48px;
  line-height:1.1;
  margin:16px 0 12px;
  letter-spacing:-.6px;
  position: relative;
  z-index: 1;
}
.hero__copy h1 .grad,
.hero__copy h1 .grad2 {
  position: relative;
  display: inline-block;
}
.hero__copy h1 .grad::after,
.hero__copy h1 .grad2::after {
  content: '';
  position: absolute;
  inset: -5px;
  background: inherit;
  filter: blur(15px);
  opacity: 0.6;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.hero__copy h1:hover .grad::after,
.hero__copy h1:hover .grad2::after {
  opacity: 0.8;
}
.grad{
  background: linear-gradient(90deg, var(--green), var(--green2));
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.grad2{
  background: linear-gradient(90deg, var(--cyan), var(--green));
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.lead{font-size:16px; color:rgba(234,242,255,.78); line-height:1.6; margin:0 0 20px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin:20px 0 24px}

.hero__stats{
  display:flex; gap:12px; flex-wrap:wrap;
  margin:0 0 20px;
}
.stat{
  padding:14px 16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  min-width: 150px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46,245,154,.1), transparent);
  transition: left 0.5s ease;
}
.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(46,245,154,.3);
  background: rgba(255,255,255,.06);
}
.stat:hover::after {
  left: 100%;
}
.stat__k{display:block; font-weight:800; font-size:16px; color: var(--green2)}
.stat__t{display:block; color:rgba(234,242,255,.70); font-size:12px; margin-top:4px}

.hero__trust{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.chip{
  display:inline-flex;
  padding:8px 12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  font-size:12px;
  color:rgba(234,242,255,.82);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(46,245,154,.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.chip:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(46,245,154,.3);
  color: var(--green2);
  box-shadow: 0 4px 12px rgba(46,245,154,.15);
}
.chip:hover::before {
  opacity: 1;
}

.hero__card .card{
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
  border-radius: var(--radius2);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  padding:20px;
  overflow:hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.hero__card .card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(46,245,154,.1), transparent 30%);
  animation: rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero__card .card:hover::before {
  opacity: 1;
}
.hero__card .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), var(--glow), inset 0 1px 0 rgba(255,255,255,.08);
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.laptop3d{
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius2);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.laptop3d iframe{
  width: 100%;
  height: 100%;
  border: none;
}
.laptop3d::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(46,245,154,.1), transparent 30%);
  animation: rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.laptop3d:hover::before {
  opacity: 1;
}
.laptop3d:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), var(--glow), inset 0 1px 0 rgba(255,255,255,.08);
}
.laptop3d__overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  z-index: 2;
  pointer-events: none;
}
.laptop3d__title{
  margin: 0;
  font-weight: 800;
  color: var(--text);
}
.laptop3d__sub{
  margin: 6px 0 0;
  color: rgba(234,242,255,.75);
  font-size: 13px;
}
.card__top{display:flex; align-items:center; gap:10px; margin-bottom:12px}
.pulse{
  width:10px; height:10px; border-radius:999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(46,245,154,.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(46,245,154,.55)}
  70%{box-shadow:0 0 0 14px rgba(46,245,154,0)}
  100%{box-shadow:0 0 0 0 rgba(46,245,154,0)}
}

.preview{
  position:relative;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.2);
  margin-bottom:16px;
}
.preview__img{width:100%; height:200px; object-fit:cover; filter:saturate(1.05) contrast(1.05)}
.preview__overlay{
  position:absolute; inset:auto 0 0 0;
  padding:14px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.preview__title{margin:0; font-weight:800}
.preview__sub{margin:6px 0 0; color:rgba(234,242,255,.75); font-size:13px}

.card__row{display:grid; gap:10px; margin:16px 0 16px}
.mini{
  padding:14px 14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
}
.mini__k{display:block; font-weight:800; font-size:14px}
.mini__t{display:block; margin-top:4px; color:rgba(234,242,255,.72); font-size:12px; line-height:1.4}

.card__actions{display:grid; gap:10px}
.laptop-iframe-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.laptop-iframe{
  width: 100%;
  max-width: 800px;
  height: 600px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius2);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.laptop-iframe:hover{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), var(--glow-cyan);
}
.fade{
  position:absolute; inset:auto 0 0 0;
  height:80px;
  background: linear-gradient(180deg, rgba(11,18,32,0), rgba(11,18,32,1));
}

.section{padding:64px 0}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 10px; font-size:30px; letter-spacing:-.3px}
.section__head p{margin:0; color:rgba(234,242,255,.74); line-height:1.6}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.svc, .work{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
.svc__icon{font-size:22px; margin-bottom:10px}
.svc h3, .work h3{margin:0 0 8px; font-size:18px}
.svc p, .work p{margin:0 0 12px; color:rgba(234,242,255,.74); line-height:1.6}

.ul{margin:0; padding-left:16px; color:rgba(234,242,255,.76)}
.ul li{margin:8px 0}

.video{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
}
.video__player{
  width:100%;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  max-height:460px;
}
.video__side{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
.video__side h3{margin:0 0 10px}
.cta2{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.check{list-style:none; margin:0; padding:0}
.check li{
  margin:10px 0;
  padding-left:26px;
  position:relative;
  color:rgba(234,242,255,.78);
  line-height:1.5;
}
.check li::before{
  content:"•";
  position:absolute; left:0; top:0;
  color:rgba(46,245,154,.95);
  font-weight:900;
}

.steps{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
}
.step{
  padding:16px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.03);
}
.step__n{
  width:34px; height:34px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(46,245,154,.16);
  border:1px solid rgba(46,245,154,.22);
  font-weight:900;
  margin-bottom:10px;
}
.step h3{margin:0 0 8px; font-size:16px}
.step p{margin:0; color:rgba(234,242,255,.74); line-height:1.55}

.work{position:relative; overflow:hidden}
.work__tag{
  display:inline-flex;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(67,200,255,.12);
  border:1px solid rgba(67,200,255,.22);
  color:rgba(234,242,255,.82);
  margin-bottom:10px;
}
.work__meta{display:flex; gap:10px; flex-wrap:wrap}

.note{
  margin-top:14px;
  padding:14px 16px;
  background:rgba(46,245,154,.10);
  border:1px solid rgba(46,245,154,.22);
  border-radius: 16px;
  color:rgba(234,242,255,.80);
}

.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.price{
  position:relative;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
.price--hot{
  background: linear-gradient(145deg, rgba(46,245,154,.12), rgba(46,245,154,.04));
  border:1px solid rgba(46,245,154,.2);
  box-shadow: 0 12px 28px rgba(46,245,154,.1), inset 0 1px 0 rgba(255,255,255,.05);
}
.badge{
  position:absolute; top:14px; right:14px;
  font-size:12px; font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(46,245,154,.18);
  border:1px solid rgba(46,245,154,.25);
}
.price h3{margin:0 0 6px}
.price__p{margin:0 0 10px; color:rgba(234,242,255,.72)}
.price__k{font-size:28px; font-weight:900; letter-spacing:-.4px; margin-bottom:12px}

.team{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.person{
  display:flex; gap:14px;
  padding:18px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.person:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(67,200,255,.3);
  box-shadow: var(--glow-cyan), 0 15px 40px rgba(0,0,0,.25);
}
.avatar{
  width:54px; height:54px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(67,200,255,.12);
  border:1px solid rgba(67,200,255,.22);
  font-weight:900;
  transition: all 0.3s ease;
}
.person:hover .avatar {
  transform: scale(1.1) rotate(5deg);
  background: rgba(67,200,255,.2);
  border-color: rgba(67,200,255,.4);
}
.person h3{margin:0 0 6px}
.person p{margin:0; color:rgba(234,242,255,.74); line-height:1.55}
.person .muted{margin-bottom:10px}

.cta3{
  margin-top:14px;
  padding:18px;
  background: linear-gradient(135deg, rgba(46,245,154,.14), rgba(67,200,255,.08));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.contact{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.form{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
label{display:block; font-weight:700; font-size:13px; margin-bottom:12px}
input, select, textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,11,18,.35);
  color:var(--text);
  outline:none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(46,245,154,.5);
  box-shadow: 0 0 0 4px rgba(46,245,154,.15), 0 8px 25px rgba(46,245,154,.1);
  transform: translateY(-2px);
}
input:hover, select:hover, textarea:hover {
  border-color: rgba(255,255,255,.2);
}
.row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.small{font-size:12px}
.muted{color:var(--muted)}

.side{
  padding:18px;
  border-radius: var(--radius2);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.side__links{display:grid; gap:10px; margin-top:10px}
.side__link{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.side__link:hover{background:rgba(255,255,255,.05)}
.side__box{
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.15);
}

.footer{
  padding:34px 0 26px;
  border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}
.brand--footer .brand__logo{width:40px; height:40px}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr .6fr .6fr;
  gap:16px;
}
.footer__col h4{margin:0 0 10px}
.footer__col a{display:block; padding:8px 0; color:rgba(234,242,255,.78)}
.footer__col a:hover{color:rgba(46,245,154,.92)}
.footer__bottom{
  grid-column:1 / -1;
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding-top:14px;
  margin-top:6px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(234,242,255,.70);
  font-size:12px;
}

.totop{
  position:fixed; right:20px; bottom:20px;
  width:50px; height:50px;
  border-radius:16px;
  border:1px solid rgba(46,245,154,.25);
  background: linear-gradient(135deg, rgba(46,245,154,.18), rgba(67,200,255,.1));
  color:var(--green2);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 8px 24px rgba(46,245,154,.18), 0 4px 12px rgba(0,0,0,.3);
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity:0;
  transform: translateY(20px);
  z-index:100;
  overflow: hidden;
}
.totop::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,.2), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}
.totop.show{
  display:flex;
  opacity:1;
  transform:translateY(0);
  animation: pulse-glow 2s ease-in-out infinite;
}
.totop:hover{
  transform:translateY(-5px) scale(1.05);
  box-shadow: var(--glow), 0 8px 25px rgba(0,0,0,.4);
  border-color: rgba(46,245,154,.5);
  background: linear-gradient(135deg, rgba(46,245,154,.25), rgba(67,200,255,.15));
}
.totop:active{
  transform:translateY(-2px) scale(0.98);
  box-shadow: var(--glow);
}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; }
  .hero__copy h1{font-size:40px}
  .grid3{grid-template-columns: 1fr}
  .video{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr 1fr}
  .pricing{grid-template-columns: 1fr}
  .team{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr .6fr .6fr;
  gap:16px;
  }
}

@media (max-width: 768px){
  .hero__copy h1{font-size:36px}
  .hero__cta{flex-direction:column}
  .hero__cta .btn{width:100%}
  .section{padding:48px 0}
  .steps{grid-template-columns: 1fr}
  .container{padding:0 16px}
  .row{grid-template-columns:1fr}
  .form__actions{flex-direction:column}
  .form__actions .btn{width:100%}
}

@media (max-width: 820px){
  .navbtn{display:inline-block}
  .nav{
    position:fixed;
    top:80px;
    right:16px;
    left:16px;
    background: rgba(7,11,18,.9);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding:14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    box-shadow: var(--shadow), 0 0 40px rgba(46,245,154,.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav.open{
    display:flex;
    opacity: 1;
    transform: translateY(0);
  }
  .nav a{
    padding:14px 16px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav a:hover {
    background: rgba(46,245,154,.12);
    color: var(--green2);
    transform: translateX(5px);
  }
  .brand{min-width:auto}
}


/* --- Portafolio (cards con imagen + estrellas) --- */
.portfolio__filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0;
  justify-content:center;
}
.portfolio__filter{
  display:inline-flex;
  align-items:center;
  padding:12px 20px;
  border-radius:99px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(234,242,255,.8);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position:relative;
  overflow:hidden;
}
.portfolio__filter::before{
  content: '';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transition: left 0.5s ease;
}
.portfolio__filter:hover{
  background:rgba(46,245,154,.08);
  border-color: rgba(46,245,154,.2);
  color: var(--green2);
  transform: translateY(-2px);
}
.portfolio__filter:hover::before{
  left:100%;
}
.portfolio__filter.active{
  background: linear-gradient(135deg, rgba(46,245,154,.18), rgba(67,200,255,.08));
  border-color: rgba(46,245,154,.3);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(46,245,154,.15);
}

.portfolio{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:20px;
  grid-auto-rows: min-content;
  min-height: 400px;
}
@media (max-width: 900px){
  .portfolio{ grid-template-columns: 1fr; }
}
.pcard{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.03);
  display:flex;
  min-height: 280px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: translateY(0);
}
.pcard.hidden{
  display: none;
}
.pcard.fade-out{
  opacity: 0;
  transform: translateY(20px);
}
/* Efecto masonry - cards de diferentes alturas */
.pcard.large {
  grid-column: span 2;
  min-height: 320px;
}
.pcard.tall {
  grid-row: span 2;
  min-height: 500px;
}
.pcard__media{
  width: 44%;
  min-width: 220px;
  position:relative;
  display:block;
}
.pcard__badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 12px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  border-radius:99px;
  font-size:11px;
  font-weight:800;
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(46,245,154,.3);
  z-index: 2;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.pcard__media img{
  width:100%;
  height:100%;
  min-height: 280px;
  object-fit:cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pcard__media:hover img{
  transform: scale(1.08) rotate(1deg);
  filter: saturate(1.15) contrast(1.1) brightness(1.05);
}
.pcard:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,.3), var(--glow);
  border-color: rgba(46,245,154,.25);
}
.pcard__body{
  padding:18px 18px 16px 18px;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pcard__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.pcard__top h3{
  margin:0;
  font-size:1.1rem;
  font-weight:700;
  line-height:1.4;
  color: var(--text);
}
.pcard__description{
  margin:0;
  color:rgba(234,242,255,.76);
  line-height:1.6;
  font-size:14px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.pcard__meta{
  display:flex;
  gap:12px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
}
.pcard__date{
  font-size:12px;
  color: rgba(46,245,154,.8);
  font-weight:600;
}
.pcard__tech{
  font-size:12px;
  color: rgba(234,242,255,.6);
}
.pcard__tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.pcard__tags .chip{
  font-size:11px;
  padding:6px 10px;
}
.pcard__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}
.pcard__actions .btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 14px;
}
.pcard__actions .btn svg{
  flex-shrink:0;
}
.btn--sm{
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
}
.btn[aria-disabled="true"]{
  opacity:.55;
  pointer-events:none;
  cursor:not-allowed;
}
.portfolio__cta{
  text-align:center;
  margin-top:40px;
  padding:32px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
}
.portfolio__cta-text{
  margin:0 0 16px;
  font-size:18px;
  font-weight:600;
  color: rgba(234,242,255,.9);
}
.portfolio__cta .btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

@media (max-width: 768px){
  .portfolio__filters{
    gap:8px;
  }
  .portfolio__filter{
    padding:8px 12px;
    font-size:13px;
  }
  .pcard{
    flex-direction:column;
    min-height:auto;
  }
  .pcard.large{
    grid-column: span 1;
  }
  .pcard.tall{
    grid-row: span 1;
  }
  .pcard__media{
    width:100%;
    min-width:unset;
    height:220px;
  }
  .pcard__media img{
    min-height:220px;
  }
  .pcard__description{
    -webkit-line-clamp:4;
  }
}

/* Estrellas (SVG) */
.stars{
  display:flex;
  gap:4px;
  color: var(--green2);
  opacity:.95;
  margin-top:2px;
}
.star{
  width:16px;
  height:16px;
  display:inline-block;
}
.star svg{ width:16px; height:16px; display:block; }
.star--off{ opacity:.25; }

/* --- Testimonios --- */
.testimonials{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap:20px;
  margin-top:20px;
}
.testimonial{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(46,245,154,.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.testimonial:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.25), var(--glow);
  border-color: rgba(46,245,154,.25);
}
.testimonial:hover::before {
  opacity: 1;
}
.testimonial__content{
  padding:24px;
  position: relative;
  z-index: 1;
}
.testimonial__quote{
  font-size:48px;
  line-height:1;
  color: rgba(46,245,154,.3);
  font-weight:900;
  margin-bottom:12px;
}
.testimonial__text{
  color: rgba(234,242,255,.85);
  line-height:1.7;
  margin:0 0 20px;
  font-style:italic;
}
.testimonial__author{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
}
.testimonial__avatar{
  width:56px;
  height:56px;
  border-radius:16px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:18px;
  color: var(--bg);
  border:2px solid rgba(46,245,154,.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial:hover .testimonial__avatar {
  transform: rotate(10deg) scale(1.1);
  border-color: rgba(46,245,154,.5);
  box-shadow: var(--glow);
}
.testimonial__name{
  margin:0 0 4px;
  font-size:16px;
  font-weight:700;
}
.testimonial__role{
  margin:0;
  font-size:13px;
  color: rgba(234,242,255,.65);
}
.testimonial .stars {
  margin-top:8px;
}

@media (max-width: 768px){
  .testimonials{
    grid-template-columns: 1fr;
  }
}

/* --- Equipo con imágenes --- */
.team--cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
}
@media (max-width: 900px){
  .team--cards{ grid-template-columns: 1fr; }
  .pcard{ flex-direction: column; }
  .pcard__media{ width:100%; min-width:unset; height: 280px; }
}
.person--img{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.person__img{
  width:86px;
  height:86px;
  border-radius: 18px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.person__img::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  background: linear-gradient(45deg, var(--cyan), var(--green));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.person:hover .person__img {
  transform: scale(1.1) rotate(3deg);
  border-color: rgba(67,200,255,.5);
  box-shadow: var(--glow-cyan);
}
.person:hover .person__img::after {
  opacity: 1;
}
.person__info p{ margin:.25rem 0; }

/* --- Contacto: tarjetas laterales + redes --- */
.contact{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:20px;
  align-items:start;
}
@media (max-width: 900px){
  .contact{ grid-template-columns: 1fr; }
}
.contact__side{ display:flex; flex-direction:column; gap:16px; }
.contactcard{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding:18px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
.contactcard h3{ margin:0 0 12px 0; font-size: 1.1rem; }
.contactcard__link{
  display:block;
  padding:12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  margin-top:12px;
  transition: all 0.3s ease;
}
.contactcard__link:hover{ background: rgba(46,245,154,.1); border-color: rgba(46,245,154,.2); }
.social{ display:flex; gap:12px; margin-top:12px; }
.social__btn{
  width:50px; height:50px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.18);  color: rgba(255,255,255,.92);
  transition: all 0.3s ease;
}
.social__btn:hover{ background: rgba(46,245,154,.1); border-color: rgba(46,245,154,.2); transform: translateY(-2px); }
.social__btn img{ width:24px; height:24px; display:block; color: currentColor; }
.small{ font-size: .9rem; }


/* --- Páginas internas (proyectos / legal) --- */
.hero--mini{ padding-top: 120px; padding-bottom: 34px; }
.detail{ display:flex; flex-direction:column; gap:14px; }
.detail__block{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding:16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.detail__list{ margin: 10px 0 0 20px; }
.gallery{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.gallery img{
  width:100%;
  height:320px;
  min-height: 280px;
  object-fit:cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.gallery img:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  border-color: rgba(46,245,154,.3);
}
@media (max-width: 900px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 280px; min-height: 240px; }
}
@media (max-width: 600px){
  .gallery{ grid-template-columns: 1fr; gap: 12px; }
  .gallery img{ height: 240px; min-height: 200px; border-radius: 16px; }
}
.legal h2{ margin-top: 18px; }

/* --- Lightbox para imágenes de galería --- */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  transition: opacity 0.3s ease;
}
.lightbox.active{
  display:flex;
  opacity:1;
}
.lightbox__content{
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: scaleIn 0.3s ease;
}
.lightbox__close{
  position:absolute;
  top:20px;
  right:20px;
  width:44px;
  height:44px;
  border-radius:14px;
  background: rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  color:var(--text);
  font-size:24px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.3s ease;
}
.lightbox__close:hover{
  background: rgba(255,255,255,.2);
  transform: scale(1.1);
}
@keyframes scaleIn{
  from{
    opacity: 0;
    transform: scale(0.8);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

.svc__icon svg{width:22px;height:22px;display:block}



/* --- Footer responsiveness --- */
@media (max-width: 900px){
  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .footer__bottom{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px){
  .footer__grid{ grid-template-columns: 1fr; }
}

/* --- FAQ Section --- */
.faq{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.faq__item{
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow:hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 6px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.03);
  position: relative;
}
.faq__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(46,245,154,.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.faq__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--cyan));
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: top;
}
.faq__item:hover{
  border-color: rgba(46,245,154,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.faq__item:hover::after {
  opacity: 1;
}
.faq__item:hover::before {
  transform: scaleY(0.5);
}
.faq__item[open]{
  border-color: rgba(46,245,154,.25);
  background: linear-gradient(145deg, rgba(46,245,154,.08), rgba(255,255,255,.03));
  box-shadow: var(--glow);
}
.faq__item[open]::before {
  transform: scaleY(1);
}
.faq__question{
  cursor:pointer;
  padding:16px 18px;
  font-weight:600;
  font-size:15px;
  list-style:none;
  position:relative;
  padding-right:50px;
  transition: all 0.3s ease;
  z-index: 1;
}
.faq__question:hover{
  color:var(--green2);
  padding-left: 22px;
}
.faq__question::before{
  content:'\002B';
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  font-weight:800;
  color:var(--green);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:8px;
  background: rgba(46,245,154,.1);
  border:1px solid rgba(46,245,154,.2);
}
.faq__item[open] > .faq__question::before{
  content:'\2212';
  transform:translateY(-50%) scale(1.1);
  color: var(--green2);
  background: rgba(46,245,154,.2);
  border-color: rgba(46,245,154,.3);
}
.faq__answer{
  padding:0 18px 20px;
  color:rgba(234,242,255,.76);
  line-height:1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  z-index: 1;
  position: relative;
}
.faq__item[open] > .faq__answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 18px 20px;
}
.faq__answer p{
  margin:0;
}
