/* ============================================================================
   Toro Taxes home rebuild, 2026-04.
   Scope: new semantic homepage only. Legacy homepage remains at /home-old.
   Cache strategy: bump $home_css_version in Home::index on each edit.
   ============================================================================ */

@font-face {
    font-family: 'Vibur';
    src:
        url('../FONT/Vibur/Vibur.woff2') format('woff2'),
        url('../FONT/Vibur/Vibur.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

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

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

.ttx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 1.4rem;
    border-radius: 10px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ttx-btn:hover,
.ttx-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.ttx-btn--red {
    color: var(--ttx-white);
    background: var(--ttx-red);
    box-shadow: 0 8px 18px rgba(255, 0, 9, 0.2);
}

.ttx-btn--red:hover,
.ttx-btn--red:focus {
    color: var(--ttx-white);
    background: #c90008;
}

.ttx-btn--light {
    color: var(--ttx-black);
    background: var(--ttx-white);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.ttx-btn--italic {
    font-style: italic !important;
    font-weight: normal;
    font-size: 1.4rem;
    padding: 0.4rem 1rem 0.5rem;
}

/* Hero -------------------------------------------------------------------- */

.ttx-hero {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,0.75), rgba(255,255,255,0) 32%),
        linear-gradient(180deg, #fff 0%, #f8f8f8 54%, #fff 100%);
}

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

.ttx-hero__dollar-rain {
    top:50px;
    z-index: 1;
    pointer-events: none;
}

.ttx-hero > .ttx-moneyfx--home-hero {
    inset: 26px 0 0;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.5) 54%, rgba(0, 0, 0, 0) 62%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.5) 54%, rgba(0, 0, 0, 0) 62%);
}

.ttx-hero__stage {
    --ttx-hero-mascot-offset: 0px;
    --ttx-hero-mascot-size: min(49vw, 650px);
    position: relative;
    display: flex;
    align-items: center;
    min-height: 690px;
    padding-top: var(--ttx-hero-mascot-offset);
    padding-bottom: 40px;
}

.ttx-hero__copy {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: var(--ttx-hero-mascot-size);
    flex-direction: column;
    justify-content: center;
    width: 660px;
    max-width: 54%;
}

.ttx-home--es .ttx-hero__line{
    margin-top: 40px;
}

.ttx-home--es .ttx-advance__bottom strong{
    font-size: 5.5rem;
}

.ttx-hero__title {
    margin: 0;
    font-family: var(--ttx-font);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.83;
    text-transform: uppercase;
}

.ttx-hero__title #homeHorribleIndicator{
    display:none;
}

.ttx-hero__title > span:first-child {
    display: block;
    position: relative;
    font-size: 6.35rem;
}

.ttx-hero__title .locator_pin {
    position: absolute;
    width: 0.74em;
    height: auto;
    content: url('/assets/images/locator_pin.png');
    pointer-events: none;
    bottom: 0;
}
.ttx-hero__nobody{
    font-size: 5.75rem;
}

.ttx-hero__line {
    display: block;
    font-size: 4.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.ttx-hero__line em {
    display: block;
    color: var(--ttx-black);
    font-style: normal;
    letter-spacing: 0.04em;
}

.ttx-hero__title strong {
    display: block;
    margin-top: -0.88em;
    margin-left: 270px;
    color: var(--ttx-red);
    font-size: 7.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ttx-location-search {
    width: min(100%, 660px);
    margin-top: 28px;
    padding-bottom: 50px;
}

.ttx-search-box {
    display: flex;
    align-items: center;
    width: min(100%, 650px);
    min-height: 74px;
    padding: 8px 10px 8px 22px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.ttx-search-box .search-icon {
    flex: 0 0 auto;
    margin-right: 10px;
    color: #b3b3b3;
    font-size: 1.32rem;
}

.ttx-location-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    color: #000;
    background: transparent;
    padding: 15px 12px 15px 34px;
    height: auto;
    font-size: 1.45rem;
    font-weight: 500;
}

#homeSearchInput:focus,
.ttx-location-search input:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.ttx-location-search input::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.ttx-location-search button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ttx-red);
    padding: 15px 30px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(255, 0, 9, 0.14);
    transition: background-color 0.2s ease-out, transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.ttx-location-search button:hover,
.ttx-location-search button:focus {
    background: #b3040f;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 0, 9, 0.28);
}

.ttx-search-helper {
    margin: 10px 0 0 8px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
    text-align:center;
}

.ttx-hero__mascot {
    position: absolute;
    z-index: 2;
    top: var(--ttx-hero-mascot-offset);
    right: clamp(-76px, -2vw, -16px);
    width: min(50vw, 660px);
    height: var(--ttx-hero-mascot-size);
    background: url(../images/Campaign_2023.png) top right / contain no-repeat;
    animation: ttx-mascot-enter 0.9s cubic-bezier(0.2, 0.85, 0.25, 1) 0.15s both;
}

@keyframes ttx-mascot-enter {
    from {
        opacity: 0;
        transform: translateX(51%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ttx-hero__bill {
    position: absolute;
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
}

.ttx-hero__bill--one {
    top: 38px;
    left: 18%;
    width: 150px;
    filter: blur(1px);
    transform: rotate(-17deg);
}

.ttx-hero__bill--two {
    top: 165px;
    right: 28%;
    width: 190px;
    opacity: 0.28;
    filter: blur(2px);
}

.ttx-hero__bill--three {
    top: 395px;
    left: 3%;
    width: 205px;
    opacity: 0.28;
    filter: blur(1px);
}

.ttx-advance {
    position: relative;
    z-index: 4;
    display: block;
    min-height: 375px;
    margin-top: 0;
    padding-bottom: 62px;
}

.ttx-advance__money {
    position: absolute;
    inset: 0;
    min-height: 100%;
    pointer-events: none;
    margin-left: 200px;
}

.ttx-advance__money img {
    position: absolute;
}

.ttx-advance__money img:nth-child(1) {
    left: -22px;
    top: -8px;
    width: min(31vw, 405px);
    transform: rotate(-15deg);
}

.ttx-advance__money img:nth-child(2) {
    left: 24%;
    bottom: 200px;
    width: 250px;
}

.ttx-advance__money img:nth-child(3) {
    left: -220px;
    bottom: 24px;
    width: 360px;
}

.ttx-advance__message {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 62px;
}

.handwritten-text {
    font-family: 'Vibur', cursive;
    display: inline-block;
    transform: skewX(-5deg);
    transform-origin: right center;
    letter-spacing: -12px;
}


.ttx-advance__top {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: end;
    column-gap: 14px;
}

.ttx-advance__top > span {
    display: block;
    grid-column: 1;
    font-size: 4.55rem;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.82;
    text-transform: uppercase;
}

.ttx-advance__top > span.ttx-advance__message__receive{
    font-size: 3.6rem;
}

.ttx-advance__top > span.ttx-advance__message__upto{
    font-size: 4.4rem;
}

.ttx-advance__top > span + span {
    margin-top: 0.12em;
    letter-spacing: 0.04em;
}

.ttx-advance__top strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--ttx-red);
    font-size: 8rem;
    font-weight: 400;
    line-height: 0.75;
    white-space: nowrap;
}

.ttx-advance__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0;
    margin-top: -2px;
}

.ttx-advance__bottom strong {
    color: var(--ttx-red);
    font-size: 7.1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 0.82;
    text-transform: uppercase;
}

.ttx-advance__bottom em {
    margin-top: -0.08em;
    margin-right: 0.18em;
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 2px 2px #fff;
}

/* Split sections ---------------------------------------------------------- */

.ttx-split {
    margin-top: -2px;
    position: relative;
    padding: 0 0 40px;
}

.ttx-split--red {
    background: var(--ttx-red);
    color: #fff;
}
.ttx-split--red h2{
    color: #fff;
}

.ttx-split--white {
    background: #fff;
}

.ttx-split--white h2{
    color: #000;
}

.ttx-split__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    min-height: 640px;
    gap: clamp(34px, 5vw, 76px);
}

.ttx-split__grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.ttx-split__copy {
    max-width: 670px;
}



.ttx-split__copy h2 {
    margin: 0 0 22px;
    font-size: clamp(3.1rem, 4.5vw, 5.3rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.ttx-split__copy p {
    margin: 0 0 32px;
    font-size: clamp(1rem, 1.35vw, 1.5rem);
    line-height: 1.45;
}

.ttx-split__media {
    margin: 0;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-168px);
    transition: opacity 2.25s ease-out, transform 2.25s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: opacity, transform;
}

.ttx-revealed .ttx-split__media {
    opacity: 1;
    transform: translateY(0);
}

.ttx-split__media img {
    width: min(100%, 520px);
    object-fit: contain;
}

.ttx-split__media--white {
    background: #fff;
    border-radius: 0 0 260px 260px;
}

.ttx-split__media--red {
    min-height: 560px;
    background: var(--ttx-red);
    border-radius: 0 0 290px 290px;
}

.ttx-split__media--red img {
    width: min(116%, 600px);
    max-width: none;
    transform: translateY(24px);
}

/* Video story ------------------------------------------------------------- */

.ttx-video-story {
    padding: 90px 0 80px;
    background: #fff;
}

.ttx-statement-card {
    width: min(100%, 1320px);
    margin: 0 auto 35px;
    padding: 24px 34px 28px;
    border: 5px solid var(--ttx-red);
    border-bottom: 0;
    border-radius: 36px 36px 0 0;
    text-align: center;
}

.ttx-statement-card--lower {
    margin-top: 35px;
    margin-bottom: 65px;
    border-top: 0;
    border-bottom: 4px solid var(--ttx-red);
    border-radius: 0 0 28px 28px;
}

.ttx-statement-card p {
    margin: 0;
    color: var(--ttx-red);
    font-size: clamp(1.8rem, 2.25vw, 2.7rem);
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1.08;
}

.ttx-statement-card h2 {
    margin: 8px 0 0;
    color: var(--ttx-red);
    font-size: clamp(2.4rem, 3.45vw, 3.9rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
}

.ttx-video-grid {
    display: grid;
    gap: clamp(20px, 2vw, 30px);
}

.ttx-video-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ttx-video-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttx-services-carousel {
    position: relative;
    width: min(100%, 1320px);
    margin: 0 auto;
    opacity: 0;
    transform: translateX(96px);
    transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: opacity, transform;
}

.ttx-revealed .ttx-services-carousel {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.18s;
}

.ttx-services-carousel .carousel-control-prev,
.ttx-services-carousel .carousel-control-next {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transform: translateY(-50%);
    transition: background-color 0.2s ease-out;
}

.ttx-services-carousel .carousel-control-prev {
    left: 0;
}

.ttx-services-carousel .carousel-control-next {
    right: 0;
}

.ttx-services-carousel .carousel-control-prev:hover,
.ttx-services-carousel .carousel-control-prev:focus,
.ttx-services-carousel .carousel-control-next:hover,
.ttx-services-carousel .carousel-control-next:focus {
    background: rgba(0,0,0,0.4);
}

.ttx-services-carousel .carousel-control-prev-icon,
.ttx-services-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 4px #fff);
}

.ttx-video-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: #ddd;
}

.ttx-video-grid--two .ttx-video-card {
    opacity: 0;
    transform: translateY(78px);
    transition: opacity 0.65s ease-out, transform 0.65s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: opacity, transform;
}

.ttx-video-grid--two .ttx-video-card:nth-child(2) {
    transition-delay: 0.18s;
}

.ttx-revealed .ttx-video-grid--two .ttx-video-card {
    opacity: 1;
    transform: translateY(0);
}

.ttx-video-card video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.ttx-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.16);
}

.ttx-video-card__label {
    position: absolute;
    z-index: 2;
    display: flex;
    min-height: 70px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    min-width: min(76%, 270px);
    transform: translate(-50%, -50%);
    padding: 12px 22px;
    border-radius: 12px;
    text-align: center;
    color: var(--ttx-black);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(4px);
    text-decoration: underline;
}

.ttx-video-card__label span {
    display: block;
    font-size: clamp(1rem, 1.55vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0.045em;
    line-height: 1;
    text-transform: uppercase;
}

.ttx-video-card__label small {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
}

@media (min-width: 768px) {
    .ttx-video-card__label {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, calc(-50% + 8px));
        transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s linear 0.25s;
    }

    .ttx-video-card:hover .ttx-video-card__label,
    .ttx-video-card:focus .ttx-video-card__label,
    .ttx-video-card:focus-within .ttx-video-card__label {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
        transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0s linear 0s;
    }
}

.ttx-video-card:focus-visible {
    outline: 3px solid #ffd400;
    outline-offset: 4px;
}

/* Red gallery ------------------------------------------------------------- */

.ttx-service-gallery {
    padding: 74px 0 190px;
    color: #fff;
    background: var(--ttx-red);
}

.ttx-service-gallery__header {
    width: min(100%, 1320px);
    margin: 0 auto 38px;
    padding: 32px 24px;
    border: 5px solid #fff;
    border-radius: 0 0 36px 36px;
    text-align: center;
}

.ttx-service-gallery__header p,
.ttx-service-gallery__header h2 {
    margin: 0;
    color: #fff;
    font-weight: 900;
    line-height: 1.05;
}

.ttx-service-gallery__header p {
    font-size: clamp(2rem, 2.7vw, 3rem);
}

.ttx-service-gallery__header h2 {
    margin-top: 8px;
    font-size: clamp(2.65rem, 4.1vw, 4.7rem);
    letter-spacing: 0.035em;
}

@media (min-width: 992px) {
    .ttx-statement-card--lower {
        padding-top: 20px;
        padding-bottom: 22px;
    }

    .ttx-statement-card--lower p {
        font-size: 2.25rem;
    }

    .ttx-statement-card--lower h2 {
        font-size: 3.25rem;
    }

    .ttx-service-gallery__header {
        padding-top: 24px;
        padding-bottom: 26px;
    }

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

    .ttx-service-gallery__header h2 {
        font-size: 3.55rem;
    }
}

.ttx-service-gallery__copy {
    width: min(100%, 1180px);
    margin: 0 auto 34px;
    text-align: center;
    font-size: clamp(1rem, 1.45vw, 1.55rem);
    line-height: 1.45;
}

.ttx-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.ttx-photo-carousel-stack {
    display: grid;
    gap: 22px;
}

.ttx-photo-grid {
    --ttx-carousel-gap: 22px;
    display: flex;
    gap: var(--ttx-carousel-gap);
    transition: transform 0.55s ease;
    will-change: transform;
}

.ttx-photo-grid img {
    flex: 0 0 calc((100% - (var(--ttx-carousel-gap) * 3)) / 4);
    width: calc((100% - (var(--ttx-carousel-gap) * 3)) / 4);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
}

.ttx-service-gallery__btn {
    display: flex;
    width: fit-content;
    margin: 38px auto 0;
    color: var(--ttx-red);
}

/* Latinos and info cards --------------------------------------------------- */

.ttx-latinos {
    margin-top: -132px;
    padding: 0 0 80px;
    background: linear-gradient(180deg, var(--ttx-red) 0 132px, #fff 132px 100%);
}

.ttx-latinos > .ttx-shell {
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding-top: clamp(84px, 7.5vw, 118px);
}

.ttx-latinos__title {
    display: grid;
    grid-template-columns: minmax(520px, 0.46fr) minmax(520px, 1fr);
    align-items: end;
    column-gap: 34px;
    margin-bottom: 58px;
}

.ttx-latinos__title span,
.ttx-latinos__title strong,
.ttx-latinos__title em {
    display: block;
    font-style: normal;
    text-transform: uppercase;
}

.ttx-latinos__title span {
    grid-column: 1;
    font-size: clamp(1.75rem, 3vw, 3.65rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 0.95;
    text-align: right;
    white-space: nowrap;
}

.ttx-latinos__title strong {
    grid-column: 1;
    font-size: clamp(2.1rem, 3.4vw, 4.2rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 0.9;
    text-align: right;
}

.ttx-latinos__title em {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--ttx-red);
    font-size: clamp(5rem, 9vw, 10.3rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 0.78;
}

@media (min-width: 992px) {
    .ttx-latinos__title span {
        font-size: clamp(1.55rem, 2.45vw, 3rem);
    }

    .ttx-latinos__title strong {
        font-size: clamp(1.75rem, 2.75vw, 3.35rem);
    }

    .ttx-latinos__title em {
        font-size: clamp(4.7rem, 8vw, 9rem);
    }
}

.ttx-info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 64px);
    text-align: center;
}

.ttx-info-cards article {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
}

.ttx-info-cards h3 {
    margin: 0 0 18px;
    color: #000;
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    font-weight: 900;
}

.ttx-info-cards p {
    width: 100%;
    margin: 0;
    font-size: clamp(0.95rem, 1.22vw, 1.28rem);
    line-height: 1.45;
}

.ttx-info-cards img {
    width: 100%;
    margin: auto 0 18px;
    padding-top: 30px;
    aspect-ratio: 1.7 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.ttx-info-cards a {
    display: inline-flex;
    width: fit-content;
    align-self: center;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    color: #fff;
    background: var(--ttx-red);
    font-weight: 900;
    text-decoration: none;
    transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.ttx-info-cards a:hover,
.ttx-info-cards a:focus {
    color: #fff;
    background: #b3040f;
    box-shadow: 0 8px 18px rgba(255, 0, 9, 0.28);
    transform: translateY(-2px);
}

/* News and social ---------------------------------------------------------- */

.ttx-news-social {
    padding: 70px 0 60px;
    background: #fff;
}

#homePageNewsContainer {
    width: 80%;
    margin: 0 auto;
}

.ttx-old-news-row {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}

#homePageNewsAndSocialText,
#facebookSectionSlide {
    opacity: 0;
    transform: translateX(-158px);
    transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: opacity, transform;
}

#homeNewsSectionSlide,
#instagramSectionSlide {
    opacity: 0;
    transform: translateX(158px);
    transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1);
    will-change: opacity, transform;
}

.ttx-revealed #homePageNewsAndSocialText,
.ttx-revealed #facebookSectionSlide,
.ttx-revealed #homeNewsSectionSlide,
.ttx-revealed #instagramSectionSlide {
    opacity: 1;
    transform: translateX(0);
}

.ttx-revealed #homeNewsSectionSlide,
.ttx-revealed #instagramSectionSlide {
    transition-delay: 0.12s;
}

.ttx-revealed #facebookSectionSlide,
.ttx-revealed #instagramSectionSlide {
    transition-delay: 1.32s;
}

#homePageNewsAndSocialText h1 {
    margin: 0 0 -3vw;
    font-size: 3vw;
    font-weight: 900;
    line-height: 1;
}

#homePageNewsAndSocialText h2 {
    margin: 0;
    font-size: 4.5vw;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

#homePageNewsAndSocialText h2 span {
    color: var(--ttx-black);
}

#homePageNewsAndSocialText h2 strong {
    color: var(--ttx-red);
    font-size: 7vw;
}

#homePageNewsAndSocialText video {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    padding: 0.25rem;
}

#homeNewsSectionSlide .row {
    align-items: stretch;
}

.ttx-old-news-card-wrap {
    margin-top: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
}

.ttx-old-news-card {
    width: 100%;
    min-height: 25vw;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.ttx-old-news-card img {
    width: 100%;
    padding: 0.5rem;
    border-radius: 18px;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
}

.ttx-old-news-card .card-body {
    text-align: center;
}

.homePageNewsCardTitle {
    margin: 0 0 0.75rem;
    font-size: 1.2vw;
    font-weight: 900;
    line-height: 1.15;
}

.ttx-old-news-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
}

#home_news_button {
    border-radius: 0.25rem;
    background: var(--ttx-red);
    font-weight: 900;
    transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

#home_news_button:hover,
#home_news_button:focus {
    background: #b3040f;
    box-shadow: 0 8px 18px rgba(255, 0, 9, 0.28);
    transform: translateY(-2px);
}

.ttx-old-social-row {
    margin-top: 1.5rem;
}

.homePageFaceBookInstagram h2 {
    margin: 0 0 -0.3em;
    font-size: 3vw;
    font-weight: 900;
    line-height: 1;
}

.homePageFaceBookInstagram h3 {
    margin: 0;
    font-size: 4vw;
    font-weight: 900;
    line-height: 1.05;
}

.homePageFaceBookInstagram h3 span {
    color: var(--ttx-black);
}

.homePageFaceBookInstagram h3 strong {
    color: var(--ttx-red);
}

.ttx-old-social-preview {
    padding-top: 3vw;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ttx-old-social-preview:hover {
    background: #fff;
}

.ttx-old-social-preview img {
    transition: filter 0.3s ease;
}

.ttx-old-social-preview:hover img {
    filter: brightness(120%);
}

.ttx-old-social-preview img,
.ttx-instagram-frame iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
}

.ttx-instagram-frame {
    min-height: 370px;
    overflow: hidden;
}

/* Motion ------------------------------------------------------------------ */

.ttx-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.ttx-reveal.ttx-revealed {
    opacity: 1;
    transform: none;
}

.ttx-advance__message.ttx-reveal {
    opacity: 0;
    transform: translateY(114px);
    transition: opacity 0.75s ease-out, transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.ttx-advance__message.ttx-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ttx-reveal,
    .ttx-reveal.ttx-revealed,
    .ttx-split__media,
    .ttx-revealed .ttx-split__media,
    .ttx-advance__message.ttx-reveal,
    .ttx-advance__message.ttx-revealed,
    .ttx-video-grid--two .ttx-video-card,
    .ttx-revealed .ttx-video-grid--two .ttx-video-card,
    #homePageNewsAndSocialText,
    #facebookSectionSlide,
    #homeNewsSectionSlide,
    #instagramSectionSlide,
    .ttx-revealed #homePageNewsAndSocialText,
    .ttx-revealed #facebookSectionSlide,
    .ttx-revealed #homeNewsSectionSlide,
    .ttx-revealed #instagramSectionSlide,
    .ttx-services-carousel,
    .ttx-revealed .ttx-services-carousel,
    .ttx-photo-grid {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1199px) {
    .ttx-hero__stage {
        --ttx-hero-mascot-size: min(47vw, 540px);
    }

    .ttx-hero__copy {
        width: 590px;
        max-width: 58%;
    }

    .ttx-hero__title > span:first-child {
        font-size: 5.35rem;
    }

    .ttx-hero__line {
        font-size: 4.15rem;
    }

    .ttx-hero__title strong {
        margin-left: 208px;
        font-size: 7.25rem;
    }

    .ttx-hero__mascot {
        width: min(47vw, 540px);
    }

    .ttx-advance {
        min-height: 340px;
    }

    .ttx-advance__money {
        display: none;
    }

    .ttx-advance__message {
        width: min(100%, 850px);
        padding-top: 58px;
    }
    .ttx-advance__top {
        column-gap: 12px;
    }

    .ttx-advance__top > span {
        font-size: 3.9rem;
    }



    .ttx-advance__top strong {
        font-size: 8.2rem;
    }

    .ttx-advance__bottom {
        gap: 0;
    }

    .ttx-advance__bottom strong {
        font-size: 6.1rem;
    }

    .ttx-advance__bottom em {
        font-size: 1.2rem;
    }

    .ttx-split__grid {
        min-height: 560px;
    }
}

@media (max-width: 991px) {
    .ttx-hero__stage {
        display: block;
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 56px;
    }

    .ttx-hero__copy {
        display: block;
        min-height: 0;
        width: min(100%, 680px);
        max-width: 100%;
    }

    .ttx-hero__title > span:first-child {
        font-size: clamp(3.8rem, 10vw, 5.35rem);
    }

    .ttx-hero__line {
        font-size: clamp(3rem, 8vw, 4.15rem);
    }

    .ttx-hero__title strong {
        margin-left: clamp(165px, 28vw, 208px);
        font-size: clamp(4.8rem, 13vw, 7.25rem);
    }

    .ttx-hero__mascot {
        display: none;
    }

    .ttx-advance,
    .ttx-split__grid,
    .ttx-split__grid--reverse,
    .ttx-news,
    .ttx-social {
        grid-template-columns: 1fr;
    }

    .ttx-advance {
        margin-top: 0;
        padding-top: 32px;
    }

    .ttx-advance__message {
        justify-self: center;
    }

    .ttx-advance__money {
        min-height: 240px;
    }

    .ttx-split__grid--reverse .ttx-split__copy {
        order: 2;
    }

    .ttx-split__grid--reverse .ttx-split__media {
        order: 1;
    }

    .ttx-video-grid--two,
    .ttx-video-grid--three,
    .ttx-info-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ttx-photo-grid img {
        flex-basis: calc((100% - var(--ttx-carousel-gap)) / 2);
        width: calc((100% - var(--ttx-carousel-gap)) / 2);
    }

    .ttx-latinos__title {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ttx-latinos__title span,
    .ttx-latinos__title strong,
    .ttx-latinos__title em {
        grid-column: auto;
        grid-row: auto;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ttx-advance__message {
        width: 100%;
    }

    .ttx-advance__top > span {
        font-size: 3.4rem;
    }

    .ttx-advance__top strong {
        font-size: 7rem;
    }

    .ttx-advance__bottom strong {
        font-size: 5.3rem;
    }

    .ttx-advance__bottom em {
        font-size: 1rem;
    }
}

@media (max-width: 599px) {
    .ttx-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ttx-hero__stage {
        display: flex;
        align-items: flex-end;
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 0;
    }

    .ttx-hero__mascot {
        display: none;
    }

    .ttx-hero__title {
        line-height: 1.02;
        text-align: center;
    }

    .ttx-hero__title > span:first-child {
        font-size: 3.05rem;
    }

    .ttx-hero__nobody {
        display: block;
        font-size: inherit;
    }

    .ttx-hero__title .locator_pin {
        display: none;
    }

    .ttx-hero__line {
        font-size: 2.35rem;
    }

    .ttx-hero__line em {
        display: inline;
    }

    .ttx-hero__title strong {
        margin-top: 0;
        margin-left: 0;
        font-size: 3.75rem;
    }

    .ttx-location-search {
        width: 100%;
        padding-bottom: 0;
    }

    .ttx-advance__message {
        padding-top: 0;
    }

    .ttx-search-box {
        flex-wrap: wrap;
        border-radius: 18px;
        min-height: 86px;
        padding: 14px;
    }

    .ttx-search-box .search-icon {
        margin-right: 6px;
        font-size: 1.22rem;
    }

    .ttx-location-search button {
        flex: 1 1 100%;
        margin-top: 8px;
        padding: 16px 18px;
        font-size: 1.08rem;
    }

    .ttx-location-search input {
        flex: 1 1 calc(100% - 32px);
        padding: 14px 8px 14px 32px;
        font-size: 1.08rem;
    }

    .ttx-search-helper {
        margin-left: 4px;
        margin-right: 4px;
    }

    .ttx-advance__money {
        display: none;
    }

    .ttx-advance__top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ttx-advance__top > span.ttx-advance__message__receive {
        font-size: 0.9rem;
    }

    .ttx-advance__top > span.ttx-advance__message__upto {
        font-size: 1.55rem;
    }

    .ttx-advance__top strong {
        grid-column: auto;
        grid-row: auto;
        margin-top: 8px;
        font-size: clamp(3.6rem, 18vw, 5.2rem);
    }

    .ttx-advance__top .handwritten-text {
        font-size: clamp(3.3rem, 16vw, 4.85rem);
    }

    .ttx-advance__bottom {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .ttx-advance__bottom strong {
        font-size: 4.15rem;
    }

    .ttx-advance__bottom em {
        font-size: 0.88rem;
    }

    .ttx-split__grid {
        min-height: auto;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .ttx-split__media--white,
    .ttx-split__media--red {
        min-height: 320px;
        border-radius: 0 0 190px 190px;
    }

    .ttx-video-grid--two,
    .ttx-video-grid--three,
    .ttx-info-cards,
    .ttx-social {
        grid-template-columns: 1fr;
    }

    .ttx-photo-grid img {
        flex-basis: 100%;
        width: 100%;
    }

    .ttx-statement-card {
        padding: 20px 18px;
        margin-bottom: 36px;
        border-width: 3px;
    }

    .ttx-service-gallery__header {
        border-width: 3px;
    }

    .ttx-news__cards article {
        grid-template-columns: 1fr;
    }

    .ttx-news__cards article img {
        height: 180px;
    }
}

/* Home-only footer overlap ------------------------------------------------- */

#FooterZone {
    position: relative;
    overflow: hidden;
    padding-top: clamp(54px, 5vw, 76px);
    background: #000;
}

#FooterZone::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: clamp(24px, 5.5vw, 84px);
    right: clamp(24px, 5.5vw, 84px);
    height: clamp(42px, 4vw, 58px);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(255,255,255,0.08);
    pointer-events: none;
}

#Footer {
    position: relative;
    z-index: 1;
    background: #000;
}

@media (max-width: 599px) {
    #FooterZone {
        padding-top: 42px;
    }

    #FooterZone::before {
        left: 20px;
        right: 20px;
        height: 34px;
        border-radius: 0 0 14px 14px;
    }
}
