/* Critical home styles for E. Marrero sections added after the original build. */
.hero-credential {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  max-width: 42rem;
  margin-top: 1.1rem;
  border: 1px solid rgba(244, 180, 0, 0.28);
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.55);
  padding: 0.65rem 0.95rem;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-credential span {
  display: inline-grid;
  place-items: center;
  min-height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4b400, #ed7614, #ed1414);
  color: #0b1f3a;
  padding: 0.32rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.hero-credential strong {
  color: #fff;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.25;
}

.client-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  max-width: min(64rem, 100%);
  margin: 0;
  background: none;
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-title-dot {
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f4b400;
  box-shadow: 0 0 0 0.32rem rgba(244, 180, 0, 0.12), 0 0 24px rgba(244, 180, 0, 0.52);
}

.tax-identity-section {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.25rem;
  padding: 6.5rem max(1.5rem, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(244, 180, 0, 0.26);
  border-bottom: 1px solid rgba(244, 180, 0, 0.26);
  background:
    linear-gradient(110deg, rgba(11, 31, 58, 0.98), rgba(11, 31, 58, 0.9) 56%, rgba(107, 114, 128, 0.34)),
    url("assets/hero-accounting.jpg") center / cover;
  color: #fff;
  isolation: isolate;
}

.tax-identity-section::before,
.tax-identity-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.tax-identity-section::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 5rem, rgba(244, 180, 0, 0.08) 5rem 5.08rem),
    radial-gradient(circle at 82% 12%, rgba(244, 180, 0, 0.28), transparent 18rem);
  opacity: 0.78;
}

.tax-identity-section::after {
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(135deg, #f4b400, #ed7614, #ed1414);
}

.tax-identity-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.tax-identity-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.tax-identity-copy .section-kicker {
  color: #f4b400;
}

.tax-identity-copy h2 {
  max-width: 36rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1.04;
  text-wrap: balance;
}

.tax-identity-copy p:not(.section-kicker) {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.07rem;
}

.tax-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.tax-identity-section .button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tax-identity-section .button-secondary:hover,
.tax-identity-section .button-secondary:focus-visible {
  background: linear-gradient(135deg, #f4b400, #ed7614, #ed1414);
  color: #0b1f3a;
}

.tax-identity-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.tax-id-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 17rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(1.1rem, 2.2vw, 1.4rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.tax-id-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, #f4b400, #ed7614, #ed1414);
}

.tax-id-card span {
  display: inline-grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid rgba(244, 180, 0, 0.46);
  border-radius: 50%;
  background: rgba(244, 180, 0, 0.12);
  color: #f4b400;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.tax-id-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.22rem, 1.7vw, 1.46rem);
  line-height: 1.1;
}

.tax-id-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.tax-identity-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1200px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.tax-identity-route div {
  display: grid;
  gap: 0.45rem;
  min-height: 8.2rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.tax-identity-route div:last-child {
  border-right: 0;
}

.tax-identity-route span {
  color: #f4b400;
  font-size: 0.8rem;
  font-weight: 950;
}

.tax-identity-route strong {
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.1;
}

.tax-identity-route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .tax-identity-inner {
    grid-template-columns: 1fr;
  }

  .tax-identity-panel {
    grid-template-columns: 1fr;
  }

  .tax-id-card {
    min-height: auto;
  }

  .tax-identity-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-credential {
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100%;
    border-radius: 8px;
    padding: 0.8rem;
  }

  .client-heading h2 {
    gap: 0.52rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    line-height: 1.28;
  }

  .client-title-dot {
    width: 0.52rem;
    height: 0.52rem;
    box-shadow: 0 0 0 0.24rem rgba(244, 180, 0, 0.12), 0 0 18px rgba(244, 180, 0, 0.46);
  }

  .tax-identity-section {
    padding: 4.5rem 1rem;
  }

  .tax-identity-actions,
  .tax-identity-actions .button {
    width: 100%;
  }

  .tax-identity-route {
    grid-template-columns: 1fr;
  }

  .tax-identity-route div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .tax-identity-route div:last-child {
    border-bottom: 0;
  }
}
