/* TMIS Homepage Hero Slider — isolated styles */
.tmis-home-hero {
    --tmis-hero-red: #005579
;
    --tmis-hero-ink: #171717;
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, 43vw, 680px);
    overflow: hidden;
    background: #e9eff3;
    font-family: inherit
}

.tmis-home-hero * {
    box-sizing: border-box
}

.tmis-hero-slides,
.tmis-hero-slide {
    position: absolute;
    inset: 0
}

.tmis-hero-slide {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 900ms ease, transform 6s ease
}

.tmis-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 30%, rgba(255, 255, 255, .28) 58%, rgba(255, 255, 255, .08) 100%)
}

.tmis-hero-slide.is-active {
    opacity: 1;
    transform: scale(1)
}

.tmis-hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 7vw, 1440px);
    min-height: inherit;
    margin: 0 auto;
    padding: clamp(36px, 4vw, 68px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
    align-items: center;
    gap: clamp(24px, 4vw, 64px)
}

.tmis-hero-copy {
    max-width: 660px
}

.tmis-hero-eyebrow {
    margin: 0 0 12px;
    color: #434343;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em
}

.tmis-hero-copy h1 {
    margin: 0;
    color: var(--tmis-hero-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.3vw, 76px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.035em
}

.tmis-hero-copy h1 span {
    color: var(--tmis-hero-red)
}

.tmis-hero-description {
    max-width: 460px;
    margin: 20px 0 24px;
    color: #333;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6
}

.tmis-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.tmis-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .025em;
    transition: .25s ease
}

.tmis-hero-btn-primary {
    background: var(--tmis-hero-red);
    color: #fff;
    border: 1px solid var(--tmis-hero-red)
}

.tmis-hero-btn-primary:hover {
    background: #750711;
    border-color: #750711;
    transform: translateY(-2px)
}

.tmis-hero-btn-outline {
    background: rgba(255, 255, 255, .72);
    color: var(--tmis-hero-red);
    border: 1px solid var(--tmis-hero-red)
}

.tmis-hero-btn-outline:hover {
    background: var(--tmis-hero-red);
    color: #fff
}

.tmis-hero-highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(65px, 1fr));
    max-width: 560px;
    gap: 12px;
    margin-top: clamp(24px, 3vw, 44px)
}

.tmis-hero-highlight {
    text-align: center;
    color: #303030;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px
}

.tmis-hero-icon {
    color: var(--tmis-hero-red);
    font-size: 28px;
    line-height: 1;
    font-family: Arial, sans-serif
}

.tmis-hero-highlight small {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35
}

.tmis-hero-enquiry {
    width: 100%;
    max-width: 310px;
    justify-self: end;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(18, 31, 45, .2)
}

.tmis-hero-enquiry-header {
    padding: 18px 20px 16px;
    color: #fff;
    background: var(--tmis-hero-red)
}

.tmis-hero-enquiry-header h2 {
    margin: 0 0 5px;
    font-size: 19px;
    line-height: 1.1;
    text-transform: uppercase
}

.tmis-hero-enquiry-header p {
    margin: 0;
    font-size: 12px;
    opacity: .92
}

.tmis-hero-enquiry-form {
    display: grid;
    gap: 10px;
    padding: 16px 18px 18px
}

.tmis-hero-enquiry-form input,
.tmis-hero-enquiry-form select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 12px
}

.tmis-hero-enquiry-form input:focus,
.tmis-hero-enquiry-form select:focus {
    border-color: var(--tmis-hero-red);
    box-shadow: 0 0 0 2px rgba(153, 12, 24, .1)
}

.tmis-hero-enquiry-form button {
    height: 44px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: var(--tmis-hero-red);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .25s
}

.tmis-hero-enquiry-form button:hover {
    background: #750711
}

.tmis-hero-slider-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%)
}

.tmis-hero-dots {
    display: flex;
    gap: 8px
}

.tmis-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(50, 50, 50, .25);
    cursor: pointer
}

.tmis-hero-dot.is-active {
    width: 24px;
    border-radius: 20px;
    background: var(--tmis-hero-red);
    transition: width .25s ease
}

@media(max-width:900px) {
    .tmis-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 290px);
        gap: 22px
    }

    .tmis-hero-highlights {
        gap: 6px
    }

    .tmis-hero-highlight small {
        font-size: 9px
    }
}

@media(max-width:700px) {
    .tmis-home-hero {
        min-height: auto
    }

    .tmis-hero-content {
        width: min(100% - 32px, 560px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 42px 0 56px;
        gap: 28px
    }

    .tmis-hero-slide {
        background-position: 62% center
    }

    .tmis-hero-slide::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .35) 100%)
    }

    .tmis-hero-copy h1 {
        font-size: clamp(40px, 12vw, 58px)
    }

    .tmis-hero-description {
        max-width: 400px
    }

    .tmis-hero-highlights {
        grid-template-columns: repeat(5, 1fr);
        margin-top: 25px;
        gap: 4px
    }

    .tmis-hero-icon {
        font-size: 22px
    }

    .tmis-hero-highlight small {
        font-size: 8px
    }

    .tmis-hero-enquiry {
        max-width: none;
        justify-self: stretch
    }

    .tmis-hero-slider-controls {
        bottom: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    .tmis-hero-slide {
        transition: none;
        transform: none
    }
}