/* What We Offer: retain the existing template without leaking into the footer. */
.tz-services-page {
    --tz-blue: var(--tz-color-secondary);
    --tz-blue-dark: var(--tz-color-primary);
    --tz-navy: var(--tz-color-text);
    --tz-muted: var(--tz-color-muted);
    --tz-border: var(--tz-color-border);
    width: 100%;
    background: #fff;
    color: var(--tz-navy);
}

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

.tz-services-container {
    width: min(1440px, calc(100% - 80px));
    margin-inline: auto;
}

.tz-services-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--tz-border);
    background:
        linear-gradient(90deg, var(--tz-color-section) 0%, var(--tz-color-section) 38%, rgba(244, 249, 255, .9) 55%, rgba(244, 249, 255, .15) 100%),
        url('../../images/holiday1.png') right 54% / 66% auto no-repeat;
}

.tz-services-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgba(29, 82, 155, .12) 1px, transparent 1px);
    background-size: 9px 9px;
    mask-image: linear-gradient(90deg, transparent, #000 35%, transparent 80%);
    pointer-events: none;
}

.tz-services-hero-content {
    position: relative;
    max-width: 710px;
    padding: 24px 0 44px;
}

.tz-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    color: var(--tz-muted);
    font-size: 12px;
    line-height: 1.5;
}

.tz-breadcrumb a { color: var(--tz-navy); text-decoration: none; }
.tz-breadcrumb a:hover { color: var(--tz-blue-dark); text-decoration: underline; }

.tz-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--tz-blue-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tz-eyebrow::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    margin-top: 10px;
    background: var(--tz-blue);
}

.tz-services-hero h1 {
    margin: 0 0 20px;
    color: var(--tz-navy);
    font-size: clamp(34px, 3.25vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.3px;
    font-weight: 700;
}

.tz-services-hero h1 span { color: var(--tz-blue); }

.tz-services-hero p {
    max-width: 540px;
    margin: 0 0 30px;
    color: var(--tz-color-text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.tz-hero-features {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 22px;
}

.tz-hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tz-hero-feature > i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #dceaff;
    border-radius: 50%;
    background: var(--tz-color-icon-surface);
    color: var(--tz-blue);
    font-size: 14px;
}

.tz-hero-feature strong,
.tz-hero-feature small { display: block; line-height: 1.5; }
.tz-hero-feature strong { color: var(--tz-navy); font-size: 11px; font-weight: 700; }
.tz-hero-feature small { color: var(--tz-muted); font-size: 10px; }

.tz-services-body { padding: 28px 0 32px; }

.tz-services-panel {
    padding: 34px 24px 24px;
    border: 1px solid var(--tz-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(24, 63, 124, .045);
}

.tz-section-head { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.tz-section-head h2 {
    margin: 0 0 14px;
    color: var(--tz-navy);
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: -.6px;
    font-weight: 700;
}

.tz-section-head h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin: 12px auto 0;
    background: var(--tz-blue);
}

.tz-section-head p { max-width: 540px; margin: 0 auto; color: var(--tz-muted); font-size: 14px; line-height: 1.8; }
.tz-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.tz-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tz-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(24, 63, 124, .035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tz-service-card:focus-within { border-color: var(--tz-blue); box-shadow: 0 0 0 3px #e5efff; }
.tz-service-image { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--tz-color-icon-surface); }
.tz-service-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }

.tz-service-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: linear-gradient(150deg, var(--tz-blue), var(--tz-blue-dark));
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(6, 71, 199, .2);
}

.tz-service-content { display: flex; flex-direction: column; flex: 1; padding: 20px 18px 12px; }
.tz-service-content h3 { margin: 0 0 10px; color: var(--tz-navy); font-size: 18px; line-height: 1.4; letter-spacing: -.35px; font-weight: 700; }
.tz-service-content p { flex: 1; margin: 0 0 14px; color: var(--tz-muted); font-size: 13px; line-height: 1.8; }
.tz-service-content a {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    min-height: 44px;
    color: var(--tz-blue-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.tz-service-content a span { font-size: 18px; transition: transform .2s ease; }
.tz-service-content a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tz-service-content a:hover span { transform: translateX(3px); }

/* These five benefits are independent of the shared footer's four benefits. */
.tz-services-trust-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid #254d7c;
    border-radius: 10px;
    background: linear-gradient(110deg, #173e6e, #315d8d);
}
.tz-services-trust-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 24px 18px; border-right: 1px solid rgba(255, 255, 255, .16); }
.tz-services-trust-item:last-child { border-right: 0; }
.tz-services-trust-item > div { min-width: 0; }
.tz-services-trust-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #a9d4ff; font-size: 15px; }
.tz-services-trust-item h3 { margin: 0 0 7px; color: #fff; font-size: 12px; line-height: 1.5; font-weight: 700; }
.tz-services-trust-item p { margin: 0; color: #deebfc; font-size: 11px; line-height: 1.7; }

.tz-services-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 24px;
    padding: 30px 36px;
    border-radius: 9px;
    background: linear-gradient(100deg, #0056e8, #1744bd);
    color: #fff;
}
.tz-cta-left { display: flex; align-items: center; gap: 22px; }
.tz-cta-icon { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; background: var(--tz-color-section); color: var(--tz-blue); font-size: 25px; }
.tz-services-cta h2 { margin: 0 0 8px; color: #fff; font-size: 24px; line-height: 1.35; letter-spacing: -.5px; font-weight: 700; }
.tz-services-cta p { margin: 0; color: #e5eeff; font-size: 14px; line-height: 1.7; }
.tz-services-cta > a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 12px; min-height: 50px; padding: 12px 26px; border: 1px solid #fff; border-radius: 6px; background: #fff; color: var(--tz-blue-dark); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.tz-services-cta > a:hover { background: #eaf2ff; transform: translateY(-2px); }
.tz-services-page a:focus-visible { outline: 3px solid var(--tz-color-secondary); outline-offset: 4px; border-radius: 3px; }
.tz-services-cta > a:focus-visible { outline-color: #fff; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .tz-service-card:hover { transform: translateY(-4px); border-color: #a9c8f2; box-shadow: 0 12px 28px rgba(24, 63, 124, .1); }
    .tz-service-card:hover .tz-service-image img { transform: scale(1.035); }
}

@media (max-width: 1199px) {
    .tz-services-container { width: calc(100% - 48px); }
    .tz-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tz-services-trust-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tz-services-trust-item { grid-column: span 2; border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .tz-services-trust-item:nth-child(3) { border-right: 0; }
    .tz-services-trust-item:nth-last-child(-n+2) { grid-column: span 3; border-bottom: 0; }
    .tz-services-hero { background-size: auto, auto 100%; }
    .tz-service-content p { font-size: 14px; }
}

@media (max-width: 850px) {
    .tz-services-hero { background: var(--tz-color-section); }
    .tz-services-hero-content { padding-bottom: 34px; }
    .tz-services-hero h1 { font-size: 40px; }
    .tz-services-cta { align-items: flex-start; flex-direction: column; padding: 28px; }
}

@media (max-width: 640px) {
    .tz-services-container { width: calc(100% - 32px); }
    .tz-services-hero-content { padding: 20px 0 30px; }
    .tz-breadcrumb { margin-bottom: 28px; }
    .tz-services-hero h1 { font-size: clamp(29px, 7.5vw, 38px); letter-spacing: -.9px; }
    .tz-services-hero p { margin-bottom: 24px; font-size: 14px; }
    .tz-hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
    .tz-hero-feature { gap: 8px; }
    .tz-hero-feature > i { flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; }
    .tz-hero-feature strong { font-size: 10px; }
    .tz-services-body { padding: 20px 0 24px; }
    .tz-services-panel { padding: 26px 14px 14px; }
    .tz-section-head { margin-bottom: 24px; }
    .tz-section-head h2 { font-size: 23px; }
    .tz-section-head p { font-size: 13px; }
    .tz-services-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .tz-service-content { padding: 20px 18px 12px; }
    .tz-service-content a { font-size: 13px; }
    .tz-services-trust-strip { grid-template-columns: minmax(0, 1fr); }
    .tz-services-trust-item,
    .tz-services-trust-item:nth-last-child(-n+2) { grid-column: auto; padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .tz-services-trust-item:last-child { border-bottom: 0; }
    .tz-services-trust-item h3 { font-size: 13px; }
    .tz-services-trust-item p { font-size: 12px; }
    .tz-services-cta { gap: 22px; padding: 26px 20px; }
    .tz-cta-left { align-items: flex-start; gap: 14px; }
    .tz-cta-icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 20px; }
    .tz-services-cta h2 { font-size: 20px; }
    .tz-services-cta p { font-size: 13px; }
    .tz-services-cta > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .tz-services-page *, .tz-services-page *::before, .tz-services-page *::after { transition: none; }
    .tz-services-cta > a:hover, .tz-service-content a:hover span { transform: none; }
}
