/* Match innovativeassociates.com.au custom CSS + Laravel overrides */

.header__btn {
    display: none;
}

.page-header__home-link {
    display: none;
}

.site-footer__shape-2 {
    bottom: 5%;
}

/* Footer — dark theme (matches innovativeassociates.com.au post-831) */
.tax-zimed-footer,
.tax-zimed-footer .elementor-section,
.tax-zimed-footer .elementor-column,
.tax-zimed-footer .elementor-widget-wrap,
.tax-zimed-footer .elementor-widget-container {
    background-color: #272839 !important;
}

.tax-zimed-footer {
    color: #b8bcc8;
}

.tax-zimed-footer .elementor-element-273731a {
    padding: 28px 0 0 !important;
}

.tax-zimed-footer .elementor-widget-text-editor,
.tax-zimed-footer .elementor-widget-text-editor .elementor-widget-container {
    color: #b8bcc8 !important;
    font-size: 15px;
    line-height: 1.7;
}

.tax-zimed-footer .elementor-heading-title {
    color: #ff8a3d !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 12px;
}

.tax-zimed-footer .elementor-icon-list-text {
    color: #b8bcc8 !important;
    transition: color 0.2s ease;
}

.tax-zimed-footer .elementor-icon-list-item a {
    color: #b8bcc8 !important;
}

.tax-zimed-footer .elementor-icon-list-item a:hover .elementor-icon-list-text,
.tax-zimed-footer .elementor-icon-list-item a:focus-visible .elementor-icon-list-text {
    color: #7eb8ff !important;
}

.tax-zimed-footer .elementor-icon-list-icon {
    color: #9aa0b0 !important;
}

.tax-zimed-footer .elementor-icon-list-icon i {
    color: inherit !important;
}

.tax-zimed-footer .elementor-button {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 28px !important;
}

.tax-zimed-footer .elementor-button:hover,
.tax-zimed-footer .elementor-button:focus-visible {
    background-color: #27ae60 !important;
    color: #ffffff !important;
}

/* Footer bottom bar — copyright left, credits right (original layout) */
.tax-footer-bar {
    margin-top: 6px;
    background-color: #1a1c28 !important;
}

.tax-footer-bar__rule {
    height: 1px;
    margin: 0 0 20px;
    background-color: rgba(255, 255, 255, 0.1);
}

.tax-footer-bar__wrap {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px 24px;
}

.tax-footer-bar__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.tax-footer-bar__copy,
.tax-footer-bar__credit {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #9aa0b0;
}

.tax-footer-bar__copy {
    flex: 1 1 auto;
    text-align: left;
}

.tax-footer-bar__credit {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .tax-footer-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tax-footer-bar__credit {
        text-align: left;
        white-space: normal;
    }
}

.tax-footer-bar__copy a {
    color: #b8bcc8;
    font-weight: 400;
    text-decoration: none;
}

.tax-footer-bar__copy a:hover,
.tax-footer-bar__copy a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.tax-footer-bar__credit a {
    color: #ff8a3d !important;
    font-weight: 600;
    text-decoration: none;
}

.tax-footer-bar__credit a:hover,
.tax-footer-bar__credit a:focus-visible {
    color: #ffb07a !important;
    text-decoration: underline;
}

/* Back to top — match original coral circle */
.scroll-to-target.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9991;
    width: 52px;
    height: 52px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #e74c3c !important;
    color: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.92);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.2s ease;
}

.scroll-to-target.scroll-to-top:hover,
.scroll-to-target.scroll-to-top:focus-visible {
    background: #c0392b !important;
    color: #ffffff !important;
}

.scroll-to-target.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-target.scroll-to-top i {
    font-size: 20px;
    line-height: 1;
}

.tax-zimed-footer .elementor-element-6c72338,
.tax-zimed-footer .elementor-element-08e4766 {
    display: inline-block;
    margin-right: 12px;
}

.tax-zimed-footer .elementor-element-6c72338 img,
.tax-zimed-footer .elementor-element-08e4766 img {
    max-height: 72px;
    width: auto;
}

.page-header h2 {
    font-size: 50px;
}

img {
    width: auto;
}

@media (min-width: 1300px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 767px) {
    .banner-one .container {
        background-image: url(https://innovativeassociates.com.au/wp-content/uploads/2021/05/mobilebg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .service-two__text {
        display: none;
    }

    .banner-one .banner-one__moc {
        display: none;
    }

    .contact-one__infos {
        margin-left: -40px;
    }

    .contact-one__infos-single,
    .cta-three__box {
        flex-direction: initial;
    }

    .cta-three__box-content {
        padding-left: 20px;
    }

    .elementor img {
        max-width: 80%;
    }

    .contact-one__infos-single p {
        font-size: 14px;
    }
}

/* Inner page header bg — navy gradient applied in tax-inn-theme.css */
.page-header:not(.inn-tax-page-hero) {
    background-image: url(https://innovativeassociates.com.au/wp-content/uploads/2021/03/page-header-bg-4.jpg) !important;
}

.side-menu__content {
    display: none;
}

@media (max-width: 425px) {
    .main-nav__logo-box .side-menu__toggler {
        margin-left: 60px;
    }
}

/* Innovative Tax logo image */
a.tax-brand {
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
    line-height: 0;
}

a.tax-brand:focus-visible {
    outline: 2px solid var(--inn-tax-blue, #1e63d8);
    outline-offset: 4px;
    border-radius: 4px;
}

body.tax-inn-platform .main-nav__logo-box .main-nav__logo,
body.tax-inn-platform .main-nav__logo-box a.tax-brand {
    background: none !important;
    background-image: none !important;
}

body.tax-inn-platform .main-nav__logo-box::before,
body.tax-inn-platform .main-nav__logo-box::after,
body.tax-inn-platform .main-nav__logo::before,
body.tax-inn-platform .main-nav__logo::after {
    display: none !important;
    content: none !important;
}

.tax-brand__img {
    display: block !important;
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: min(480px, 72vw);
    object-fit: contain;
    object-position: left center;
    visibility: visible !important;
    opacity: 1 !important;
}

.tax-brand__img--footer {
    max-height: 88px;
    max-width: min(320px, 90vw);
}

.tax-brand__img--nav {
    max-height: 56px;
    max-width: min(200px, 48vw);
}

@media (max-width: 640px) {
    .tax-brand__img {
        max-height: 60px;
        max-width: min(240px, 68vw);
    }

    .tax-brand__img--footer {
        max-height: 72px;
    }
}

/* Homepage hero — phone mockup with Innovative Tax logo */
body.tax-inn-platform .tax-hero-moc {
    pointer-events: none;
}

body.tax-inn-platform .tax-hero-moc__screen {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 22px 22px;
    box-shadow: 0 28px 56px rgba(8, 23, 38, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.35);
    max-width: 340px;
}

body.tax-inn-platform .tax-hero-moc__logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 18px;
}

body.tax-inn-platform .tax-hero-moc__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body.tax-inn-platform .tax-hero-moc__badge {
    max-height: 52px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

@media (max-width: 767px) {
    body.tax-inn-platform .tax-hero-moc {
        display: none !important;
    }
}

.cta-two__style-three__list {
    display: none;
}

/* Laravel flash messages in contact form */
.contact-one__form [role="alert"] {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    list-style: disc inside;
}

.contact-one__form [role="alert"] ul {
    margin: 0;
    padding: 0;
}

.cta-two__style-three-summery p {
    color: #7c7d8a;
    text-align: justify;
}

.tax-partners-row {
    padding: 50px 0 70px;
    background: #f4f7ff;
}

.tax-partners-row__logo {
    max-height: 120px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.section-pad-sm {
    padding: 40px 0;
}

body.page-about .cta-four + .cta-two__style-three {
    margin-top: 0;
}

/* Meet the team — member profile page */
.tax-team-profile {
    padding: 40px 0 72px;
}

.tax-team-profile__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.tax-team-profile__eyebrow {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7c7d8a;
}

.tax-team-profile__position {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    color: #0b1f3f;
}

.tax-team-profile__name {
    margin: 0 0 28px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    color: #0b1f3f;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tax-team-profile__photo {
    width: min(100%, 340px);
    margin: 0 auto 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(11, 31, 63, 0.12);
}

.tax-team-profile__photo img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
}

.tax-team-profile__bio {
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    text-align: justify;
}

.tax-team-profile__bio p {
    margin-bottom: 1rem;
}

.tax-team-profile__bio p:last-child {
    margin-bottom: 0;
}

.tax-team-profile__contact-zone {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.tax-team-profile__contact {
    margin: 0;
}

.tax-team-profile__empty {
    color: #7c7d8a;
    font-style: italic;
    text-align: center;
}

/* Meet the team — listing */
.tax-team-office-heading {
    padding: 20px 0 10px;
    text-align: center;
}

.tax-team-office-heading__title {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
}

.tax-team-grid {
    padding: 24px 0 64px;
}

.tax-team-grid__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
    align-items: start;
}

.tax-team-grid__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px 0;
    text-align: center;
    font-size: 16px;
    color: #7c7d8a;
}

.tax-team-grid__col {
    min-width: 0;
}

.tax-team-card {
    height: 100%;
    padding: 0;
}

.tax-team-card__panel {
    max-width: 300px;
    margin: 0 auto;
    padding: 32px 28px 28px;
    border-radius: 999px 999px 48px 48px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
    border: 1px solid #e8ecf3;
    box-shadow: 0 8px 28px rgba(11, 31, 63, 0.06);
}

.tax-team-card__photo {
    width: 220px;
    height: 290px;
    margin: 0 auto 22px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(11, 31, 63, 0.1);
}

.tax-team-card__photo-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tax-team-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    margin: 0;
}

.tax-team-card__contact-zone {
    display: flex;
    justify-content: center;
    min-height: 52px;
    margin-top: 6px;
}

.tax-team-grid__row--cards {
    justify-items: center;
}

.tax-team-card__name {
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tax-team-card__name a {
    color: inherit;
    text-decoration: none;
}

.tax-team-card__name a:hover {
    color: #6a26ed;
}

.tax-team-card__role {
    font-size: 16px;
    color: #7c7d8a;
    margin: 0 0 18px;
    line-height: 1.5;
}

/* Meet the team — navy contact icon buttons */
.tax-contact-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tax-contact-icons--center {
    justify-content: center;
}

.tax-team-card__contact {
    justify-content: center;
    margin: 14px 0 10px;
}

.tax-contact-icons__btn {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #0b1f3f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(11, 31, 63, 0.25);
    flex-shrink: 0;
}

.tax-contact-icons__btn .tax-contact-icons__svg {
    display: block;
    width: 22px;
    height: 22px;
}

.tax-contact-icons__btn:hover,
.tax-contact-icons__btn:focus {
    background-color: #163a6b;
    color: #ffffff;
    transform: translateY(-2px);
}

.tax-contact-icons__btn:focus-visible {
    outline: 2px solid #6a26ed;
    outline-offset: 3px;
}

.tax-contact-icons__btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

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

@media (max-width: 767px) {
    .tax-team-profile__name {
        font-size: 30px;
    }

    .tax-team-profile__photo img {
        height: 360px;
    }

    .tax-team-card__panel {
        max-width: 100%;
        padding: 24px 20px 22px;
        border-radius: 32px;
    }

    .tax-team-card__photo {
        width: 200px;
        height: 260px;
    }

    .tax-team-office-heading__title {
        font-size: 28px;
    }

    .tax-team-grid__row {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Disclaimer */
.tax-disclaimer-content {
    padding: 50px 0 70px;
}

.tax-disclaimer-content__heading {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.35;
}

.tax-disclaimer-content__heading:not(:first-child) {
    margin-top: 40px;
}

.tax-disclaimer-content__text {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.tax-disclaimer-content__text p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.elementor-1287 .tax-disclaimer-content__text,
.elementor-37 .elementor-text-editor {
    font-size: 18px;
    line-height: 36px;
    color: #000000;
}

/* Services page */
.service-page__grid {
    padding-top: 50px;
    padding-bottom: 70px;
}

.service-page .service-two__single {
    margin-bottom: 30px;
}

/* Service detail pages (accounting, etc.) */
.tax-service-detail {
    padding: 30px 0;
}

.tax-service-detail__hero-image {
    padding: 20px 0 10px;
}

.tax-service-detail__tagline {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.4;
}

.tax-service-detail__heading {
    font-size: 28px;
    font-weight: 700;
    margin: 30px 0 20px;
    line-height: 1.35;
}

.tax-service-detail__intro p,
.tax-service-detail__closing .elementor-text-editor p {
    font-size: 18px;
    line-height: 36px;
    color: #000000;
    text-align: justify;
    margin-bottom: 1.25rem;
}

.tax-service-detail .elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-service-detail .elementor-icon-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.tax-service-detail .elementor-icon-list-icon {
    color: var(--thm-base, #9361ff);
    flex-shrink: 0;
    margin-top: 3px;
}

.tax-service-detail .icon__list-style-two .elementor-icon-list-icon {
    color: var(--thm-base, #9361ff);
}

.tax-service-detail__closing {
    padding-bottom: 60px;
}

.tax-service-detail__body {
    padding-bottom: 60px;
}

.tax-service-detail__hero-image .w-100 {
    max-width: 768px;
    margin: 0 auto;
    display: block;
}

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

.tax-service-detail__topics li {
    font-size: 18px;
    line-height: 36px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.25rem;
}

.tax-service-detail__body a {
    color: var(--thm-base, #9361ff);
    font-weight: 600;
    text-decoration: none;
}

.tax-service-detail__body a:hover {
    text-decoration: underline;
}

/* Mentoring page */
.tax-mentoring__pdf {
    margin: 1.5rem 0 2rem;
    border: 1px solid #e8e8ef;
    border-radius: 4px;
    overflow: hidden;
    background: #f4f7ff;
}

.tax-mentoring__pdf iframe {
    display: block;
    border: 0;
    min-height: 500px;
}

/* Perspective page */
.tax-perspective {
    padding: 50px 0 70px;
}

.tax-perspective__content {
    padding-bottom: 0;
}

.tax-perspective__content strong {
    font-weight: 700;
    color: #000000;
}

/* Calculator page – home loan widget + lender panel */
.tax-hl-calc {
    padding: 20px 0 50px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.tax-hl-calc__header,
.tax-lenders__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}

.tax-hl-calc__title,
.tax-lenders__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #0b1f3f;
    line-height: 1.2;
}

.tax-hl-calc__lead,
.tax-lenders__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
}

.tax-hl-calc__frame-wrap {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(11, 31, 63, 0.08);
    overflow: hidden;
}

.tax-hl-calc__iframe {
    display: block;
    width: 100%;
    min-height: 1000px;
    height: 1000px;
    border: 0;
    background: #fff;
}

.tax-lenders {
    padding: 50px 0 60px;
    background: #fff;
}

.tax-lenders__category {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #0b1f3f;
    text-align: center;
}

.tax-lenders__major {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

@media (min-width: 640px) {
    .tax-lenders__major {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .tax-lenders__major {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.tax-lenders__logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e8ecf3;
    border-radius: 8px;
    position: relative;
}

.tax-lenders__logo-img {
    max-width: 120px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tax-lenders__logo-fallback {
    display: none;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: #0b1f3f;
    line-height: 1.3;
}

.tax-lenders__slider-outer {
    overflow: hidden;
    margin: 0 -15px;
    padding: 8px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tax-lenders__slider-track {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    animation: tax-lenders-scroll 55s linear infinite;
}

.tax-lenders__slider-outer:hover .tax-lenders__slider-track {
    animation-play-state: paused;
}

@keyframes tax-lenders-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tax-lenders__slide {
    flex: 0 0 auto;
    width: 140px;
    padding: 14px 12px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e8ecf3;
    border-radius: 8px;
}

.tax-lenders__slide-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-bottom: 8px;
}

.tax-lenders__slide-logo img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.tax-lenders__slide-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: #0b1f3f;
}

/* Tax lodgement page */
.tax-lodgement {
    padding: 40px 0 70px;
}

.tax-lodgement__embed iframe {
    display: block;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    min-height: 539px;
    height: 539px;
    border: none;
}

/* Contact page – office map cards (elementor-45) */
.elementor-45 .elementor-element.elementor-element-aff0cb4 > .elementor-container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.elementor-45 .elementor-element.elementor-element-6fbd63e .elementor-widget-container,
.elementor-45 .elementor-element.elementor-element-899018a .elementor-widget-container {
    text-align: center !important;
}

.elementor-45 .elementor-element.elementor-element-6fbd63e iframe,
.elementor-45 .elementor-element.elementor-element-899018a iframe {
    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    height: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .elementor-45 .elementor-element.elementor-element-6fbd63e iframe,
    .elementor-45 .elementor-element.elementor-element-899018a iframe {
        max-width: 100% !important;
        height: 380px !important;
    }
}

.contact-one__form-wrap .alert,
.contact-one__form-wrap [role="alert"] {
    margin-bottom: 1.25rem;
}

/* Tax nav – Inngroup button (after Contact) */
.main-nav__navigation-box .menu-item-inngroup {
    display: flex;
    align-items: center;
}

.main-nav__navigation-box .main-nav__inngroup-btn {
    display: inline-block;
    padding: 11px 24px;
    margin-left: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: 4px;
}

.main-nav__navigation-box .main-nav__inngroup-btn:hover {
    color: #ffffff;
}

/* Contact form — success notice (replaces theme giant checkmark) */
.contact-one__form-wrap .wpcf7-response-output,
.contact-form-validated::before,
.contact-form-validated::after,
.tax-contact-form.validated::before,
.tax-contact-form.validated::after {
    display: none !important;
    content: none !important;
}

.tax-contact-success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #6ee7b7;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.12);
    max-width: 100%;
}

.tax-contact-success__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.tax-contact-success__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    line-height: 1.3;
}

.tax-contact-success__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #047857;
}

.tax-contact-errors {
    margin-bottom: 1.25rem;
    padding: 14px 18px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-size: 14px;
    color: #991b1b;
}

.tax-contact-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* —— Tax service landing pages (BAS/GST, etc.) —— */
.tax-svc-landing {
    --tax-svc-navy: #272839;
    --tax-svc-accent: #9361ff;
    --tax-svc-orange: #ff8a3d;
    --tax-svc-muted: #555555;
    --tax-svc-border: #e8e8ef;
    --tax-svc-ice: #f7f7fb;
}

.tax-svc-kicker {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tax-svc-accent);
    margin: 0 0 10px;
}

.tax-svc-kicker--light {
    color: rgba(255, 255, 255, 0.75);
}

.tax-svc-h2 {
    margin: 0;
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--tax-svc-navy);
}

.tax-svc-h2--light {
    color: #fff;
}

.tax-svc-head {
    margin-bottom: 2rem;
}

.tax-svc-head--center {
    text-align: center;
}

.tax-svc-sub {
    margin: 12px auto 0;
    max-width: 40rem;
    font-size: 17px;
    line-height: 1.6;
    color: var(--tax-svc-muted);
}

.tax-svc-lead {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--tax-svc-navy);
}

.tax-svc-prose p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--tax-svc-muted);
    text-align: justify;
    margin: 0 0 1rem;
}

.tax-svc-prose p:last-child {
    margin-bottom: 0;
}

.tax-svc-prose--light p {
    color: rgba(255, 255, 255, 0.9);
}

.tax-svc-prose--center {
    text-align: center;
}

.tax-svc-prose--center p {
    text-align: center;
}

.tax-svc-hero {
    padding: 50px 0 55px;
    background: linear-gradient(135deg, #f7f7fb 0%, #fff 55%, #f3efff 100%);
}

.tax-svc-hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .tax-svc-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.tax-svc-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--tax-svc-navy);
}

.tax-svc-hero__media img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(39, 40, 57, 0.12);
}

.tax-svc-hero__actions,
.tax-svc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.75rem;
}

.tax-svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
}

.tax-svc-btn--outline {
    background: transparent !important;
    color: var(--tax-svc-navy) !important;
    border: 2px solid var(--tax-svc-navy);
}

.tax-svc-btn--outline:hover {
    background: var(--tax-svc-navy) !important;
    color: #fff !important;
}

.tax-svc-block {
    padding: 55px 0;
}

.tax-svc-block--alt {
    background: var(--tax-svc-ice);
}

.tax-svc-block--dark {
    background: linear-gradient(145deg, var(--tax-svc-navy) 0%, #3d3f55 100%);
    color: #fff;
}

.tax-svc-cards {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .tax-svc-cards--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tax-svc-card {
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid var(--tax-svc-border);
    border-radius: 8px;
    border-top: 3px solid var(--tax-svc-accent);
    box-shadow: 0 8px 24px rgba(39, 40, 57, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tax-svc-block--alt .tax-svc-card {
    background: #fff;
}

.tax-svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(39, 40, 57, 0.1);
}

.tax-svc-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f3efff 0%, #ebe4ff 100%);
    color: var(--tax-svc-accent);
    font-size: 18px;
}

.tax-svc-card__title {
    margin: 1rem 0 0.5rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--tax-svc-navy);
}

.tax-svc-card__text {
    margin: 0 0 0.65rem;
    font-size: 15px;
    line-height: 1.65;
    color: var(--tax-svc-muted);
    text-align: left;
}

.tax-svc-card__text:last-child {
    margin-bottom: 0;
}

.tax-svc-split {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .tax-svc-split {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.tax-svc-why {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.tax-svc-why li {
    padding: 1.15rem 1.25rem;
    background: var(--tax-svc-ice);
    border-left: 4px solid var(--tax-svc-accent);
    border-radius: 0 8px 8px 0;
}

.tax-svc-why strong {
    display: block;
    font-size: 16px;
    color: var(--tax-svc-navy);
    margin-bottom: 0.35rem;
}

.tax-svc-why span {
    display: block;
    font-size: 15px;
    line-height: 1.55;
    color: var(--tax-svc-muted);
}

.tax-svc-highlight {
    max-width: 52rem;
    margin: 0 auto;
}

.tax-svc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tax-svc-tags li {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tax-svc-navy);
    background: #fff;
    border: 1px solid var(--tax-svc-border);
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tax-svc-tags li:hover {
    border-color: var(--tax-svc-accent);
    color: var(--tax-svc-accent);
    background: #f3efff;
}

.tax-svc-cta {
    padding: 55px 0 70px;
    background: #fff;
}

.tax-svc-cta__inner {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--tax-svc-navy) 0%, #3d3f55 100%);
    box-shadow: 0 22px 50px rgba(39, 40, 57, 0.18);
}

.tax-svc-cta__title {
    margin: 0.35rem 0 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.tax-svc-cta__emphasis {
    margin: 1.25rem 0 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tax-svc-orange);
}

.tax-svc-cta__sub {
    margin: 0.5rem 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.tax-svc-cta .tax-svc-btn--outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.85);
}

.tax-svc-cta .tax-svc-btn--outline:hover {
    background: #fff !important;
    color: var(--tax-svc-navy) !important;
}

.tax-svc-cta__actions {
    justify-content: center;
}

.tax-svc-intro-band {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.tax-svc-intro-band .tax-svc-prose {
    margin-top: 1.25rem;
    text-align: left;
}
