.tax-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  background: #eff9ff;
}

.tax-hero-photo {
  position: absolute;
  inset: 0;
  background: url('../assets/images/tax-hero.webp?v=20261019.6') center 52% / cover no-repeat;
}

.tax-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-fade-desktop);
}

.tax-hero-inner {
  position: relative;
  z-index: 1;
}

.tax-hero .section-label {
  margin-bottom: 19px;
  color: #09158d;
}

.tax-hero h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: #091e63;
  font-size: clamp(45px, 5.3vw, 66px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.tax-hero h1 em,
.tax-glance h2 em,
.tax-support h2 em,
.tax-cover h2 em {
  color: #0788f1;
  font-style: normal;
}

.tax-hero p {
  max-width: 565px;
  margin: 0 0 20px;
  color: #172b81;
  line-height: 1.45;
}

.tax-hero-button {
  min-height: 49px;
  min-width: 265px;
}

.tax-glance {
  text-align: center;
  background: #fff;
}

.tax-glance .section-label {
  justify-content: center;
  margin-bottom: 14px;
}

.tax-glance h2 {
  margin: 0 0 27px;
  color: #091f61;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.tax-rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.tax-rate {
  padding: 0 20px;
}

.tax-rate + .tax-rate {
  border-left: 1px solid #6bc8f6;
}

.tax-rate strong {
  display: block;
  margin-bottom: 5px;
  color: #087af0;
  font-size: clamp(41px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}

.tax-rate h3 {
  margin: 0 0 9px;
  color: #071a68;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.tax-rate-rule {
  display: block;
  width: 41px;
  height: 1px;
  margin: 0 auto 10px;
  background: #32b7f3;
}

.tax-rate p {
  margin: 0;
  color: #0b77e4;
}

.tax-glance-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #89d6fb;
  color: #738fc0;
  text-align: left;
}

.tax-support {
  background: linear-gradient(120deg, #e6f7ff, #f4fbff 65%, #e4f6ff);
}

.tax-support .section-label,
.tax-cover .section-label {
  margin-bottom: 14px;
}

.tax-support h2,
.tax-cover h2 {
  margin: 0 0 26px;
  color: #081e60;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.tax-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.tax-support-grid > div + div {
  border-left: 1px solid #70c9f6;
  padding-left: 36px;
}

.tax-support-grid h3 {
  margin: 0 0 9px;
  color: #145fe0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.tax-support-grid p {
  margin: 0;
  color: #4e64b0;
  line-height: 1.55;
}

.tax-cover {
  background: #fff;
}

.tax-cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
}

.tax-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tax-service-list + .tax-service-list {
  border-left: 1px solid #70c9f6;
  padding-left: 35px;
}

.tax-service-list li {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 15px;
  padding: 13px 12px;
  color: #4e62a9;
  font-size: 16px;
  line-height: 1.35;
}

.tax-service-list li + li {
  border-top: 1px solid #91d7f9;
}

.tax-service-list li span {
  color: #086ef0;
  font-size: 17px;
  font-weight: 700;
}

.tax-cover-note {
  margin: 20px 0 0;
  color: #7892bb;
}

.tax-contact {
  background: linear-gradient(110deg, #063a88, #0657b7 57%, #078aeb);
}

.tax-contact .contact-inner > div {
  max-width: 630px;
}

.tax-contact h2 {
  margin-bottom: 12px;
  font-weight: 700;
}

.tax-contact p {
  margin: 0;
  line-height: 1.5;
}

.tax-contact .button-white {
  flex: none;
  min-height: 51px;
  color: #072289;
}

@media (max-width: 900px) {
  .tax-hero {
    min-height: 455px;
  }

  .tax-hero h1 {
    font-size: clamp(42px, 5.7vw, 55px);
  }

  .tax-rate h3 {
    font-size: 17px;
  }

  .tax-service-list li {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    font-size: 15px;
  }

  .tax-contact .contact-inner {
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .tax-hero {
    align-items: flex-start;
    min-height: clamp(630px, 155vw, 740px);
  }

  .tax-hero-photo {
    background-image: url('../assets/images/tax-hero-mobile.webp?v=20261019.6');
    background-position: center bottom;
  }

  .tax-hero-photo::after {
    background: var(--hero-fade-mobile);
  }

  .tax-hero h1 {
    max-width: 470px;
    font-size: clamp(38px, 9vw, 50px);
  }

  .desktop-break {
    display: none;
  }

  .tax-glance {
    text-align: left;
  }

  .tax-glance .section-label {
    justify-content: flex-start;
  }

  .tax-rates {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
  }

  .tax-rate {
    padding: 19px 0;
  }

  .tax-rate:first-child {
    padding-top: 0;
  }

  .tax-rate + .tax-rate {
    border-left: 0;
    border-top: 1px solid #9cddfb;
  }

  .tax-rate-rule {
    margin-left: 0;
  }

  .tax-support-grid,
  .tax-cover-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tax-support-grid > div + div,
  .tax-service-list + .tax-service-list {
    border-left: 0;
    border-top: 1px solid #91d7f9;
    padding: 20px 0 0;
  }

  .tax-service-list li {
    padding-inline: 0;
  }

  .tax-service-list li br {
    display: none;
  }

  .tax-contact .contact-inner {
    display: block;
  }

  .tax-contact .button-white {
    margin-top: 24px;
  }
}
