/* Portada institucional STM: identidad azul marino, turquesa y Manrope. */
.home-identity .site-header {
  height: 86px;
  background: #00173b;
  box-shadow: 0 8px 28px rgba(0, 23, 59, .16);
}

.home-identity main section[id] {
  scroll-margin-top: 86px;
}

.home-identity .site-header .nav-wrap,
.home-identity .hero .hero-content {
  width: min(1180px, calc(100% - 40px));
}

.home-identity .nav-wrap {
  gap: 38px;
}

.home-identity .brand {
  width: 190px;
  height: 74px;
  flex: 0 0 auto;
}

.home-identity .brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.home-identity .main-nav {
  margin-left: auto;
  margin-right: 0;
  gap: 34px;
}

.home-identity .main-nav a {
  font-size: 14px;
  font-weight: 600;
}

.home-identity .main-nav a::after {
  bottom: 18px;
  height: 2px;
  background: #27b39a;
}

.home-identity .portal-cta {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: 6px;
  font-size: 13px;
  background: linear-gradient(135deg, #27b39a, #18c3b0);
  box-shadow: 0 12px 26px rgba(39, 179, 154, .26);
}

.home-identity .hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 34%, rgba(255, 255, 255, .74) 49%, rgba(255, 255, 255, .08) 68%),
    url('stm-hero-identity.webp');
  background-position: center, center;
  background-size: cover;
}

.home-identity .hero-content {
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.home-identity .hero-copy {
  width: 49%;
  padding: 54px 0 30px;
}

.home-identity .eyebrow {
  display: block;
  margin: 0 0 10px;
  color: #27b39a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.home-identity .hero h1 {
  max-width: 520px;
  margin: 0;
  color: #00173b;
  font-size: 47px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2.2px;
}

.home-identity .hero-lead {
  max-width: 520px;
  margin: 18px 0 23px;
  color: #263238;
  font-size: 15px;
  line-height: 1.7;
}

.home-identity .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-identity .hero-actions .btn {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: 6px;
  font-size: 13px;
}

.home-identity .hero-actions .btn-navy {
  background: #00173b;
  box-shadow: 0 12px 26px rgba(0, 23, 59, .2);
}

.home-identity .hero-actions .btn-outline {
  color: #127f75;
  border-color: rgba(39, 179, 154, .75);
  background: rgba(255, 255, 255, .74);
}

.home-identity .hero-actions .btn-outline:hover {
  color: #00173b;
  background: #eef2f3;
}

.home-identity .hero-trust {
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
}

.home-identity .hero-trust span {
  min-width: 0;
  padding: 0 13px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #00173b;
  text-align: center;
  border-right: 1px solid #d4dcdf;
}

.home-identity .hero-trust span:first-child {
  padding-left: 0;
}

.home-identity .hero-trust span:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-identity .hero-trust svg {
  width: 23px;
  height: 23px;
  color: #27b39a;
  stroke-width: 1.8;
}

.home-identity .hero-trust b {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.home-identity .hero-location {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #536270;
  font-size: 12px;
}

.home-identity .hero-location svg {
  width: 17px;
  color: #27b39a;
}

.home-identity .hero-location b {
  color: #89969e;
}

.home-identity .service-whatsapp-card {
  position: relative;
  cursor: pointer;
}

.home-identity .service-whatsapp-card > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.home-identity .service-whatsapp-card:focus-within {
  outline: 3px solid rgba(39, 179, 154, .28);
  outline-offset: 3px;
}

.home-identity .quote-form .submit-btn {
  background: linear-gradient(135deg, #27b39a, #35c7b1);
  box-shadow: 0 10px 24px rgba(39, 179, 154, .28);
}

.home-identity .quote-form .submit-btn:hover {
  box-shadow: 0 13px 28px rgba(39, 179, 154, .34);
}

.home-identity .quote-form .submit-btn:active {
  box-shadow: 0 7px 18px rgba(39, 179, 154, .24);
}

.home-identity .quote-form .submit-btn:focus-visible {
  outline: 3px solid rgba(39, 179, 154, .3);
  outline-offset: 3px;
}

.home-identity .whatsapp-float {
  background: #1fb85a;
  box-shadow: 0 10px 25px rgba(12, 110, 52, .35);
}

@media (max-width: 980px) {
  .home-identity .site-header .nav-wrap,
  .home-identity .hero .hero-content {
    width: min(1180px, calc(100% - 40px));
  }

  .home-identity .brand {
    width: 190px;
  }

  .home-identity .main-nav {
    gap: 18px;
  }

  .home-identity .hero-copy {
    width: 58%;
  }

  .home-identity .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 720px) {
  .home-identity .site-header {
    height: 68px;
  }

  .home-identity main section[id] {
    scroll-margin-top: 68px;
  }

  .home-identity .site-header .nav-wrap,
  .home-identity .hero .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .home-identity .brand {
    width: 150px;
    height: 62px;
  }

  .home-identity .main-nav {
    top: 68px;
  }

  .home-identity .main-nav a::after {
    bottom: 4px;
  }

  .home-identity .hero {
    min-height: auto;
    padding-top: 235px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .02) 18%, rgba(255, 255, 255, .18) 51%, #fff 94%),
      url('stm-hero-identity.webp');
    background-position: center top, center top;
    background-size: 100% 100%, 100% auto;
    background-repeat: no-repeat;
  }

  .home-identity .hero-content {
    min-height: auto;
  }

  .home-identity .hero-copy {
    width: 100%;
    padding: 26px 0 40px;
  }

  .home-identity .eyebrow {
    margin-bottom: 10px;
  }

  .home-identity .hero h1 {
    max-width: 520px;
    font-size: 37px;
    letter-spacing: -2px;
  }

}

@media (max-width: 430px) {
  .home-identity .hero {
    padding-top: 285px;
    background-size: auto 320px;
    background-position: 69% top;
  }

  .home-identity .hero-copy {
    padding-top: 28px;
  }

  .home-identity .eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .home-identity .hero h1 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }

  .home-identity .hero-lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .home-identity .hero-actions {
    display: grid;
  }

  .home-identity .hero-actions .btn {
    width: 100%;
  }

  .home-identity .hero-trust {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
    margin-top: 32px;
  }

  .home-identity .hero-trust span,
  .home-identity .hero-trust span:first-child,
  .home-identity .hero-trust span:last-child {
    padding: 0 12px;
  }

  .home-identity .hero-trust span:nth-child(2) {
    border-right: 0;
  }

  .home-identity .hero-location {
    flex-wrap: wrap;
    margin-top: 30px;
    line-height: 1.5;
  }
}
