/* ===============================
  TI SOLUTIONS - ESTILOS
  Edita aqui colores, tamanos y apariencia general.
================================= */

:root {
  --blue: #0057d9;          /* Azul corporativo principal */
  --blue-dark: #003b94;     /* Azul oscuro para degradados */
  --blue-light: #eaf2ff;    /* Fondo azul claro */
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-600: #5b6575;
  --gray-900: #151922;      /* Gris oscuro */
  --black: #05070a;
  --border: #dce3ee;
  --shadow: 0 16px 40px rgba(8, 23, 54, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

/* Ajustes finos del Hero: indicadores corporativos sin contenedores decorativos. */
.hero-actions {
  justify-content: center;
}

.hero-stat {
  padding: 22px 24px;
}

.hero-stat-icon {
  width: auto;
  height: auto;
  margin-bottom: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 5.1rem;
  line-height: 1;
  text-align: center;
}

.hero-stat-icon::after,
.hero-stat span::after {
  display: none;
  content: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 168px;
  height: 48px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--black));
  border-radius: var(--radius);
}

.brand-text {
  color: var(--black);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--gray-600);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gray-900);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(5, 7, 10, 0.9), rgba(0, 57, 143, 0.84)),
    radial-gradient(circle at 80% 15%, rgba(0, 87, 217, 0.8), transparent 34%),
    var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fc5ff;
}

.hero-content .eyebrow {
  text-align: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-logo-title {
  margin: 0 auto;
  max-width: 1220px;
  text-align: center;
}

.hero-logo {
  width: min(130%, 1521px);
  max-width: none;
  height: auto;
  margin-left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.24));
}

h2 {
  margin: 0 0 16px;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin: 24px auto 0;
  color: #dbe8ff;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(0, 87, 217, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-stats-panel {
  color: var(--gray-900);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 242, 255, 0.92)),
    var(--white);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-stat:nth-child(2),
.hero-stat:nth-child(4) {
  border-right: 0;
}

.hero-stat:nth-child(3),
.hero-stat:nth-child(4) {
  border-bottom: 0;
}

.hero-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 16px;
  color: var(--blue);
  border: 1px solid rgba(0, 87, 217, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 18px rgba(0, 87, 217, 0.07);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  text-align: center;
}

.hero-stat-icon::after {
  display: none;
}

.hero-stat-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-stat:nth-child(4) strong {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.hero-stat span {
  margin-top: 8px;
  color: var(--gray-900);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-stat span::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(0, 87, 217, 0.35);
}

.hero-stat p {
  max-width: 260px;
  margin: 14px auto 0;
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.45;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section-heading .eyebrow,
.contact-info > .eyebrow {
  font-size: 1.07rem;
}

.services,
.testimonials {
  background: var(--gray-50);
}

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

.service-card {
  min-width: 0;
  min-height: 214px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 23, 54, 0.06);
}

.service-card-image {
  padding: 0;
  overflow: hidden;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card p,
.about-content p,
.project-card p,
.process-card p,
.testimonial-card p {
  margin: 0;
  color: var(--gray-600);
}

.about {
  padding-top: 100px;
  padding-bottom: 88px;
  border-bottom: 1px solid #e5e7eb;
  background:
    linear-gradient(180deg, rgba(234, 242, 255, 0.52), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(300px, 45fr);
  grid-template-areas:
    "content visual"
    "indicators visual";
  gap: 34px 54px;
  align-items: center;
}

.about-content {
  grid-area: content;
  padding-top: 0;
}

.about-content .section-heading {
  margin-bottom: 26px;
}

.about-content .eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
}

.about-copy {
  max-width: 720px;
}

.about-copy p {
  color: #4d5b70;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-indicators {
  grid-area: indicators;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.about-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(8, 23, 54, 0.045);
}

.about-indicator span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-self: center;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 46px;
  line-height: 1;
  text-align: center;
}

.about-indicator:nth-child(3) span {
  transform: none;
}

.about-indicator > div {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
}

.about-indicator svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-indicator strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-indicator p {
  margin-top: 2px;
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.3;
}

.about-visual {
  grid-area: visual;
  width: 82%;
  max-width: 540px;
  align-self: center;
  justify-self: center;
  transform: translateY(-18px);
}

.about-image-placeholder {
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--blue-light);
  box-shadow: 0 16px 34px rgba(8, 23, 54, 0.09);
}

.about-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process {
  background: var(--white);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 87, 217, 0.04), rgba(0, 87, 217, 0.14), rgba(0, 87, 217, 0.04));
}

.process-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 23, 54, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 217, 0.28);
  box-shadow: 0 16px 34px rgba(8, 23, 54, 0.11);
}

.process-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  color: var(--blue);
  border: 1px solid rgba(0, 87, 217, 0.18);
  border-radius: 999px;
  background: var(--blue-light);
}

.process-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-number {
  color: var(--blue);
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1;
}

.process-card h3 {
  min-height: auto;
  margin: 6px 0 6px;
}

.process-card p {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.36;
}

.process-card::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--blue);
}

.process-note {
  max-width: 590px;
  margin: 28px auto 0;
  padding: 14px 18px;
  color: var(--blue-dark);
  border: 1px solid rgba(0, 87, 217, 0.18);
  border-radius: var(--radius);
  background: var(--blue-light);
  text-align: center;
  font-size: 1.02rem;
  font-weight: 800;
}

.process-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 8px 14px;
  color: #7b8494;
  border: 1px solid rgba(0, 87, 217, 0.12);
  border-radius: 999px;
  background: rgba(234, 242, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.35;
}

.process-subtext span {
  color: rgba(0, 87, 217, 0.56);
  font-size: 1rem;
}

.projects {
  background: var(--black);
}

.projects h2,
.projects h3 {
  color: var(--white);
}

.projects .section-heading p:not(.eyebrow) {
  color: #bdc7d6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: #101724;
}

.project-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(0, 87, 217, 0.95), rgba(5, 7, 10, 0.92)),
    var(--blue);
  font-size: 1.6rem;
  font-weight: 900;
}

.project-card h3 {
  padding: 18px 18px 6px;
}

.project-card p {
  padding: 0 18px 18px;
  color: #bdc7d6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 23, 54, 0.06);
}

.testimonial-card p {
  font-size: 1.02rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 22px;
  color: var(--black);
}

.testimonial-card span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.contact-info p {
  color: var(--gray-600);
}

.contact-info > .eyebrow {
  color: var(--blue);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.detail {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.detail strong {
  color: var(--black);
}

.detail span {
  color: var(--gray-600);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form .btn {
  margin-top: 4px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--gray-900);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gray-900);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 87, 217, 0.16);
  border-color: var(--blue);
}

.site-footer {
  padding: 28px 0;
  color: #cbd5e1;
  background: var(--black);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: var(--white);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
  font-weight: 900;
}

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

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

@media (max-width: 920px) {
  .section {
    padding: 70px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-areas:
      "content"
      "indicators"
      "visual";
    gap: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 340px;
  }

  .hero-stats-grid {
    min-height: 340px;
  }

  .service-grid,
  .process-steps,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    padding-top: 0;
  }

  .about-visual {
    width: 82%;
    max-width: 520px;
    transform: translateY(-8px);
  }

  .about-image-placeholder {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-actions,
  .footer-content {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .process-steps,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    padding: 20px;
  }

  .about-grid {
    gap: 24px;
  }

  .about-indicators {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-indicator {
    align-items: center;
    min-height: auto;
    padding: 9px 11px;
  }

  .about-image-placeholder {
    min-height: 240px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat,
  .hero-stat:nth-child(2),
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }

  .hero-logo {
    width: min(130%, 1048px);
  }
}
/* Hero: definicion final de iconos de indicadores. */
body .hero-stat-icon {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 12px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 4.08rem !important;
  line-height: 1 !important;
  text-align: center !important;
}

body .hero-stat-icon::after,
body .hero-stat span::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 920px) {
  body .hero-stat-icon {
    font-size: 3.2rem !important;
  }
}

@media (max-width: 700px) {
  body .hero-stat-icon {
    font-size: 2.56rem !important;
  }
}
