:root {
  --mex-blue: #0d2a46;
  --mex-blue-2: #123a60;
  --mex-navy: #06101c;
  --mex-orange: #ff6a00;
  --mex-orange-2: #ff8f22;
  --mex-white: #ffffff;
  --mex-soft: #f3f6f9;
  --mex-muted: #9aa9b8;
  --mex-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: #172334;
  background: #f7f9fb;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: radial-gradient(#ffffff 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  mix-blend-mode: overlay;
}

.mex-navbar {
  padding: 14px 0;
  background: rgba(4, 12, 22, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.navbar-brand img {
  width: 155px;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.mex-navbar .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
}

.mex-navbar .nav-link:hover,
.mex-navbar .nav-link:focus {
  color: var(--mex-orange);
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: all 0.3s ease;
}

.btn-brand {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--mex-orange), var(--mex-orange-2));
  box-shadow: 0 15px 35px rgba(255, 106, 0, 0.28);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(255, 106, 0, 0.38);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 106, 0, 0.18), transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(18, 58, 96, 0.85), transparent 34%),
    linear-gradient(135deg, #02060b 0%, #071525 55%, #02060b 100%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 220px;
  left: 50%;
  bottom: -130px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.22), transparent 68%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.75;
}

.hero-glow-orange {
  width: 160px;
  height: 160px;
  top: 16%;
  right: 12%;
  background: rgba(255, 106, 0, 0.32);
}

.hero-glow-blue {
  width: 230px;
  height: 230px;
  bottom: 16%;
  left: 6%;
  background: rgba(18, 58, 96, 0.55);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mex-orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.hero-section h1,
.section-pad h2,
.cta-strip h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-section h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.13rem;
  line-height: 1.8;
  max-width: 620px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
  max-width: 680px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.logo-core {
  position: relative;
  z-index: 3;
  width: min(520px, 88vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 45px;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(244, 248, 252, 0.98) 58%,
      rgba(220, 228, 237, 0.92) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(255, 106, 0, 0.12);

  transform: rotate(-2deg);
  overflow: hidden;
}

.logo-core::after {
  content: none;
}

.logo-core::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.16), transparent 65%);
}

.logo-core img {
  position: relative;
  z-index: 2;
  width: 82%;
  filter: drop-shadow(0 16px 22px rgba(6, 16, 28, 0.18));
}

.hex-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.orbit-one {
  width: 620px;
  height: 620px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.05), transparent);
  animation: floatRotate 18s linear infinite;
}

.orbit-two {
  width: 460px;
  height: 460px;
  border-color: rgba(255, 106, 0, 0.25);
  animation: floatRotate 12s linear infinite reverse;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.floating-chip i {
  color: var(--mex-orange);
}

.chip-one {
  left: 0;
  top: 24%;
}

.chip-two {
  right: 2%;
  top: 36%;
}

.chip-three {
  left: 12%;
  bottom: 18%;
}

@keyframes floatRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-pad {
  padding: 105px 0;
  position: relative;
}

.section-pad h2,
.cta-strip h2 {
  color: #071525;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 18px;
}

.section-lead,
.section-heading p {
  color: #5c6b7a;
  font-size: 1.06rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
}

.intro-section {
  background: #f7f9fb;
}

.value-card {
  position: relative;
  height: 100%;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 18px 55px rgba(14, 35, 57, 0.08);
  border: 1px solid rgba(13, 42, 70, 0.07);
  overflow: hidden;
  transition: all 0.35s ease;
}

.value-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.08);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(14, 35, 57, 0.13);
}

.value-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.32), transparent 34%),
    linear-gradient(145deg, var(--mex-blue), #071525);
}

.value-card i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--mex-orange), var(--mex-orange-2));
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.value-card h3,
.solution-card h3,
.quality-item h3,
.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.value-card p,
.solution-card p,
.quality-item p,
.contact-card p {
  color: #627284;
  line-height: 1.75;
  margin: 0;
}

.value-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.card-number {
  position: absolute;
  right: 28px;
  top: 24px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: rgba(13, 42, 70, 0.07);
}

.value-card.featured .card-number {
  color: rgba(255, 255, 255, 0.08);
}

.solutions-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(2, 6, 11, 0.95), rgba(7, 21, 37, 0.96)),
    radial-gradient(circle at 70% 20%, rgba(255, 106, 0, 0.22), transparent 34%);
}

.solutions-section h2 {
  color: #fff;
}

.solutions-section .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.solutions-panel {
  position: relative;
}

.solution-card {
  height: 100%;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-9px);
  border-color: rgba(255, 106, 0, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.solution-card.accent {
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.26), transparent 42%),
    rgba(255, 255, 255, 0.08);
}

.solution-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--mex-orange), var(--mex-orange-2));
  font-size: 1.8rem;
  margin-bottom: 26px;
}

.solution-card h3 {
  color: #fff;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.66);
}

.solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mex-orange-2);
  font-weight: 900;
  margin-top: 24px;
}

.industries-section {
  background: #fff;
}

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

.industry-item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(13, 42, 70, 0.94), rgba(7, 21, 37, 0.98));
  border: 1px solid rgba(13, 42, 70, 0.1);
  box-shadow: 0 16px 42px rgba(13, 42, 70, 0.12);
  transition: all 0.35s ease;
}

.industry-item:hover {
  transform: translateY(-6px) scale(1.01);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.42), transparent 44%),
    linear-gradient(145deg, rgba(13, 42, 70, 0.96), rgba(7, 21, 37, 0.98));
}

.industry-item i {
  color: var(--mex-orange);
  font-size: 2rem;
}

.industry-item span {
  font-size: 1.03rem;
  font-weight: 900;
}

.industry-item.wide {
  grid-column: span 3;
  min-height: 120px;
  flex-direction: row;
  align-items: center;
}

.quality-section {
  background: #f7f9fb;
}

.quality-card {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 106, 0, 0.28), transparent 38%),
    linear-gradient(135deg, #071525, #0d2a46 58%, #06101c);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quality-card h2,
.quality-card p {
  color: #fff;
}

.quality-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.quality-list {
  display: grid;
  gap: 16px;
}

.quality-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.quality-item i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mex-orange);
}

.quality-item h3 {
  color: #fff;
  margin-bottom: 5px;
}

.quality-item p {
  margin: 0;
}

.cta-strip {
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--mex-orange), #ff8a18);
}

.cta-strip h2,
.cta-strip p {
  color: #fff;
  margin: 0;
}

.cta-strip p {
  margin-top: 10px;
  font-size: 1.08rem;
  opacity: 0.86;
}

.contact-section {
  background:
    radial-gradient(circle at left bottom, rgba(255, 106, 0, 0.08), transparent 28%),
    #fff;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #071525;
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-info i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--mex-blue);
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #f7f9fb;
  border: 1px solid rgba(13, 42, 70, 0.08);
  box-shadow: 0 18px 55px rgba(13, 42, 70, 0.08);
}

.form-control {
  min-height: 54px;
  border: 1px solid rgba(13, 42, 70, 0.12);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--mex-orange);
}

textarea.form-control {
  resize: none;
}

.footer {
  padding: 70px 0 28px;
  color: #fff;
  background: #02060b;
}

.footer-logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  padding: 14px 18px;
  margin-bottom: 22px;

  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.footer p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  max-width: 420px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--mex-orange);
  transform: translateY(-3px);
}

.footer-phone {
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  background: #25d366;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.34);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-4px);
}

@media (max-width: 991px) {
  .mex-navbar .navbar-collapse {
    padding: 16px 0;
  }

  .hero-section {
    padding-top: 90px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .orbit-one {
    width: 500px;
    height: 500px;
  }

  .orbit-two {
    width: 380px;
    height: 380px;
  }

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

  .industry-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .navbar-brand img {
    width: 125px;
  }

  .hero-section h1 {
    font-size: clamp(2.65rem, 16vw, 4.1rem);
  }

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

  .hero-visual {
    min-height: 430px;
  }

  .logo-core {
    width: min(370px, 88vw);
    border-radius: 32px;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 300px;
    height: 300px;
  }

  .floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;

  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;

  background: rgba(8, 20, 34, 0.92);
  border: 1px solid rgba(255, 106, 0, 0.35);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.30),
    0 0 20px rgba(255, 106, 0, 0.08);
}

.floating-chip i {
  color: var(--mex-orange);
  font-size: 1rem;
}

  .chip-one {
    left: 0;
    top: 16%;
  }

  .chip-two {
    right: 0;
    top: 38%;
  }

  .chip-three {
    left: 4%;
    bottom: 10%;
  }

  .section-pad {
    padding: 76px 0;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-item.wide {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    min-height: 150px;
  }

  .quality-card,
  .contact-card,
  .value-card,
  .solution-card {
    border-radius: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }
}


/* FORZAR CONTRASTE DE ETIQUETAS DEL HERO */
.hero-visual .floating-chip {
  background: #102236 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 106, 0, 0.65) !important;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(255, 106, 0, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

.hero-visual .floating-chip i {
  color: #ff6a00 !important;
}

.hero-visual .floating-chip span {
  color: #ffffff !important;
  opacity: 1 !important;
}