:root {
  --bg: #060812;
  --bg-soft: #0b1020;
  --card: rgba(17, 22, 39, 0.88);
  --card-2: rgba(24, 29, 48, 0.95);
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --text: #c7cde0;
  --muted: #8f98b8;
  --title: #f4f7ff;

  --blue: #46a3ff;
  --blue-strong: #2676ff;
  --purple: #7b5cff;
  --pink: #ff5fb2;
  --orange: #ff9b42;

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(70, 163, 255, 0.12), transparent 20%),
    radial-gradient(circle at top right, rgba(255, 95, 178, 0.12), transparent 20%),
    radial-gradient(circle at bottom left, rgba(123, 92, 255, 0.14), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 155, 66, 0.10), transparent 22%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
object {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 16px;
}

h1,
h2,
h3,
.brand-text strong {
  font-family: "Sora", sans-serif;
  color: var(--title);
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.35rem;
}

p {
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-strong), var(--purple), var(--pink), var(--orange));
  background-size: 200% 200%;
  color: var(--white);
  box-shadow: 0 18px 36px rgba(77, 97, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.site-hidden {
  visibility: hidden;
}

/* INTRO */
#intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #05070f;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

#intro.fade-out {
  opacity: 0;
  visibility: hidden;
}

.intro-bg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}

.glow-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(70,163,255,0.85), transparent 60%);
  top: 12%;
  left: 18%;
  animation: floatGlow 4s ease-in-out infinite;
}

.glow-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,95,178,0.75), transparent 60%);
  bottom: 10%;
  right: 18%;
  animation: floatGlow 4.6s ease-in-out infinite;
}

.glow-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,155,66,0.65), transparent 60%);
  bottom: 18%;
  left: 42%;
  animation: floatGlow 3.8s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.05);
  }
}

.intro-stage {
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

.intro-logo-object {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.intro-brand {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: introText 0.8s ease forwards 2.1s;
}

@keyframes introText {
  to {
    opacity: 1;
  }
}

.intro-zoom {
  animation: logoZoomIntoScreen 1.05s cubic-bezier(.2,.9,.25,1) forwards;
}

@keyframes logoZoomIntoScreen {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(8);
    opacity: 1;
  }
  100% {
    transform: scale(13);
    opacity: 0;
  }
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 8, 18, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 28px rgba(70, 163, 255, 0.12);
  overflow: hidden;
}

.brand-mark-logo {
  padding: 6px;
}

.header-logo {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.2rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--white);
  font-weight: 700;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange));
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 0 90px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), transparent 90%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.24;
}

.orb-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--blue), transparent 60%);
  top: 8%;
  left: 3%;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--pink), transparent 60%);
  right: 6%;
  bottom: 4%;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--orange), transparent 60%);
  left: 42%;
  bottom: 8%;
  opacity: 0.16;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.hero-content h1 {
  max-width: 760px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 650px;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-mini-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.mini-proof-card {
  padding: 20px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mini-proof-card strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.mini-proof-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-showcase {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background: rgba(12, 16, 29, 0.96);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.38));
}

.floating-insight {
  position: absolute;
  z-index: 3;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(14, 18, 32, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.floating-insight span {
  display: block;
  color: var(--blue);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-bottom: 6px;
}

.floating-insight strong {
  color: var(--white);
  line-height: 1.5;
  font-size: 1rem;
}

.insight-1 {
  top: -18px;
  right: -16px;
}

.insight-2 {
  left: -18px;
  bottom: -16px;
}

.trust-strip {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.trust-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.trust-row span {
  color: var(--text);
  font-weight: 700;
}

.about-grid,
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-cards,
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-card,
.why-card {
  padding: 22px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card strong,
.why-card strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.about-card span,
.why-card span {
  color: var(--muted);
}

.gradient-card {
  background:
    linear-gradient(135deg, rgba(70,163,255,0.15), rgba(123,92,255,0.14), rgba(255,95,178,0.12), rgba(255,155,66,0.1)),
    linear-gradient(180deg, var(--card), var(--card-2));
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 46px;
}

.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.niche-chip {
  padding: 16px 18px;
  border-radius: 18px;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  transition: 0.35s ease;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio-top {
  position: relative;
  height: 220px;
  display: flex;
  align-items: end;
  padding: 18px;
  overflow: hidden;
}

.portfolio-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.portfolio-card:hover .portfolio-top img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.58));
}

.portfolio-top span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.portfolio-content {
  padding: 22px;
}

.portfolio-meta {
  margin-bottom: 10px;
}

.portfolio-meta strong {
  display: block;
  color: var(--white);
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.portfolio-meta small {
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.portfolio-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.status-badge {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--white);
  font-weight: 800;
  font-size: 0.86rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  padding: 26px;
  transition: 0.3s ease;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-card:hover {
  transform: translateY(-8px);
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink), var(--orange));
}

.process-card h3 {
  margin-bottom: 10px;
}

.process-card p {
  color: var(--muted);
}

.social-box,
.cta-box {
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.social-box {
  background:
    linear-gradient(135deg, rgba(70,163,255,0.08), rgba(123,92,255,0.08), rgba(255,95,178,0.06), rgba(255,155,66,0.06)),
    linear-gradient(180deg, var(--card), var(--card-2));
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer h3 {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.floating-btn {
  position: fixed;
  right: 20px;
  z-index: 1001;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  color: #fff;
}

.floating-btn:hover {
  transform: translateY(-4px);
}

.whatsapp-float {
  bottom: 20px;
  background: linear-gradient(135deg, #1db954, #25d366);
}

.instagram-float {
  bottom: 82px;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--orange));
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .process-grid,
  .niches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-showcase {
    min-height: 540px;
  }

  .social-box,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 22px;
    background: rgba(6, 8, 18, 0.98);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .desktop-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-mini-proof,
  .browser-cards,
  .browser-row,
  .about-cards,
  .why-cards,
  .portfolio-grid,
  .process-grid,
  .niches-grid {
    grid-template-columns: 1fr;
  }

  .floating-insight {
    position: static;
    max-width: 100%;
    margin-top: 14px;
  }

  .portfolio-top,
  .hero-image-wrapper,
  .hero-image-wrapper img {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 82px 0;
  }

  .hero {
    padding: 36px 0 70px;
  }

  .hero-buttons,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    justify-content: center;
  }

  .hero-showcase {
    min-height: auto;
  }

  .hero-image-wrapper {
    min-height: 360px;
  }

  .hero-image-wrapper img {
    min-height: 360px;
  }

  .portfolio-top {
    height: 210px;
  }
}
/* =========================
   AJUSTES MOBILE
========================= */
@media (max-width: 768px) {
  .nav-wrap {
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    max-width: 70%;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.55rem;
    letter-spacing: 0.09em;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-content {
    order: 1;
  }

  .hero-showcase {
    order: 2;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-showcase img {
    min-height: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
  }

  .floating-insight {
    position: static;
    max-width: 100%;
    margin-top: 12px;
  }

  .insight-1,
  .insight-2 {
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-top {
    height: 200px;
  }

  .portfolio-content {
    padding: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .floating-btn {
    right: 14px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .instagram-float {
    bottom: 74px;
  }

  .whatsapp-float {
    bottom: 18px;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .brand {
    max-width: 68%;
  }

  .brand-text strong {
    font-size: 0.88rem;
  }

  .brand-text span {
    display: none;
  }

  h1 {
    font-size: clamp(1.9rem, 11vw, 2.7rem);
  }

  .hero-showcase img {
    min-height: 220px;
    height: 220px;
  }

  .portfolio-top {
    height: 180px;
  }

  .btn {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.95rem;
  }
}