:root {
  --dark: #101014;
  --dark-2: #17171d;
  --text: #17171a;
  --muted: #686870;
  --white: #fff;
  --light: #f5f5f2;
  --purple: #6845ff;
  --purple-dark: #4f2fe0;
  --orange: #ff7656;
  --line: #dedee3;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }

.header {
  height: 82px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -.06em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand > span:first-child {
  background: var(--purple);
  color: white;
  border-radius: 8px;
  padding: 5px 7px;
  font-size: .75rem;
  letter-spacing: -.04em;
}

.brand span:last-child {
  color: var(--purple);
  letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .78rem; font-weight: 600; color: #4b4b53; }
.nav a:hover { color: var(--purple); }

.nav-cta {
  color: white !important;
  background: var(--purple);
  padding: 13px 20px;
  border-radius: 30px;
}

.hamburger { display: none; }

.mobile-nav {
  display: none;
}

.hero {
  min-height: 730px;
  padding: 170px max(24px, calc((100vw - var(--max)) / 2)) 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f7f7f4 0%, #fff 50%, #f0efff 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 780px; 
}

.hero-tag, .eyebrow {
  color: var(--purple);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.5rem, 7.4vw, 7.2rem);
  line-height: .98;
  letter-spacing: -.08em;
  margin: 25px 0 30px;
  font-weight: 600;
}

.hero h1 strong {
  color: var(--purple);
  font-weight: 800;
}

.hero p {
  max-width: 550px;
  color: #5f5f66;
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 30px;
  padding: 15px 23px;
  display: inline-flex;
  gap: 25px;
  align-items: center;
  font-weight: 600;
  font-size: .78rem;
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 12px 25px rgba(104,69,255,.23);
  transition: transform .25s, background .25s;
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
}

.btn-link { color: #36363b; }
.btn-link:hover { color: var(--purple); }

.hero-card {
  position: absolute;
  right: 8%;
  top: 28%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 30px 80px rgba(104,69,255,.25);
}

.hero-card span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; line-height: 1.7; }
.mini-circle { position: absolute; top: 38px; font-size: 2rem; }

.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); }
.shape-1 { width: 320px; height: 320px; background: #ded7ff; right: -100px; bottom: -140px; }
.shape-2 { width: 120px; height: 120px; background: #ffdfd7; right: 43%; top: 17%; }
.shape-3 { width: 18px; height: 18px; background: var(--orange); right: 13%; top: 18%; 

}

.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats div { border-left: 1px solid var(--line); padding-left: 25px; }
.stats strong { display: block; font-size: 2.3rem; font-family: "Montserrat"; color: var(--purple); }
.stats span { color: var(--muted); font-size: .76rem; 
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 80px 24px;
}

.section-intro h2, .section-title h2 {
  font-family: "Montserrat";
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.07em;
  margin: 15px 0 25px;
}

.section h2 em { color: var(--purple); font-style: normal; }

.section-intro > p { max-width: 770px; color: var(--muted); line-height: 1.7; }

.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  min-height: 50px;
  padding: 70px 20px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: .3s ease;
}

.service:last-child { border-right: 0; }
.service:hover { background: var(--light); transform: translateY(-5px); 
}

.number { color: #aaaab0; font-size: .7rem; }
.icon {
  margin: 35px 0 25px;
  font-size: 2.5rem;
  color: var(--purple);
}

.service h3 { font-family: "Montserrat"; font-size: 1.25rem; margin-bottom: 15px; }
.service p { color: var(--muted); font-size: .8rem; line-height: 1.7; }
.service a {
  position: absolute;
  bottom: 30px;
  color: var(--purple);
  font-size: .72rem;
  font-weight: 700;
}



.portfolio { background: #fff; 
}
.section-title { position: relative; }
.section-title > a {
  position: absolute;
  right: 0;
  bottom: 15px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--purple);
}

.portfolio-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px 25px;
}

.case-big { grid-column: span 2; }
.case-image {
  min-height: 430px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform .5s;
}
.case-big .case-image { min-height: 590px; }
.case:hover .case-image { transform: scale(.985); }

.case-image::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 130%;
  left: 22%;
  top: -15%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  transform: rotate(25deg);
}

.case-image span {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255,255,255,.9);
  padding: 8px 13px;
  border-radius: 20px;
  font-size: .58rem;
  font-weight: 800;
}

.case-1 { background: linear-gradient(135deg, #342078, #b46cff 45%, #ff9e75); }
.case-2 { background: linear-gradient(135deg, #ffd8ca, #ff8060 55%, #5a214b); }
.case-3 { background: linear-gradient(135deg, #111d4d, #487cff 45%, #65e0d4); }

.case-info { padding: 17px 5px; }
.case-info h3 { font-family: "Montserrat"; font-size: 1.2rem; }
.case-info p { color: var(--muted); font-size: .7rem; margin-top: 5px; }

.about {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: white;
}

.about-inner {
  display: grid;
  grid-template-columns: 25% 1fr;
  position: relative;
  z-index: 2;
}


.about-copy { max-width: 800px; }
.about-copy h2 {
  font-family: "Montserrat";
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.08em;
  margin-bottom: 40px;
}
.about-copy h2 em { color: #a991ff; }
.about-copy p { color: #b3b3bd; line-height: 1.8; max-width: 620px; }
.text-button {
  display: inline-block;
  margin-top: 35px;
  border-bottom: 1px solid #8c78ff;
  padding-bottom: 7px;
  color: #a991ff;
  font-size: .75rem;
  font-weight: 700;
}


.about-shape {
  position: absolute;
  width: 550px;
  height: 550px;
  right: -180px;
  top: -150px;
  border-radius: 50%;
  border: 1px solid rgba(169,145,255,.4);
  box-shadow: 0 0 0 80px rgba(104,69,255,.08), 0 0 0 160px rgba(104,69,255,.05);
}

.about1 {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: white;

}
.about-shape1 {
  position: absolute;
  width: 250px;
  height: 250px;
  right: -180px;
  top: -150px;
  border-radius: 50%;
  border: 1px solid rgba(169,145,255,.4);
  box-shadow: 0 0 0 80px rgba(104,69,255,.08), 0 0 0 160px rgba(104,69,255,.05);
}
.about-inner1 {
  display: grid;
  grid-template-columns: 50% 1fr;
  position: relative;
  z-index: 1;
}
.about-copy1 { max-width:relative;
 background: var(--white);
  color: black;
  box-shadow: 0 12px 25px rgba(104,69,255,.23);
  transition: transform .25s, background .25s;
  border: 0,5px solid rgba(169,145,255,.4);
  margin: 10px 0 10px;
  padding: 30px 20px;
}
 
 .about-copy1:hover {
  background: var(--light); transform: translateY(-5px);

}
.about-copy1 h2 {
  font-family: "Montserrat";
  font-size: clamp(3rem, 3vw, 3.5rem);
  line-height: .95;
  letter-spacing: -.08em;
  margin-bottom: 20px;
}
.about-copy1 h2 em { color: #a991ff; 
}
.about-copy1 p { color: #b3b3bd; line-height: 1.8; max-width: 520px; 
}

.text-button1 {
  display: inline-block;
  margin-top: 15px;
  border-bottom: 1px solid #8c78ff;
  padding-bottom: 7px;
  color: #a991ff;
  font-size: .75rem;
  font-weight: 700;
}
.reveal1 {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible1 { opacity: 1; transform: translateY(0); 
}
.clients h2 {
  font-family: "Montserrat";
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.07em;
  line-height: 1;
  margin: 25px 0 70px;
}
.hero-tag, .eyebrow1 {
  color: var(--purple);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
}


.btn1 {
  border: 0;
  cursor: pointer;
  border-radius: 30px;
  padding: 15px 23px;
  display: inline-flex;
  gap: 25px;
  align-items: center;
  font-weight: 600;
  font-size: .78rem;
}

.btn-primary1 {
  background: var(--purple);
  color: white;
  box-shadow: 0 12px 25px rgba(104,69,255,.23);
  transition: transform .25s, background .25s;
}

.btn-primary1:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
}

.btn-link1 { color: #36363b; }
.btn-link1:hover { color: var(--purple); }

.clients h2 {
  font-family: "Montserrat";
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.07em;
  line-height: 1;
  margin: 25px 0 70px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client-grid span {
  padding: 45px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Montserrat";
  font-size: 1.1rem;
  font-weight: 800;
  color: #9999a0;
}

.contact { background: #f2f1ff; }
.contact-inner { padding-bottom: 100px; }
.contact h2 {
  font-family: "Montserrat";
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -.08em;
  line-height: .95;
  margin: 25px 0;
}
.contact h2 em { color: var(--purple); font-style: normal; }
.contact-inner > p { color: var(--muted); max-width: 560px; margin-bottom: 45px; }

form { max-width: 800px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bbb9c8;
  background: transparent;
  padding: 17px 5px;
  margin-bottom: 15px;
  outline: none;
  color: var(--text);
}
input:focus, textarea:focus { border-color: var(--purple); }
textarea { resize: vertical; }
form .btn { margin-top: 10px; }
#formMessage { margin-top: 15px; font-size: .75rem; color: var(--purple); }

.footer {
  background: #0e0e12;
  color: #9999a3;
  padding: 35px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
}
.footer .brand { color: white; }
.footer .brand span:last-child { color: #a991ff; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #20b957;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .header { height: 70px; }
  .nav { display: none; }
  .hamburger {
    display: flex;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  .hamburger i { width: 24px; height: 2px; background: var(--text); }

  .mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 99;
    background: white;
    padding: 20px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    transform: translateY(-120%);
    transition: transform .35s ease;
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
  }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { font-weight: 700; }

  .hero { min-height: 720px; padding-top: 135px; }
  .hero h1 { font-size: 3.9rem; }
  .hero-card { width: 170px; height: 170px; right: -30px; top: 55%; }
  .hero-card span { font-size: .55rem; }
  .mini-circle { top: 20px; }

  .stats { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .stats strong { font-size: 1.8rem; }

  .section { padding-top: 50px; padding-bottom: 50px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service { border-bottom: 1px solid var(--line); }
  .service:nth-child(2) { border-right: 0; }

  .about-inner { grid-template-columns: 1fr; gap: 45px; }
  .about-shape { width: 350px; height: 350px; right: -180px; }

  .about-inner1 { grid-template-columns: 1fr; gap: 45px; }
  .about-shape1 { width: 350px; height: 350px; right: -180px; }

  .client-grid { grid-template-columns: 1fr 1fr; }
  .footer { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 3.2rem; }
  .hero-card { opacity: .7; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .stats div { padding-left: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { border-right: 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .case-big { grid-column: span 1; }
  .case-big .case-image { min-height: 400px; }
  .section-title > a { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

/* Este es un comentario corto comentarios
.service1:hover { background: var(--light); transform: translateY(-5px); 
}*/
