@import url("https://fonts.googleapis.com/css2?family=Cousine:wght@400;700&family=Montserrat:wght@400;700&display=swap");


:root {
  --purple-bg: #271178;
  --purple-dark: #0a0135;
  --purple-card: #301483;
  --purple-bright: #7A29EA;
  --teal: #20cfc2;
  --light-bg: #ececec;
  --white: #ffffff;
  --text-dark: #191919;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
}

h1,
h2,
h3,
.main-nav a,
.logo,
.testimonial-name {
  font-family: "Cousine", monospace;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

p,
.text-secondary {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
  margin-top: 20px;
}

p + p {
  margin-top: 15px;
}

.container {
  width: min(1220px, 100% - 80px);
  margin: 0 auto;
}

.top-bar {
  background: rgb(27, 14, 61);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  min-height: 26px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.top-email {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-family: "Cousine", monospace;
  font-size: 0.78rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-email::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #7539f2;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm0 2v.22l8 5.33 8-5.33V8l-8 5.33L4 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm0 2v.22l8 5.33 8-5.33V8l-8 5.33L4 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-social-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #7539f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.top-social-icon:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.top-social-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.top-lang-dropdown {
  position: relative;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 2px solid #7539f2;
}

.top-lang-dropdown summary {
  color: rgba(255, 255, 255, 0.84);
  font-family: "Cousine", monospace;
  font-size: 0.84rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  cursor: pointer;
  vertical-align: top;
}

.top-lang-dropdown summary::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #7539f2;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 9h-3.02a15.3 15.3 0 0 0-1.26-5.08A8.02 8.02 0 0 1 18.9 11ZM12 4.04c.88 1.2 1.76 3.26 2.1 5.96H9.9c.34-2.7 1.22-4.76 2.1-5.96ZM4.02 13h3.03c.15 1.86.62 3.63 1.34 5.1A8.03 8.03 0 0 1 4.02 13Zm3.03-2H4.02a8.03 8.03 0 0 1 4.37-5.1A15.3 15.3 0 0 0 7.05 11Zm1.99 0a13.93 13.93 0 0 1 1.24-5.61A13.9 13.9 0 0 1 11.96 11H9.04Zm2.92 2a13.9 13.9 0 0 1-1.68 5.61A13.93 13.93 0 0 1 9.04 13h2.92Zm1.08 5.61A13.9 13.9 0 0 1 12.04 13h2.92a13.93 13.93 0 0 1-1.24 5.61ZM16.95 13h3.03a8.03 8.03 0 0 1-4.37 5.1c.72-1.47 1.19-3.24 1.34-5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 9h-3.02a15.3 15.3 0 0 0-1.26-5.08A8.02 8.02 0 0 1 18.9 11ZM12 4.04c.88 1.2 1.76 3.26 2.1 5.96H9.9c.34-2.7 1.22-4.76 2.1-5.96ZM4.02 13h3.03c.15 1.86.62 3.63 1.34 5.1A8.03 8.03 0 0 1 4.02 13Zm3.03-2H4.02a8.03 8.03 0 0 1 4.37-5.1A15.3 15.3 0 0 0 7.05 11Zm1.99 0a13.93 13.93 0 0 1 1.24-5.61A13.9 13.9 0 0 1 11.96 11H9.04Zm2.92 2a13.9 13.9 0 0 1-1.68 5.61A13.93 13.93 0 0 1 9.04 13h2.92Zm1.08 5.61A13.9 13.9 0 0 1 12.04 13h2.92a13.93 13.93 0 0 1-1.24 5.61ZM16.95 13h3.03a8.03 8.03 0 0 1-4.37 5.1c.72-1.47 1.19-3.24 1.34-5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}

.top-lang-dropdown summary::-webkit-details-marker {
  display: none;
}

.top-lang-dropdown summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  font-size: 0;
  line-height: 0;
}

.top-lang-dropdown summary span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
  color: #7539f2;
}

.top-lang-dropdown[open] summary span::before {
  transform: rotate(-135deg) translateY(-1px);
}

.top-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: #12024b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}

.top-lang-dropdown[open] .top-lang-menu {
  display: flex;
}

.top-lang-menu a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-family: "Cousine", monospace;
  font-size: 0.82rem;
  border-radius: 7px;
  padding: 6px 8px;
}

.top-lang-menu a:hover,
.top-lang-menu a.active {
  background: rgba(117, 57, 242, 0.28);
  color: var(--white);
}

.top-lang-dropdown summary:hover,
.top-email:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0236;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 108px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  gap: clamp(20px, 4vw, 58px);
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}

.main-nav a.active {
  color: var(--purple-bright);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--purple-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.hero {
  min-height: calc(50vh - 72px);
  color: var(--white);
  background:
    linear-gradient(rgba(11, 2, 54, 0.42), rgba(17, 4, 71, 0.52)),
    url("../img/uiux/general/Blackground del home.png");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0 120px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 900px;
}

.hero p {
  max-width: 820px;
  margin: 18px 0 26px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero.hero--error404,
.hero.hero--thanks {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero.hero--error404 .hero-inner--error,
.hero.hero--thanks .hero-inner--error {
  padding: 64px 0 96px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.hero.hero--error404 .error-code {
  font-family: "Cousine", monospace;
  font-size: clamp(3.25rem, 13vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #d4b8ff 0%, var(--purple-bright) 42%, #4a18b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.07em;
}


.hero.hero--thanks .thanks-kicker {
  font-family: "Cousine", monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4b8ff;
  margin: 0 0 16px;
}

.hero.hero--error404 h1,
.hero.hero--thanks h1 {
  margin: 0 auto;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 100%;
}

.hero.hero--error404 .hero-lead,
.hero.hero--thanks .hero-lead {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero.hero--error404 .error-actions,
.hero.hero--thanks .error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.btn-error-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 22px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-error-outline:hover {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

html.thanks-boot.thanks-lang-en [data-thanks-lang="es"],
html.thanks-boot.thanks-lang-en [data-thanks-footer="es"] {
  display: none !important;
}

html.thanks-boot.thanks-lang-es [data-thanks-lang="en"],
html.thanks-boot.thanks-lang-es [data-thanks-footer="en"] {
  display: none !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(180deg, #8a39fb 0%, #6621df 100%);
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.section {
  padding: 80px 0;
  scroll-margin-top: 84px;
}

.section h2 {
  margin: 0 0 20px;
  text-align: center;
  color: var(--purple-bright);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-services {
  background: var(--light-bg);
}

.service-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--purple-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.service-image-1 { background-image: url("../img/uiux/general/servicio-implementacion.png"); }
.service-image-2 { background-image: url("../img/uiux/general/servicio-optimizacion.png"); }
.service-image-3 { background-image: url("../img/uiux/general/servicio-automatizacion.png"); }
.service-image-4 { background-image: url("../img/uiux/general/servicio-personalizacion.png"); }

.service-body {
  padding: 22px 20px 24px;
  color: var(--white);
  text-align: center;
}

.service-body h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.service-body p {
  margin: 0;
}

.section-why {
  background: #f4f4f4;
}

.section-why h2 {
  color: #1b1372;
}

.reason-card {
  background: var(--purple-card);
  color: var(--white);
  border-radius: 18px;
  padding: 24px 22px 20px;
}

.reason-number {
  display: block;
  color: #6930eb;
  font-family: "Cousine", monospace;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.reason-card h3 {
  margin: 6px 0 10px;
  color: var(--teal);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.reason-card p {
  margin: 0;
}

.section-divider {
  background: #f4f4f4;
  line-height: 0;
}

.section-divider img {
  width: 100%;
  display: block;
  height: auto;
  max-height: 160px;
  object-fit: cover;
}

.section-how {
  background: var(--purple-bg);
}

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 34px;
  align-items: center;
}

.how-title h2 {
  text-align: left;
  color: var(--purple-bright);
  margin: 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: #f2f2f2;
  border-radius: 18px;
  padding: 20px 22px;
}

.step-number {
  display: block;
  font-family: "Cousine", monospace;
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
}

.step-card h3 {
  margin: 6px 0 12px;
  color: var(--purple-bright);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.step-card p {
  margin: 0;
}

.section-testimonials {
  background: #ededed;
}

.section-testimonials h2 {
  color: #1b1372;
}

.testimonial-grid {
  margin-top: 92px;
  align-items: stretch;
}

.testimonial-card {
  border-radius: 18px;
  padding: 110px 36px 36px;
  background: linear-gradient(180deg, #7d2cf0 0%, #6a2be3 100%);
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.avatar-placeholder {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background: transparent;
  position: absolute;
  top: -78px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

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

.testimonial-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 28px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}

.testimonial-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.logo-strip {
  margin-top: 34px;
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 8px 0;
  display: none;
}

.logo-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 26px;
  animation: logo-marquee 18s linear infinite;
}

.logo-strip-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-pill {
  min-width: 110px;
  height: 58px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-pill img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-contact {
  background: var(--purple-bg);
  color: var(--white);
}

.contact-page .section-contact {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 34px;
  align-items: stretch;
  position: relative;
  min-height: 500px;
}

.contact-copy h1 {
  text-align: left;
  margin: 0 0 18px;
  color: var(--white);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 560px;
}

.contact-copy h2 {
  text-align: left;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.3rem, 4vw, 5rem);
  line-height: 1.05;
  max-width: 560px;
}

.contact-copy p {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper {
  position: relative;
  padding-right: 150px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 3px solid #7034ec;
  background: #f7f7f7;
  color: #444;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 1.05rem;
  outline: 0;
}

.contact-form input {
  height: 50px;
  padding: 0 20px;
}

.contact-form textarea {
  min-height: calc(100% - 290px);
  resize: none;
  border-radius: 30px;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

.form-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mascot-placeholder {
  position: absolute;
  right: 35px;
  bottom: 25px;
  width: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.mascot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-footer {
  background: #0b0236;
  color: rgba(255, 255, 255, 0.82);
  padding: 54px 0 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 28px 40px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Cousine", monospace;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Cousine", monospace;
  font-size: 1.9rem;
  line-height: 1.1;
}

.footer-col p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-social {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: #7539f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-links a::before {
  content: "›";
  color: #7539f2;
  margin-right: 8px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-row {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-contact-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
}

.footer-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #7539f2;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-contact-card h5 {
  margin: 0 0 4px;
  color: var(--white);
  font-family: "Cousine", monospace;
  font-size: 1.45rem;
  line-height: 1.1;
}

.footer-contact-card p,
.footer-contact-card a {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-contact-card a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

label,
.label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1220px, 100% - 34px);
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 16px;
    border-radius: 14px;
    gap: 12px;
    background: #12024b;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .top-bar-inner {
    min-height: 26px;
    padding: 8px 0;
  }

  .top-email {
    display: none;
  }

  .top-actions {
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
  }

  .hero h1 br {
    display: none;
  }

  .how-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .how-title h2 {
    text-align: center;
  }

  .contact-form-wrapper {
    padding-right: 0;
  }

  .mascot-placeholder {
    position: absolute;
    right: -50px;
    bottom: 0px;
    width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
  }
}

@media (max-width: 680px) {
  .grid.four,
  .grid.three,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .section-testimonials h2 {
    margin-bottom: 24px;
  }

  .testimonial-grid {
    margin-top: 56px;
    gap: 56px;
  }

  .testimonial-card {
    padding: 70px 20px 24px;
  }

  .avatar-placeholder {
    width: 118px;
    height: 118px;
    top: -54px;
  }

  .testimonial-text {
    padding-bottom: 20px;
  }

  .hero.hero--error404 h1,
.hero.hero--thanks h1 {
    font-size: 36px;
  }

  .hero.hero--error404 .hero-inner--error,
.hero.hero--thanks .hero-inner--error {
    padding: 48px 0 72px;
  }

  .logo-pill {
    min-width: 84px;
    height: 40px;
    font-size: 0.8rem;
  }
}

/* Nosotros page */
.nosotros-body .nosotros-page {
  width: 100%;
}

.nosotros-body .nosotros-page .section {
  padding: 80px 0;
}

.nosotros-body .section-que-es {
  min-height: 78vh;
  position: relative;
  overflow: hidden;
  background: url("../img/uiux/general/zteam.png");
  background-size: cover;
  background-position: center;
}

.nosotros-body .section-overlay {
  position: absolute;
  inset: 0;
}

.nosotros-body .que-es-inner {
  position: relative;
  z-index: 1;
  color: var(--white);
  min-height: 64vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.nosotros-body .que-es-inner h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

.nosotros-body .que-es-inner p {
  margin: 18px auto 0;
  max-width: 760px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.nosotros-body .section-socios {
  background: #2b157f;
}

.nosotros-body .socios-inner h2 {
  margin: 0 0 38px;
  text-align: center;
  color: var(--purple-bright);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.nosotros-body .socios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 140px;
  justify-items: center;
  align-items: stretch;
}

.nosotros-body .socio-card {
  width: 360px;
  min-height: 470px;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nosotros-body .socio-card-link {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nosotros-body .linkedin-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7539f2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.nosotros-body .socio-card-link:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 4px;
}

.nosotros-body .socio-card-link:focus-visible .linkedin-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nosotros-body .socio-photo {
  height: 360px;
  flex: 0 0 360px;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.nosotros-body .socio-photo-ceo {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-image: url("../img/uiux/general/retrato-mathias.png");
}

.nosotros-body .socio-photo-cto {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-image: url("../img/uiux/general/retrato-dagoberto.png");
}

.nosotros-body .socio-copy {
  padding: 14px 16px 12px;
  text-align: center;
  min-height: 110px;
}

.nosotros-body .socio-role {
  display: block;
  color: #1ec9ba;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
}

.nosotros-body .socio-copy h3 {
  margin: 7px 0 0;
  color: #0a0135;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.nosotros-body .section-sobre {
  background: #1ec9ba;
}

.nosotros-body .nosotros-page section.section-sobre {
  padding-top: 120px;
}

.nosotros-body .sobre-inner {
  position: relative;
  padding-top: 34px;
}

.nosotros-body .mascot-badge {
  position: absolute;
  top: -60px;
  right: 36px;
  width: 170px;
  height: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nosotros-body .mascot-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  top: -53px;
}

.nosotros-body .sobre-card {
  margin-bottom: 22px;
  border: 5px solid #2b157f;
  border-radius: 20px;
  background: #fefefe;
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 0.85fr 1.8fr;
  gap: 28px;
}

.nosotros-body .sobre-card:last-child {
  margin-bottom: 0;
}

.nosotros-body .sobre-card h3 {
  margin: 0;
  color: var(--purple-bright);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.nosotros-body .sobre-card p {
  margin: 0;
  color: #2f2f2f;
  font-size: 20px;
  line-height: 1.22;
}

.nosotros-body .section-oficinas {
  background: #2b157f;
}

.nosotros-body .oficinas-inner h2 {
  margin: 0;
  text-align: center;
  color: var(--white);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.nosotros-body .oficinas-list {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.nosotros-body .oficinas-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: clamp(1.15rem, 1.9vw, 2rem);
  line-height: 1.12;
}

.nosotros-body .oficinas-list li span {
  font-size: 20px;
}

.nosotros-body .oficinas-list li img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

/* Servicios page */
.servicios-body .servicios-page {
  width: 100%;
}

.servicios-body .container {
  width: 100%;
}

.servicios-body .top-bar .container {
  width: min(1220px, 100% - 80px);
}

.servicios-body .site-footer .container {
  width: min(1220px, 100% - 80px);
}

.servicios-body .container.header-inner {
  width: min(1220px, 100% - 80px);
  margin: auto;
}

.servicios-body .servicios-page .section {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  padding: 88px 0;
}


.servicios-body .section.section-que-hacemos {
  background: var(--light-bg);
  padding: 88px 0 0;
}

.servicios-body .section h2 {
  color: inherit;
}

.servicios-body .section-que-hacemos h1 {
  margin: 0 0 80px;
  text-align: center;
  color: var(--purple-bright);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

main > section:first-of-type h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

main > section:first-of-type.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.servicios-body .srv-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  background: linear-gradient(180deg, var(--purple-bright) 0%, #7d3cf4 100%);
  border-radius: 12px 12px 0 0;
  padding: 14px 60px 58px;
  overflow: visible;
}

.servicios-body .srv-service-card {
  color: #fff;
  position: relative;
  top: -60px;
  margin-bottom: -60px;
  border-radius: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.servicios-body .srv-service-image {
  height: 290px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

.servicios-body .srv-service-image-container {
  background-color: #301983;
  border-radius: 14px 14px 0 0;
}

.servicios-body .srv-service-image h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.2vw, 1.35rem);
  line-height: 1.12;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  color: #fff;
}

.servicios-body .srv-service-copy {
  background: #301483;
  padding: 24px 14px 28px;
  border-radius: 0 0 14px 14px;
  min-height: 80px;
}

.servicios-body .srv-service-card:hover .srv-service-copy,
.servicios-body .srv-service-card:focus-within .srv-service-copy {
  border-radius: 0;
}

.servicios-body .srv-service-copy p {
  margin: 0;
  text-align: center;
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  line-height: 1.2;
}

.servicios-body .srv-service-card ul,
.servicios-body .srv-service-card .srv-ul-copy {
  margin: 0;
  padding-left: 14px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.15;
  background-color: #7539f2;
  border-radius: 0 0 14px 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease, margin 0.2s ease;
}

.servicios-body .srv-service-card ul {
  padding-left: 30px;
}

.servicios-body .srv-service-card:hover ul,
.servicios-body .srv-service-card:hover .srv-ul-copy,
.servicios-body .srv-service-card:focus-within ul,
.servicios-body .srv-service-card:focus-within .srv-ul-copy {
  margin-top: 10px;
  padding-top: 14px;
  padding-bottom: 20px;
  max-height: 420px;
  opacity: 1;
}

@media (hover: hover) {
  .service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  }

  .nosotros-body .socio-card:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  }

  .nosotros-body .socio-card:hover .linkedin-icon {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .servicios-body .srv-service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  }
}

.servicios-body .section-clouds {
  background: #0bd0ab;
  color: #fff;
  padding-top: 40px;
}

.servicios-body .section-clouds h2 {
  margin: auto;
  width: 80%;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.servicios-body .section-clouds p {
  margin: 18px auto 0;
  max-width: 980px;
  text-align: center;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.25;
}

.servicios-body .clouds-image {
  margin-top: 28px;
  width: 100%;
  display: block;
}

.servicios-body .section-cloud-list {
  background: #2b157f;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
}

.servicios-body .section-cloud-list .container {
  background: #2b157f;
  border-radius: 10px;
  padding: 14px 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.servicios-body .section-cloud-list article {
  margin-bottom: 0;
  cursor: pointer;
}

.servicios-body .section-cloud-list article:last-child {
  margin-bottom: 0;
}

.servicios-body .section-cloud-list h4 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.servicios-body .section-cloud-list h4 a {
  color: inherit;
  text-decoration: none;
}

.servicios-body .section-cloud-list h4 a:hover {
  text-decoration: underline;
}

.servicios-body .section-cloud-list p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.servicios-body .section-cloud-list article:hover p,
.servicios-body .section-cloud-list article:focus-within p {
  max-height: 260px;
  opacity: 1;
}

.servicios-body .section-clouds .container p {
  padding: 14px 60px;
}

@media (max-width: 900px) {
  .nosotros-body .socios-grid {
    gap: 24px;
  }

  .nosotros-body .sobre-card {
    grid-template-columns: 1fr;
  }

  .nosotros-body .mascot-badge {
    right: 16px;
    width: 110px;
    height: 110px;
    top: -44px;
  }

  .nosotros-body .oficinas-list {
    margin-top: 70px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .servicios-body .srv-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0px;
  }

  .servicios-body .section-cloud-list .container {
    padding: 14px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .servicios-body .section-clouds .container p {
    padding: 14px 30px;
  }

  .servicios-body .srv-service-card {
    margin-bottom: 0px;
  }

  .nosotros-body .mascot-badge img {
    top: -15.5px;
  }
}

@media (max-width: 680px) {
  .nosotros-body .nosotros-page .section {
    padding: 58px 0;
  }

  .nosotros-body .socios-grid {
    grid-template-columns: 1fr;
  }

  .nosotros-body .socio-card {
    width: min(100%, 320px);
  }

  .nosotros-body .sobre-card {
    padding: 22px 20px;
  }

  .nosotros-body .oficinas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .servicios-body .srv-services-grid {
    grid-template-columns: 1fr;
    padding: 14px 30px;
  }

  .servicios-body .srv-service-card {
    margin: auto;
  }

  .servicios-body .section-cloud-list p {
    margin: 0;
    font-size: 18px;
    line-height: 1.18;
  }

  .servicios-body .section-cloud-list .container {
    grid-template-columns: 1fr;
  }

  .nosotros-body .mascot-badge img {
    top: -15.5px;
  }
}

