/* ============================================================================
   Toro Taxes services rebuild, 2026-04.
   Scope: /services only. Legacy page remains at /services-old.
   Cache strategy: bump $services_css_version in Services::index on each edit.
   ============================================================================ */

.ttx-services {
    --ttx-red: #FF0009;
    --ttx-black: #090909;
    --ttx-white: #fff;
    --ttx-max: 1440px;
    --ttx-gutter: clamp(24px, 4vw, 64px);
    --ttx-font: 'Muli', 'Montserrat', sans-serif;
    color: var(--ttx-black);
    background: #fff;
    font-family: var(--ttx-font);
    overflow: hidden;
}

.ttx-services *,
.ttx-services *::before,
.ttx-services *::after {
    box-sizing: border-box;
}

.ttx-services img,
.ttx-services video {
    display: block;
    max-width: 100%;
}

.ttx-services [id^="services-"] {
    scroll-margin-top: 84px;
}

.ttx-services-shell {
    width: min(100%, var(--ttx-max));
    margin: 0 auto;
    padding-left: var(--ttx-gutter);
    padding-right: var(--ttx-gutter);
}

.ttx-narrow {
    max-width: 1060px;
}

.ttx-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 44px;
    margin-top: 18px;
    padding: 0.72rem 1.4rem;
    border-radius: 5px;
    color: #fff;
    background: #000;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-align:center;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ttx-services-btn:hover,
.ttx-services-btn:focus {
    color: #fff;
    background: #222;
    text-decoration: none;
}

.ttx-services-btn--dark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 250px;
    min-height: 54px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.95rem 1.85rem;
    font-size: clamp(1.05rem, 1.2vw, 1.28rem);
    letter-spacing: 0.035em;
    box-shadow: 0 8px 0 rgba(255, 0, 9, 0.95);
}

.ttx-services-intro .ttx-services-btn {
    min-width: 250px;
    min-height: 54px;
    padding: 0.95rem 1.85rem;
    font-size: clamp(1.05rem, 1.2vw, 1.28rem);
    letter-spacing: 0.035em;
    box-shadow: 0 8px 0 rgba(255, 0, 9, 0.95);
}

.ttx-services-intro .ttx-services-btn:hover,
.ttx-services-intro .ttx-services-btn:focus {
    color: #fff;
    background: var(--ttx-red);
    box-shadow: 0 12px 18px rgba(255, 0, 9, 0.28);
    transform: translateY(-3px);
}

.ttx-services-btn--dark:hover,
.ttx-services-btn--dark:focus {
    background: var(--ttx-red);
    box-shadow: 0 12px 18px rgba(255, 0, 9, 0.28);
    transform: translateY(-3px);
}

.ttx-bookkeeping__red .ttx-services-btn--dark {
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.95);
}

.ttx-bookkeeping__red .ttx-services-btn--dark:hover,
.ttx-bookkeeping__red .ttx-services-btn--dark:focus {
    color: #000;
    background: #fff;
    box-shadow: 0 11px 17px rgba(255, 255, 255, 0.39);
}

.ttx-services-hero {
    margin-top: -10px;
    position: relative;
    min-height: 200px;
    padding: 20px 0 30px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
    background:
        radial-gradient(circle at 70% 18%, rgba(0,0,0,0.08), rgba(0,0,0,0) 24%),
        linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 12%, #f5f5f5 58%, #fff 88%, rgba(255,255,255,0) 100%);
}

.ttx-services--moneyfx-enabled .ttx-services-hero__dollar-rain {
    display: none;
}

.ttx-services-hero > .ttx-moneyfx--services-hero {
    inset: 0;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
}

.ttx-services-hero__dollar-rain {
    top: -10em;
    z-index: 1;
    pointer-events: none;
}

.ttx-services-hero .ttx-services-shell {
    position: relative;
    z-index: 2;
}

.ttx-services-hero h1 {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: end;
    column-gap: clamp(18px, 3vw, 44px);
    margin: 0;
    text-transform: uppercase;
}

.ttx-services-hero h1 span,
.ttx-services-hero h1 em {
    display: block;
    grid-column: 1;
    font-style: normal;
    line-height: 0.85;
}

.ttx-services-hero h1 span {
    font-size: clamp(3.2rem, 5.4vw, 6.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.ttx-services-hero h1 em {
    font-size: clamp(2.25rem, 3.9vw, 4.7rem);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.ttx-services-hero h1 strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--ttx-red);
    font-size: clamp(4.8rem, 9vw, 10.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.76;
}

.ttx-services-intro {
    padding: 10px 0 0;
    text-align: center;
}

.ttx-services-intro .ttx-copy {
    padding-top: 0;
    padding-bottom: 0;
}

.ttx-services-intro h2,
.ttx-copy h3 {
    margin: 0 0 26px;
    font-size: clamp(1.55rem, 2.4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.ttx-copy h3 {
    color: #000;
    text-align: center;
}

#services-real-estate .ttx-copy h3,
#services-real-estate ~ .ttx-service-block .ttx-copy h3 {
    font-size: clamp(1.35rem, 1.9vw, 2.25rem);
    font-weight: 900;
    text-align: left;
    text-transform: none;
}

#services-commercial-insurance .ttx-services-btn--dark {
    margin-top: 100px;
}

.ttx-services-intro h2 {
    font-size: clamp(1.75rem, 2.65vw, 3.1rem);
}

.ttx-service-block > .ttx-services-shell > h2 {
    font-size: clamp(1.75rem, 2.65vw, 3.1rem);
    text-align:center;
}

#services-life-title {
    color: #000;
    margin: 0 0 26px;
    font-size: clamp(1.55rem, 2.4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.ttx-bookkeeping__red .ttx-copy--white h3,
#services-life-title,
#services-life-insurance > .ttx-services-shell.ttx-copy h3 {
    font-size: clamp(1.72rem, 2.65vw, 3.1rem);
}

.ttx-services-intro p,
.ttx-copy p,
.ttx-copy li {
    font-size: clamp(1rem, 1.42vw, 1.48rem);
    line-height: 1.45;
}

.ttx-copy p,
.ttx-copy li {
    font-size: clamp(1.16rem, 1.65vw, 1.78rem);
}

.ttx-service-block > .ttx-services-shell > p {
    font-size: clamp(1.16rem, 1.65vw, 1.78rem);
    line-height: 1.45;
}

.ttx-services-intro p {
    margin: 0 0 28px;
    text-align: left;
}

.ttx-bookkeeping {
    position: relative;
    padding-top: 10px;
    padding-bottom: 0;
}

.ttx-bookkeeping__team {
    width: min(100%, 980px);
    margin: 0 auto -10px;
    position: relative;
    z-index: 2;
}

.ttx-bookkeeping__red {
    position: relative;
    padding: 86px 0 86px;
    color: #fff;
    background: var(--ttx-red);
    z-index: 3;
}

.ttx-bookkeeping__red > .ttx-services-shell {
    position: relative;
}

.ttx-bookkeeping__red::before {
    content: "";
    position: absolute;
    top: -56px;
    left: 50%;
    width: min(56vw, 720px);
    height: 58px;
    background: var(--ttx-red);
    border-radius: 14px 14px 0 0;
    transform: translateX(-50%);
    z-index: 0;
}

.ttx-bookkeeping__red::after {
    content: "";
    position: absolute;
    bottom: -56px;
    left: 50%;
    width: min(56vw, 720px);
    height: 58px;
    background: var(--ttx-red);
    border-radius: 0 0 18px 18px;
    transform: translateX(-50%);
    z-index: 0;
}

.ttx-bookkeeping__red > .ttx-services-shell > .ttx-moneyfx--services-bookkeeping {
    inset: 0;
    z-index: 0;
}

.ttx-money {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.ttx-money--one { left: 0; top: 34px; width: 190px; transform: rotate(-12deg); }
.ttx-money--two { right: 4%; top: 74px; width: 155px; }
.ttx-money--three { left: 9%; top: 198px; width: 130px; }
.ttx-money--four { right: 10%; top: 210px; width: 120px; transform: rotate(18deg); }

.ttx-bookkeeping__heading,
.ttx-copy--white {
    position: relative;
    z-index: 2;
}

.ttx-bookkeeping__heading {
    margin-bottom: 52px;
    text-align: center;
}

.ttx-bookkeeping__heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 3.75vw, 4.85rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 0.92;
}

.ttx-bookkeeping__heading p {
    margin: 6px 0 0;
    color: #fff;
    font-size: clamp(2.25rem, 3.35vw, 4.25rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.ttx-copy {
    padding-top: 48px;
    padding-bottom: 58px;
}

.ttx-copy--white {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0;
    color: #fff;
}

.ttx-copy--white h3,
.ttx-copy--white p,
.ttx-copy--white li {
    color: #fff;
}

.ttx-copy p {
    margin: 0 0 28px;
}

.ttx-copy ul {
    list-style: disc;
    margin: 0 0 30px;
    padding-left: 1.35em;
}

.ttx-service-block {
    padding: 74px 0 58px;
    background: #fff;
}

#services-life-insurance {
    margin-top: 50px;
}

.ttx-service-block .ttx-narrow {
    width: min(100%, 1080px);
}

.ttx-word-banner {
    display: grid;
    grid-template-columns: minmax(240px, 0.48fr) minmax(420px, 1fr);
    align-items: end;
    column-gap: 26px;
    margin-bottom: 34px;
    text-transform: uppercase;
}

.ttx-word-banner span,
.ttx-word-banner em,
.ttx-word-banner strong {
    display: block;
    font-style: normal;
    line-height: 0.86;
}

.ttx-word-banner span {
    grid-column: 1;
    font-size: clamp(2rem, 3.6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: 0.035em;
    text-align: right;
}

.ttx-word-banner em {
    grid-column: 1;
    font-size: clamp(2rem, 3.4vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: right;
}

.ttx-word-banner strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--ttx-red);
    font-size: clamp(5rem, 9vw, 10.2rem);
    font-weight: 900;
    letter-spacing: 0.055em;
}

.ttx-word-banner--you strong,
.ttx-word-banner--secure strong {
    letter-spacing: 0.02em;
}

.ttx-word-banner--secure {
    grid-template-columns: 1fr;
    text-align: center;
}

.ttx-word-banner--secure span,
.ttx-word-banner--secure strong {
    grid-column: auto;
    grid-row: auto;
    text-align: center;
}

.ttx-word-banner--secure span {
    font-size: clamp(2.4rem, 4.2vw, 5rem);
}

.ttx-word-banner--secure strong {
    font-size: clamp(5.7rem, 13vw, 15rem);
}

.ttx-logo-banner {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 34px);
    margin-bottom: 34px;
    text-transform: uppercase;
}

.ttx-logo-banner strong {
    color: var(--ttx-red);
    font-size: clamp(5.2rem, 11vw, 12.6rem);
    font-weight: 900;
    line-height: 0.72;
}

.ttx-logo-banner span {
    font-size: clamp(2.9rem, 5.2vw, 6rem);
    font-weight: 500;
    line-height: 0.86;
}

.ttx-video-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
    margin-bottom: 42px;
}

.ttx-video-row video {
    width: 100%;
    aspect-ratio: 1.78 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.ttx-service-block:nth-of-type(even) {
    background: #fafafa;
}

@media (max-width: 991px) {
    .ttx-services-hero h1,
    .ttx-word-banner,
    .ttx-logo-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ttx-services-hero h1 span,
    .ttx-services-hero h1 em,
    .ttx-services-hero h1 strong,
    .ttx-word-banner span,
    .ttx-word-banner em,
    .ttx-word-banner strong {
        grid-column: auto;
        grid-row: auto;
        text-align: center;
    }

    .ttx-video-row {
        grid-template-columns: 1fr;
    }

    .ttx-bookkeeping__red {
        padding-top: 62px;
    }

    .ttx-bookkeeping__red::before {
        top: -42px;
        height: 42px;
    }

    .ttx-bookkeeping__red::after {
        bottom: -42px;
        height: 42px;
    }

    .ttx-money {
        opacity: 0.45;
    }
}

@media (max-width: 599px) {
    .ttx-bookkeeping .ttx-money,
    .ttx-bookkeeping .ttx-money--one,
    .ttx-bookkeeping .ttx-money--two,
    .ttx-bookkeeping .ttx-money--three,
    .ttx-bookkeeping .ttx-money--four {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .ttx-services-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ttx-services-hero {
        min-height: 220px;
    }

    .ttx-services-intro,
    .ttx-service-block {
        padding-top: 25px;
        padding-bottom: 21px;
    }

    .ttx-bookkeeping__team {
        width: 118%;
        max-width: none;
        margin-left: -9%;
    }

    .ttx-bookkeeping__red::before {
        top: -28px;
        height: 30px;
    }

    .ttx-bookkeeping__red::after {
        bottom: -28px;
        height: 30px;
    }

    .ttx-video-row video:nth-child(2) {
        display: none;
    }

    .ttx-bookkeeping__heading h2 {
        font-size: 2.75rem;
    }

    .ttx-bookkeeping__heading p {
        font-size: 2.35rem;
    }

    .ttx-word-banner strong,
    .ttx-word-banner--secure strong,
    .ttx-logo-banner strong {
        font-size: clamp(4.5rem, 18vw, 6rem);
    }
}
