/* =============================================
   TuAgenciaWeb – Design System & Styles
   ============================================= */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --primary: #6c63ff;
  --primary-dark: #5046e5;
  --primary-glow: rgba(108, 99, 255, 0.35);
  --accent: #06d6a0;
  --accent-pink: #ff6b9d;
  --accent-orange: #ff9f43;
  --bg-0: #0a0a0f;
  --bg-1: #0f0f1a;
  --bg-2: #13131f;
  --bg-card: #16162a;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(108, 99, 255, 0.4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION BASE ---- */
.section {
  padding: 100px 0;
}

/* ---- TYPOGRAPHY ---- */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px var(--primary-glow), 0 0 0 1px rgba(108, 99, 255, .5);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--border-hover);
  color: var(--primary);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(108, 99, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn--block {
  width: 100%;
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  margin-top: 24px;
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ---- SECTION CTA ---- */
.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ---- LOGO JPG (fondo blanco) ---- */
.nav__logo-img-wrap {
  /* Pill blanco que contiene el logo y simula su fondo original */
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
  /* Clip para respetar el border-radius aunque la imagen sea cuadrada */
  overflow: hidden;
}

.nav__logo:hover .nav__logo-img-wrap {
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4), 0 0 0 2px rgba(108, 99, 255, 0.3);
  transform: scale(1.03);
}

.nav__logo-img {
  /* Ratio 16:9 (ancho × 9/16 = alto). Ajustá max-width a tu gusto. */
  display: block;
  width: auto;
  max-height: 44px;
  /* altura máxima en el nav */
  max-width: 160px;
  /* ancho máximo — ajustar si el logo es más ancho */
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  margin-left: 12px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.2), transparent 70%);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.12), transparent 70%);
  top: 200px;
  right: 0;
  animation-delay: 3s;
}

.orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1), transparent 70%);
  bottom: 100px;
  left: 30%;
  animation-delay: 5s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 20px) scale(0.97);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 4px var(--accent);
  }

  50% {
    box-shadow: 0 0 12px var(--accent);
  }
}

.hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- HERO MOCKUP ---- */
.hero__mockup {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  z-index: 1;
  pointer-events: none;
}

.mockup-browser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 80px rgba(108, 99, 255, 0.15);
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.mockup-browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red {
  background: #ff5f56;
}

.dot--yellow {
  background: #ffbd2e;
}

.dot--green {
  background: #27c93f;
}

.address-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  margin-left: 8px;
  flex: 1;
}

.mockup-browser__screen {
  padding: 20px;
  background: var(--bg-1);
}

/* Browser screen mock content */
.mock-hero-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-bottom: 12px;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.mock-logo {
  width: 80px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mock-nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.mock-nav-links span {
  display: block;
  width: 36px;
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}

.mock-btn {
  width: 60px;
  height: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
}

.mock-content {
  margin-bottom: 24px;
}

.mock-headline {
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin-bottom: 10px;
}

.mock-headline--sm {
  width: 65%;
  background: rgba(255, 255, 255, 0.08);
}

.mock-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mock-cta {
  height: 22px;
  border-radius: 5px;
  width: 90px;
}

.mock-cta--filled {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.mock-cta--outline {
  border: 1.5px solid rgba(108, 99, 255, 0.4);
}

.mock-cards {
  display: flex;
  gap: 12px;
}

.mock-card {
  flex: 1;
  height: 70px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Phone mockup */
.mockup-phone {
  position: absolute;
  bottom: -20px;
  right: -50px;
  width: 110px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  animation: mockupFloat 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.mockup-phone__screen {
  background: var(--bg-1);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-nav {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.phone-hero {
  height: 32px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.3), rgba(6, 214, 160, 0.15));
  border-radius: 5px;
}

.phone-card {
  height: 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
  opacity: 0.6;
}

.trust-logo:hover {
  color: var(--text-secondary);
  opacity: 1;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--bg-0);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.15), rgba(108, 99, 255, 0.05));
  border-color: rgba(108, 99, 255, 0.35);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(40deg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon--blue {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
}

.service-card__icon--purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.service-card__icon--pink {
  background: rgba(255, 107, 157, 0.15);
  color: var(--accent-pink);
}

.service-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.service-card__features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}

.service-card__link:hover {
  gap: 10px;
}

.service-card__link span {
  transition: transform 0.2s;
}

.service-card__link:hover span {
  transform: translateX(4px);
}

/* =============================================
   WHY US
   ============================================= */
.why-us {
  background: var(--bg-1);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.why-us__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon--blue {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
}

.feature-icon--green {
  background: rgba(6, 214, 160, 0.12);
  color: var(--accent);
}

.feature-icon--orange {
  background: rgba(255, 159, 67, 0.15);
  color: var(--accent-orange);
}

.feature-icon--purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.feature-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   POSIBILIDADES
   ============================================= */
.posibilidades {
  background: var(--bg-0);
}

.posib__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.posib-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.posib-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--c1-raw), 0.04), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.posib-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.posib-card:hover::after {
  opacity: 1;
}

/* Ícono con gradiente propio via CSS vars */
.posib-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  margin-bottom: 4px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--c1) 40%, transparent);
}

.posib-card__plan {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.posib-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.posib-card__desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.posib-card__items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.posib-card__items li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.posib-card__items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c1, var(--primary));
  font-size: 0.7rem;
}

/* Última card: CTA */
.posib-card--cta {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(6, 214, 160, 0.06));
  border-color: rgba(108, 99, 255, 0.3);
  justify-content: center;
  text-align: center;
  align-items: center;
}

.posib-card--cta .posib-card__icon {
  margin-bottom: 8px;
}

.posib-card--cta .posib-card__desc {
  text-align: center;
}

.posib-card__btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}



.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.portfolio-item__img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

/* Portfolio mockup screens */
.portfolio-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pm-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.pm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.pm-url {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 4px;
  font-family: monospace;
}

.pm-screen {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .pm-screen {
  transform: scale(1.03);
}

.pm-screen--warm {
  background: linear-gradient(135deg, #2d1415, #3d2010);
}

.pm-screen--navy {
  background: linear-gradient(135deg, #0d1b2a, #162840);
}

.pm-screen--teal {
  background: linear-gradient(135deg, #0b2d2a, #103030);
}

.pm-screen--dark {
  background: linear-gradient(135deg, #0f0f1f, #1a1040);
}

.pm-hero-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-h1 {
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  width: 80%;
}

.pm-h2 {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  width: 60%;
}

.pm-btn-row {
  margin-top: 10px;
}

.pm-btn {
  height: 20px;
  width: 70px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.pm-btn--gold {
  background: linear-gradient(90deg, #c8a84b, #e6c47a);
}

.pm-btn--white {
  background: rgba(255, 255, 255, 0.9);
}

.pm-btn--gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pm-cards-row {
  display: flex;
  gap: 8px;
}

.pm-mini-card {
  flex: 1;
  height: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.pm-mini-card--dark {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(200, 168, 75, 0.3);
}

.pm-mini-card--light {
  background: rgba(255, 255, 255, 0.15);
}

.pm-mini-card--glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item__info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-item__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.portfolio-item__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.portfolio-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  background: var(--bg-1);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  background: linear-gradient(160deg, var(--primary-dark), #3730a3);
  border-color: rgba(108, 99, 255, 0.6);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow), 0 0 60px rgba(108, 99, 255, 0.25);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #1a1200;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 28px;
}

.pricing-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pricing-icon--blue {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
}

.pricing-icon--white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pricing-icon--purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.pricing-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-card--featured .pricing-card__name {
  color: #fff;
}

.pricing-card__tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-card--featured .pricing-card__tagline {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-from {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-card--featured .price-from {
  color: rgba(255, 255, 255, 0.6);
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card--featured .price-amount {
  color: #fff;
}

.price-currency {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-card--featured .price-currency {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pricing-card--featured .pricing-card__features {
  border-color: rgba(255, 255, 255, 0.15);
}

.feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.feat::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
}

.feat--yes {
  color: var(--text-secondary);
}

.feat--yes::before {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2306d6a0' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}

.feat--no {
  color: var(--text-muted);
}

.feat--no::before {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid var(--text-muted);
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px;
}

.pricing-card--featured .feat--yes {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card--featured .feat--no {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card--featured .btn--primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.pricing-card--featured .btn--primary:hover {
  background: #f1f5f9;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing__note svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--bg-0);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: sticky;
  top: 100px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: var(--border-hover);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg-1);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: sticky;
  top: 100px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-detail__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}

a.contact-detail__value:hover {
  color: var(--primary);
}

/* ---- FORM ---- */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form__input {
  background: var(--bg-1);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form__input.invalid {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form__select option {
  background: var(--bg-card);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-check {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.captcha-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form__success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  color: var(--accent);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.form__success.visible {
  display: flex;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo {
  margin-bottom: 12px;
  display: inline-flex;
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: var(--border-hover);
  color: var(--primary);
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__copy,
.footer__made {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.wsp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}

.wsp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.wsp-float__tooltip {
  position: absolute;
  right: 74px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.wsp-float:hover .wsp-float__tooltip {
  opacity: 1;
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.services__grid .reveal-up:nth-child(2) {
  transition-delay: 0.12s;
}

.services__grid .reveal-up:nth-child(3) {
  transition-delay: 0.24s;
}

.pricing__grid .reveal-up:nth-child(2) {
  transition-delay: 0.12s;
}

.pricing__grid .reveal-up:nth-child(3) {
  transition-delay: 0.24s;
}

.posib__grid .reveal-up:nth-child(2) {
  transition-delay: 0.07s;
}

.posib__grid .reveal-up:nth-child(3) {
  transition-delay: 0.14s;
}

.posib__grid .reveal-up:nth-child(4) {
  transition-delay: 0.21s;
}

.posib__grid .reveal-up:nth-child(5) {
  transition-delay: 0.28s;
}

.posib__grid .reveal-up:nth-child(6) {
  transition-delay: 0.35s;
}

.posib__grid .reveal-up:nth-child(7) {
  transition-delay: 0.42s;
}

.posib__grid .reveal-up:nth-child(8) {
  transition-delay: 0.49s;
}

.why-us__right .reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}

.why-us__right .reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}

.why-us__right .reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .hero__mockup {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .why-us__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-us__right {
    grid-template-columns: 1fr 1fr;
  }

  .posib__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__left {
    position: static;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__info {
    position: static;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet small – 768px */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Nav */
  .nav__menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__link {
    font-size: 1.3rem;
    padding: 12px 24px;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
    z-index: 1000;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .why-us__right {
    grid-template-columns: 1fr;
  }

  .posib__grid {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    max-width: 100%;
  }

  .form {
    padding: 28px 20px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile – 480px */
@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat__divider {
    display: none;
  }

  .trust-bar__logos {
    gap: 20px;
  }

  .trust-logo {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* ---- NETLIFY HONEYPOT (siempre oculto) ---- */
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}