html,
body,
.milloh-page-bg {
  background-color: #f6f1e8 !important;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.site-shell-offset {
  padding-top: 5rem;
}

/* Reduce global side gutters and widen containers */
.container {
  width: 100%;
  max-width: min(2080px, 100%);
  padding-left: clamp(0.4rem, 1.2vw, 1rem);
  padding-right: clamp(0.4rem, 1.2vw, 1rem);
}

.prose,
.prose * {
  overflow-wrap: anywhere;
}

.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.prose iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.milloh-hero {
  border-radius: 18px;
  margin: 1.5rem 0 2rem;
  padding: 4rem 1rem;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  display: flex;
  align-items: center;
}

.milloh-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.milloh-hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(2, 6, 23, 0.55);
}

.milloh-hero p {
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  margin: 1.2rem auto 0;
  max-width: 900px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(2, 6, 23, 0.5);
}

.milloh-hero-logo {
  max-width: min(420px, 75vw);
  margin: 0 auto;
}

.milloh-card-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2rem;
}

.milloh-card {
  background: url("/images/backgrounds/fondo-tarjetas.jpg") center / cover no-repeat;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.pt-20 .milloh-card,
.pt-20 .value-card,
.pt-20 article.bg-white.rounded-lg,
.pt-20 article.bg-white.rounded-xl,
.pt-20 article.bg-white.rounded-2xl,
.pt-20 div.bg-white.rounded-lg,
.pt-20 div.bg-white.rounded-xl,
.pt-20 div.bg-white.rounded-2xl,
.pt-20 section.bg-white.rounded-lg,
.pt-20 section.bg-white.rounded-xl,
.pt-20 section.bg-white.rounded-2xl {
  background: url("/images/backgrounds/fondo-tarjetas.jpg") center / cover no-repeat !important;
  color: #ffffff !important;
}

.pt-20 .milloh-card h1,
.pt-20 .milloh-card h2,
.pt-20 .milloh-card h3,
.pt-20 .milloh-card h4,
.pt-20 .milloh-card p,
.pt-20 .milloh-card span,
.pt-20 .milloh-card a,
.pt-20 .value-card h1,
.pt-20 .value-card h2,
.pt-20 .value-card h3,
.pt-20 .value-card h4,
.pt-20 .value-card p,
.pt-20 .value-card span,
.pt-20 .value-card a,
.pt-20 article.bg-white.rounded-lg h1,
.pt-20 article.bg-white.rounded-lg h2,
.pt-20 article.bg-white.rounded-lg h3,
.pt-20 article.bg-white.rounded-lg h4,
.pt-20 article.bg-white.rounded-lg p,
.pt-20 article.bg-white.rounded-lg span,
.pt-20 article.bg-white.rounded-lg a,
.pt-20 article.bg-white.rounded-xl h1,
.pt-20 article.bg-white.rounded-xl h2,
.pt-20 article.bg-white.rounded-xl h3,
.pt-20 article.bg-white.rounded-xl h4,
.pt-20 article.bg-white.rounded-xl p,
.pt-20 article.bg-white.rounded-xl span,
.pt-20 article.bg-white.rounded-xl a,
.pt-20 article.bg-white.rounded-2xl h1,
.pt-20 article.bg-white.rounded-2xl h2,
.pt-20 article.bg-white.rounded-2xl h3,
.pt-20 article.bg-white.rounded-2xl h4,
.pt-20 article.bg-white.rounded-2xl p,
.pt-20 article.bg-white.rounded-2xl span,
.pt-20 article.bg-white.rounded-2xl a,
.pt-20 div.bg-white.rounded-lg h1,
.pt-20 div.bg-white.rounded-lg h2,
.pt-20 div.bg-white.rounded-lg h3,
.pt-20 div.bg-white.rounded-lg h4,
.pt-20 div.bg-white.rounded-lg p,
.pt-20 div.bg-white.rounded-lg span,
.pt-20 div.bg-white.rounded-lg a,
.pt-20 div.bg-white.rounded-xl h1,
.pt-20 div.bg-white.rounded-xl h2,
.pt-20 div.bg-white.rounded-xl h3,
.pt-20 div.bg-white.rounded-xl h4,
.pt-20 div.bg-white.rounded-xl p,
.pt-20 div.bg-white.rounded-xl span,
.pt-20 div.bg-white.rounded-xl a,
.pt-20 div.bg-white.rounded-2xl h1,
.pt-20 div.bg-white.rounded-2xl h2,
.pt-20 div.bg-white.rounded-2xl h3,
.pt-20 div.bg-white.rounded-2xl h4,
.pt-20 div.bg-white.rounded-2xl p,
.pt-20 div.bg-white.rounded-2xl span,
.pt-20 div.bg-white.rounded-2xl a,
.pt-20 section.bg-white.rounded-lg h1,
.pt-20 section.bg-white.rounded-lg h2,
.pt-20 section.bg-white.rounded-lg h3,
.pt-20 section.bg-white.rounded-lg h4,
.pt-20 section.bg-white.rounded-lg p,
.pt-20 section.bg-white.rounded-lg span,
.pt-20 section.bg-white.rounded-lg a,
.pt-20 section.bg-white.rounded-xl h1,
.pt-20 section.bg-white.rounded-xl h2,
.pt-20 section.bg-white.rounded-xl h3,
.pt-20 section.bg-white.rounded-xl h4,
.pt-20 section.bg-white.rounded-xl p,
.pt-20 section.bg-white.rounded-xl span,
.pt-20 section.bg-white.rounded-xl a,
.pt-20 section.bg-white.rounded-2xl h1,
.pt-20 section.bg-white.rounded-2xl h2,
.pt-20 section.bg-white.rounded-2xl h3,
.pt-20 section.bg-white.rounded-2xl h4,
.pt-20 section.bg-white.rounded-2xl p,
.pt-20 section.bg-white.rounded-2xl span,
.pt-20 section.bg-white.rounded-2xl a {
  color: #ffffff !important;
}

.milloh-card-logo-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 10px;
  padding: 0.75rem;
}

.milloh-card-logo {
  max-height: 56px;
  width: auto;
}

.milloh-partner-card {
  text-align: center;
  min-height: 260px;
  justify-content: flex-start;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.milloh-partner-card .milloh-card-logo-wrap {
  min-height: 200px;
  width: 100%;
  padding: 0.6rem;
}

.milloh-partner-card .milloh-card-logo {
  max-height: 195px;
  width: auto;
  max-width: 100%;
}

.milloh-partner-card h3 {
  width: 100%;
  text-align: center;
  font-size: 1.45rem;
  margin-top: 0.5rem;
  color: #ffffff;
}

.milloh-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.milloh-card p {
  margin: 0;
  color: #4b5563;
}

.milloh-service-card {
  min-height: 260px;
}

.milloh-service-card h3,
.milloh-service-card p {
  color: #ffffff;
}

.milloh-card-body {
  display: grid;
  gap: 0.6rem;
}

.milloh-card-body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.milloh-card-body li {
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .milloh-card-body ul {
    columns: 2;
    column-gap: 2rem;
  }

  .milloh-card-body li {
    break-inside: avoid;
  }
}

.milloh-service-card .btn-primary {
  color: #ffffff !important;
}

.milloh-service-card .btn-primary:hover,
.milloh-service-card .btn-primary:focus {
  color: #ffffff !important;
}

.milloh-service-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.milloh-service-card-actions .btn-primary,
.milloh-service-card-actions .btn-secondary {
  align-self: flex-start;
  color: #ffffff !important;
}

.milloh-service-card-actions .btn-secondary,
.milloh-service-card-actions .btn-secondary:hover,
.milloh-service-card-actions .btn-secondary:focus {
  background: #0057b8 !important;
  color: #ffffff !important;
}

.milloh-news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: url("/images/backgrounds/fondo-tarjetas.jpg") center / cover no-repeat;
  padding: 1.25rem;
  margin: 1.25rem 0;
  color: #ffffff;
}

.milloh-news-image-wrap {
  background: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.milloh-news-image {
  max-height: 170px;
  width: auto;
  max-width: 100%;
}

.milloh-news-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  line-height: 1.25;
  color: #ffffff;
}

.milloh-news-body p {
  margin-top: 0.75rem;
  color: #ffffff;
}

.milloh-news-item .btn-primary,
.milloh-news-item .btn-primary:hover,
.milloh-news-item .btn-primary:focus {
  color: #ffffff !important;
}

.milloh-cta-band {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 1.25rem;
  margin: 2rem auto;
  background: url("/images/backgrounds/fondo-tarjetas.jpg") center / cover no-repeat;
  text-align: center;
  max-width: 1000px;
  color: #ffffff;
}

.milloh-cta-band h1,
.milloh-cta-band h2,
.milloh-cta-band h3,
.milloh-cta-band h4,
.milloh-cta-band p,
.milloh-cta-band span,
.milloh-cta-band a {
  color: #ffffff !important;
}

.milloh-cta-band .btn-primary {
  display: inline-flex !important;
  width: auto !important;
  margin: 1rem auto 0;
  color: #ffffff !important;
}

.milloh-lead-center {
  margin: 0.5rem auto 0.75rem;
  padding: 0 0.5rem;
  text-align: center;
}

.milloh-lead-center p {
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #1f2937;
}

@media (max-width: 767px) {
  .milloh-hero {
    border-radius: 14px;
    margin: 1rem 0 1.5rem;
    padding: 3rem 0.9rem;
    min-height: 360px;
  }

  .milloh-card,
  .milloh-news-item,
  .milloh-cta-band,
  .milloh-cato-feature-row {
    padding: 1rem;
  }

  .milloh-partner-card .milloh-card-logo-wrap {
    min-height: 140px;
  }

  .milloh-partner-card .milloh-card-logo {
    max-height: 140px;
  }

  .milloh-news-body h3,
  .milloh-cato-feature-body h3 {
    font-size: clamp(1.25rem, 5vw, 1.7rem);
  }

  .milloh-about-text p {
    font-size: 1.1rem;
  }

  .milloh-about-text p:nth-of-type(2) {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  .milloh-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milloh-card-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milloh-news-item {
    grid-template-columns: 240px 1fr;
    align-items: center;
    padding: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .milloh-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .milloh-card-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.milloh-section-heading {
  text-align: center;
  margin: 0.25rem auto 1rem;
}

.milloh-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.15;
  color: #0f172a;
}

.milloh-section-heading p {
  margin-top: 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: #334155;
}

.milloh-akamai-gartner-card .milloh-news-body h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  color: #ffffff;
}

.milloh-akamai-gartner-card .milloh-news-body p {
  font-size: clamp(0.92rem, 1.2vw, 1.1rem);
  line-height: 1.35;
  color: #ffffff;
}

.milloh-akamai-gartner-card .milloh-news-image {
  max-height: 300px;
}

.milloh-akamai-gartner-card .btn-primary,
.milloh-akamai-gartner-card .btn-primary:hover,
.milloh-akamai-gartner-card .btn-primary:focus {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .milloh-akamai-gartner-card {
    grid-template-columns: minmax(460px, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .milloh-akamai-gartner-card .milloh-news-image-wrap {
    padding: 0.25rem;
  }
}

.milloh-hero-home-match {
  min-height: 560px;
}

.milloh-cato-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.milloh-cato-feature-image-wrap {
  background: url("/images/backgrounds/fondo.jpg") center / cover no-repeat;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  min-height: 180px;
}

.milloh-simple-bg {
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  margin: 1.5rem 0 2rem;
}

.milloh-simple-bg h1,
.milloh-simple-bg .prose {
  color: #f8fafc;
}

.milloh-simple-bg .prose a {
  color: #bfdbfe;
}

.milloh-contact-block {
  padding: 2.5rem 0 3rem;
  color: #f8fafc;
  text-align: center;
}

.milloh-contact-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.milloh-contact-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 500;
}

.milloh-contact-bar {
  width: 72px;
  height: 2px;
  background: rgba(248, 250, 252, 0.8);
  display: inline-block;
}

.milloh-contact-rule {
  height: 1px;
  background: rgba(248, 250, 252, 0.35);
  margin: 0.75rem auto 2.2rem;
  max-width: 1100px;
}

.milloh-contact-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.milloh-contact-item h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.milloh-contact-pill {
  border: 1px solid rgba(248, 250, 252, 0.7);
  border-radius: 999px;
  padding: 0.45rem 1.6rem;
  display: inline-block;
  background: rgba(2, 6, 23, 0.35);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.12);
}

.milloh-contact-pill a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.milloh-contact-pill a:hover,
.milloh-contact-pill a:focus {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .milloh-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.milloh-about-text p {
  color: #000000;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.milloh-about-text p:nth-of-type(2) {
  font-size: 1.75rem;
}

.milloh-team-section {
  margin-top: 2.5rem;
}

.milloh-team-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #111827;
}

.milloh-team-subtitle {
  text-align: center;
  margin: -0.75rem auto 2rem;
  color: #4b5563;
  font-size: 0.95rem;
  width: 100%;
}

.milloh-team-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .milloh-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.milloh-team-card {
  text-align: center;
}

.milloh-team-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  background: #e5e7eb;
  box-shadow: none;
  margin-bottom: 0.75rem;
}

.milloh-team-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.milloh-team-card p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

/* Center 3-card client grid for Team Leaders */
.milloh-team-grid .milloh-client-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

@media (max-width: 900px) {
  .milloh-team-grid .milloh-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .milloh-team-grid .milloh-client-grid {
    grid-template-columns: 1fr;
  }
}

.milloh-team-grid .milloh-client-logo-wrap {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  padding: 0;
}

.milloh-team-grid .milloh-client-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Taller header */
.site-header-tall {
  height: 80px;
}

.site-header-tall .header-logo {
  height: 52px;
}

.site-header-tall .header-nav {
  height: 80px;
}

.nav-content {
  top: 5rem;
  max-height: calc(100vh - 5rem);
}

.milloh-cato-feature-image {
  max-height: 260px;
  width: auto;
}

.milloh-cato-feature-body h3 {
  margin: 0;
  font-size: clamp(2rem, 2.3vw, 2.35rem);
  line-height: 1.2;
}

.milloh-cato-feature-body p {
  margin-top: 0.9rem;
  color: #1f2937;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
}

.milloh-cato-feature-body .btn-primary,
.milloh-cato-feature-body .btn-primary:hover,
.milloh-cato-feature-body .btn-primary:focus {
  margin-top: 1rem;
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .milloh-cato-feature-row {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 2rem;
  }
}

.milloh-client-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin: 1.25rem 0 3rem;
  border-top: 1px dashed #d1d5db;
  padding-top: 2rem;
}

.milloh-client-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milloh-client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  padding: 0.6rem;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: none;
  text-decoration: none;
}

.milloh-client-logo {
  max-width: 100%;
  max-height: 195px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.milloh-client-item.client-logo--tight .milloh-client-logo-wrap {
  width: 100%;
  min-height: 200px;
  padding: 0.6rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: none;
}

.milloh-client-item.client-logo--tight .milloh-client-logo {
  max-width: 100%;
  max-height: 195px;
  width: auto;
  height: auto;
}

.milloh-client-item.client-logo--quarter .milloh-client-logo {
  max-height: 98px;
}


.milloh-client-name {
  margin-top: 0.85rem;
  font-size: clamp(1.25rem, 5vw, 2.15rem);
  color: #111827;
  min-height: 2.2em;
  line-height: 1.1;
}

.milloh-home-client-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .milloh-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milloh-home-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .site-shell-offset {
    padding-top: 6rem;
  }

  .site-header-tall {
    height: 96px;
  }

  .site-header-tall .header-logo {
    height: 72px;
  }

  .site-header-tall .header-nav {
    height: 96px;
  }

  .nav-content {
    top: 6rem;
    max-height: calc(100vh - 6rem);
  }
}

@media (min-width: 1024px) {
  .milloh-client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
  }

  .milloh-home-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
