.taxes-page {
  background: #f6f8fb;
}

.taxes-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tax-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: #ffffff;
  background: #041a3f;
}

.tax-hero-media,
.tax-hero-media img,
.tax-hero-shade {
  position: absolute;
  inset: 0;
}

.tax-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.tax-hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 26, 63, 0.98) 0%, rgba(4, 26, 63, 0.88) 36%, rgba(4, 26, 63, 0.42) 62%, rgba(4, 26, 63, 0.04) 100%),
    linear-gradient(0deg, rgba(4, 26, 63, 0.34), rgba(4, 26, 63, 0.08));
}

.tax-hero-grid {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.tax-hero-copy {
  width: min(650px, 100%);
  padding: 70px 0;
}

.tax-eyebrow {
  margin: 0 0 12px;
  color: #ffc526;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tax-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.tax-hero h1 span {
  display: block;
  color: #ffc526;
}

.tax-subtitle {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: 1.18rem;
  font-weight: 650;
}

.tax-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tax-bullets li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.tax-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 17px;
  height: 17px;
  border: 2px solid #ffc526;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffc526 0 3px, transparent 4px);
}

.tax-actions,
.tax-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tax-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
}

.tax-btn svg {
  width: 20px;
  height: 20px;
}

.tax-btn-gold {
  color: #041a3f;
  background: linear-gradient(180deg, #ffd34a, #f0ad09);
  box-shadow: 0 14px 26px rgba(240, 173, 9, 0.25);
}

.tax-btn-outline {
  color: #ffffff;
  border: 1px solid rgba(255, 197, 38, 0.95);
  background: rgba(4, 26, 63, 0.42);
}

.tax-section {
  padding: 34px 0 18px;
  background: #ffffff;
}

.tax-section-title {
  position: relative;
  margin: 0 0 24px;
  color: #08265a;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  text-align: center;
}

.tax-section-title::before,
.tax-section-title::after {
  content: "";
  display: inline-block;
  width: min(110px, 15vw);
  height: 2px;
  margin: 0 16px 8px;
  background: #f0ad09;
}

.tax-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.tax-service-grid article {
  min-height: 220px;
  padding: 24px 18px;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(8, 38, 90, 0.08);
}

.tax-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #08265a;
  border-radius: 50%;
  background: #f4f8fc;
}

.tax-icon svg {
  width: 36px;
  height: 36px;
}

.tax-service-grid h3 {
  margin: 16px 0 8px;
  color: #08265a;
  font-size: 1.02rem;
}

.tax-service-grid p {
  margin: 0;
  color: #102142;
  font-size: 0.93rem;
  font-weight: 650;
}

.tax-why {
  padding: 28px 0 34px;
  background: #f6f8fb;
}

.tax-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.tax-why-grid article {
  min-height: 120px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  border-right: 1px solid #dde5ef;
}

.tax-why-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #08265a;
  border: 2px solid #dde5ef;
  border-radius: 50%;
}

.tax-why-grid svg {
  width: 28px;
  height: 28px;
}

.tax-why-grid h3 {
  margin: 0;
  color: #08265a;
  font-size: 0.96rem;
  line-height: 1.2;
}

.tax-form-section {
  padding: 44px 0;
  color: #ffffff;
  background: linear-gradient(90deg, #041a3f, #08265a);
}

.tax-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
}

.tax-form-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.tax-form-copy p {
  max-width: 540px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 650;
}

.tax-form-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 850;
}

.tax-form-copy li {
  position: relative;
  padding-left: 26px;
}

.tax-form-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffc526;
}

.tax-form {
  padding: 26px;
  color: #102142;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

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

.tax-form label {
  display: grid;
  gap: 6px;
  color: #08265a;
  font-size: 0.82rem;
  font-weight: 900;
}

.tax-form .wide {
  grid-column: 1 / -1;
}

.tax-form input,
.tax-form select,
.tax-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #102142;
  background: #ffffff;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  font: inherit;
}

.tax-form textarea {
  min-height: 106px;
  resize: vertical;
}

.tax-form button {
  min-height: 52px;
  color: #041a3f;
  background: linear-gradient(180deg, #ffd34a, #f0ad09);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.tax-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tax-consent {
  margin: 14px 0 0;
  color: #59677d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tax-form-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.tax-form-message.success {
  color: #0f5132;
  background: #d1e7dd;
}

.tax-form-message.error {
  color: #842029;
  background: #f8d7da;
}

.tax-cta {
  padding: 0 0 38px;
  background: #f6f8fb;
}

.tax-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 28px;
  color: #ffffff;
  background: linear-gradient(90deg, #041a3f, #08265a);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(8, 38, 90, 0.16);
}

.tax-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.tax-cta p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
}

.tax-cta-actions {
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 1050px) {
  .tax-service-grid,
  .tax-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .tax-hero,
  .tax-hero-grid {
    min-height: auto;
  }

  .tax-hero-media img {
    object-position: 66% center;
  }

  .tax-hero-shade {
    background: linear-gradient(90deg, rgba(4, 26, 63, 0.98), rgba(4, 26, 63, 0.88));
  }

  .tax-hero-copy {
    padding: 54px 0;
  }

  .tax-bullets,
  .tax-form-fields {
    grid-template-columns: 1fr;
  }

  .tax-service-grid,
  .tax-why-grid {
    grid-template-columns: 1fr;
  }

  .tax-section-title::before,
  .tax-section-title::after {
    display: none;
  }

  .tax-form {
    padding: 20px;
  }

  .tax-cta-panel {
    display: grid;
    padding: 22px;
  }

  .tax-cta-actions,
  .tax-btn {
    width: 100%;
  }
}
