* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.7;
}

.display { font-family: 'Space Grotesk', sans-serif; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #e8e8f0;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-logo span { color: #7c6dfa; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-links a {
  font-size: 13px;
  color: rgba(232,232,240,0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links a:hover { color: #e8e8f0; }

.lang-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  border: 0.5px solid rgba(124,109,250,0.4);
  background: transparent;
  color: #7c6dfa;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-btn:hover { background: rgba(124,109,250,0.1); }

.wrapper { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

section { padding: 5rem 0; scroll-margin-top: 56px; }

.hero { padding-top: 6rem; padding-bottom: 5rem; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7c6dfa;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #f0f0fa;
  margin-bottom: 1.25rem;
}

.hero h1 em { font-style: normal; color: #7c6dfa; }

.hero-sub {
  font-size: 16px;
  color: rgba(232,232,240,0.6);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  padding: 10px 22px;
  background: #7c6dfa;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { opacity: 0.88; }

.btn-ghost {
  padding: 10px 22px;
  background: transparent;
  color: rgba(232,232,240,0.7);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: #e8e8f0; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7c6dfa;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f0f0fa;
  letter-spacing: -0.4px;
  margin-bottom: 0.6rem;
}

.section-sub {
  font-size: 14px;
  color: rgba(232,232,240,0.5);
  margin-bottom: 2.5rem;
}

.divider {
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  margin: 0 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-text { font-size: 15px; color: rgba(232,232,240,0.7); line-height: 1.8; }
.about-text p { margin-bottom: 1rem; }
.about-text .about-detail { font-size: 13px; color: rgba(232,232,240,0.4); }

.stack-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(232,232,240,0.35);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(124,109,250,0.1);
  border: 0.5px solid rgba(124,109,250,0.25);
  color: #b4aafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: rgba(124,109,250,0.35); }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124,109,250,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 20px;
  color: #7c6dfa;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #f0f0fa;
  margin-bottom: 0.4rem;
}

.service-card p { font-size: 13px; color: rgba(232,232,240,0.5); line-height: 1.6; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}

.project-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.project-card:hover { border-color: rgba(124,109,250,0.35); }

.project-thumb {
  height: 120px;
  background: linear-gradient(135deg, rgba(124,109,250,0.15) 0%, rgba(29,158,117,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(124,109,250,0.6);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.project-body { padding: 1rem 1.25rem; }
.client-logo {
  height: 150px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.client-logo-patanjali { background: #f9f8f3; }
.client-logo-beterix { background: #151a16; }
.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-card .project-body { padding: 1.5rem; }
.client-card .project-body h3 { font-size: 18px; }

.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.6rem; }

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(29,158,117,0.12);
  color: #5dcaa5;
}

.project-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f0f0fa;
  margin-bottom: 0.35rem;
}

.project-body p { font-size: 13px; color: rgba(232,232,240,0.5); line-height: 1.5; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #7c6dfa;
  margin-top: 0.75rem;
  text-decoration: none;
}

.project-link:hover { text-decoration: underline; }

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}

.blog-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(124,109,250,0.09), rgba(255,255,255,0.02));
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-item:hover, .blog-item:focus-visible {
  border-color: rgba(124,109,250,0.6);
  background: rgba(124,109,250,0.1);
}

.blog-title {
  order: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #f0f0fa;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.blog-date {
  order: 3;
  font-size: 13px;
  font-weight: 500;
  color: #b4aafc;
}

.blog-cat {
  order: 1;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(124,109,250,0.14);
  color: #c1b9ff;
  white-space: nowrap;
}

.article {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 0 6rem;
}
.article .section-label { margin-bottom: 1.25rem; }
.article h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #f0f0fa;
  margin-bottom: 1.5rem;
}
.article h1 + p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(232,232,240,0.85);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.article h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #f0f0fa;
  margin: 2.75rem 0 1rem;
}
.article p, .article li {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(232,232,240,0.75);
  margin-bottom: 1.25rem;
}
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article li { padding-left: 0.25rem; margin-bottom: 0.75rem; }
.article li::marker { color: #9e94fb; }
.article a:not(.btn-primary) { color: #b4aafc; text-underline-offset: 3px; }
.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid rgba(124,109,250,0.2);
  border-radius: 12px;
  background: rgba(124,109,250,0.06);
}

.contact-box {
  background: rgba(124,109,250,0.06);
  border: 0.5px solid rgba(124,109,250,0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0f0fa;
  margin-bottom: 0.6rem;
}

.contact-box p {
  font-size: 14px;
  color: rgba(232,232,240,0.5);
  margin-bottom: 1.75rem;
}

.contact-options { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.wa-btn {
  padding: 10px 22px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.wa-btn:hover { opacity: 0.88; }

footer {
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 12px;
  color: rgba(232,232,240,0.25);
}

.lang-es .en { display: none; }
.lang-en .es { display: none; }

@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
  .blog-item { min-height: 0; }
  .article { padding: 3.5rem 0 4rem; }
  .article-cta { padding: 1.5rem; }
  .nav-links a { display: none; }
  .nav-links a.nav-clients:not(.es):not(.en),
  .lang-es .nav-links a.nav-clients.es,
  .lang-en .nav-links a.nav-clients.en { display: block; }
  .lang-btn { display: flex; }
}
