/* ============================================================
   TruckInsuranceFL — Main Stylesheet
   Author: 1Solutions | Version: 1.0.0
   ============================================================ */

/* ─── CSS Custom Properties ─── */
:root {
    --tif-navy:      #1a3a6b;
    --tif-navy-dark: #0f2348;
    --tif-blue:      #2563eb;
    --tif-blue-dark: #1d4ed8;
    --tif-blue:      #1ACCE4;
    --tif-teal:      #1acce4
    --tif-teal-dark: #0a9c8c;
    --tif-light:     #f0f4ff;
    --tif-white:     #ffffff;
    --tif-gray:      #7a88a8;
    --tif-dark-gray: #444e6b;
    --tif-border:    #dde6f5;
    --tif-text:      #1a1a2e;
    --tif-shadow:    0 6px 32px rgba(26,58,107,0.10);
    --tif-shadow-lg: 0 12px 48px rgba(26,58,107,0.16);
    --tif-radius:    10px;
    --tif-radius-sm: 6px;
    --tif-transition:0.3s ease;
    --tif-container: 1200px;
    --tif-header-h:  70px;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: var(--tif-text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--tif-transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
textarea { resize: vertical; }

/* ─── Container ─── */
.tif-container {
    width: 100%;
    max-width: var(--tif-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography helpers ─── */
.tif-label {
    display: block;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tif-gray);
    margin-bottom: 10px;
}
.tif-label::before { content: '— '; }
.tif-label::after  { content: ' —'; }
.tif-label-left { text-align: left; }

.tif-h2 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tif-navy);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 10px;
}
.tif-subtitle {
    text-align: center;
    font-size: 15px;
    color: #1a1a2e;
    max-width: 580px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

/* ─── Sections ─── */
.tif-section    { padding: 80px 0; }
.tif-section-white { background: var(--tif-white); }
.tif-section-alt   { background: var(--tif-light); }
.tif-section-flush { padding: 0; }

/* ─── Buttons ─── */
.tif-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--tif-radius-sm);
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--tif-transition), transform var(--tif-transition), box-shadow var(--tif-transition);
    text-decoration: none;
    white-space: nowrap;
}
.tif-btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.tif-btn:active { transform: translateY(0); }

.tif-btn-primary { background: var(--tif-blue);  color: #fff; }
.tif-btn-primary:hover { background: var(--tif-blue-dark); color: #fff; }

.tif-btn-teal   { background: var(--tif-teal);  color: #fff; }
.tif-btn-teal:hover { background: var(--tif-teal-dark); color: #fff; }

.tif-btn-dark   { background: var(--tif-navy);  color: #fff; }
.tif-btn-dark:hover { background: var(--tif-navy-dark); color: #fff; }

.tif-btn-outline {
    background: transparent;
    color: var(--tif-navy);
    border: 2px solid var(--tif-border);
}
.tif-btn-outline:hover { background: var(--tif-light); border-color: var(--tif-navy); color: var(--tif-navy); }

.tif-btn-blue-sm {
    background: var(--tif-blue);
    color: #fff;
    padding: 10px 22px;
    font-size: 13px;
}
.tif-btn-blue-sm:hover { background: var(--tif-blue-dark); color: #fff; }

.tif-btn-lg { padding: 16px 38px; font-size: 15px; }


/* ════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════ */
.tif-topbar {
    background: var(--tif-navy);
    padding: 8px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
}
.tif-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.tif-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tif-topbar-item a { color: rgba(255,255,255,0.85); }
.tif-topbar-item a:hover { color: var(--tif-teal); }
.tif-topbar-item i { color: var(--tif-teal); font-size: 12px; }


/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.tif-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(26,58,107,0.08);
    height: var(--tif-header-h);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s, background 0.3s;
}
.tif-header.tif-scrolled {
    box-shadow: 0 4px 24px rgba(26,58,107,0.14);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
}
.tif-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
}

/* Logo */
.tif-logo a { display: flex; align-items: center; }
.tif-logo img { max-height: 52px; width: auto; }
.tif-logo-text {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--tif-navy);
    letter-spacing: -0.3px;
}
.tif-logo-bold { color: var(--tif-blue); }
.tif-logo-truck { color: var(--tif-teal); margin-right: 6px; font-size: 22px; }

/* Primary Menu */
.tif-nav { margin-left: auto; }
.tif-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tif-menu li a {
    display: block;
    padding: 6px 14px;
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--tif-dark-gray);
    border-radius: 4px;
    transition: color var(--tif-transition), background var(--tif-transition);
    position: relative;
}
.tif-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--tif-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.tif-menu li a:hover,
.tif-menu li.current-menu-item > a {
    color: var(--tif-blue);
}
.tif-menu li a:hover::after,
.tif-menu li.current-menu-item > a::after {
    transform: scaleX(1);
}
.tif-header-cta { margin-left: 8px; flex-shrink: 0; }

/* Hamburger */
.tif-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    margin-left: auto;
    padding: 4px;
}
.tif-ham-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tif-navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.tif-hamburger.active .tif-ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tif-hamburger.active .tif-ham-bar:nth-child(2) { opacity: 0; width: 0; }
.tif-hamburger.active .tif-ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.tif-mobile-nav {
    position: fixed;
    top: var(--tif-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.tif-mobile-nav.open { transform: translateX(0); }
.tif-mobile-nav-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tif-mobile-menu { display: flex; flex-direction: column; gap: 2px; }
.tif-mobile-menu li a {
    display: block;
    padding: 14px 16px;
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tif-navy);
    border-bottom: 1px solid var(--tif-border);
    transition: color var(--tif-transition), padding-left var(--tif-transition);
}
.tif-mobile-menu li a:hover,
.tif-mobile-menu li.current-menu-item > a {
    color: var(--tif-blue);
    padding-left: 24px;
}
.tif-mobile-cta { margin-top: 20px; align-self: flex-start; }


/* ════════════════════════════════════════════
   SECTION 1 — HERO SLIDER
════════════════════════════════════════════ */
.tif-hero { position: relative; height: 80svh; min-height: 520px; max-height: 800px; }
.tif-hero-swiper { width: 100%; height: 100%; }

.tif-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.tif-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(10,22,50,0.82) 0%,
        rgba(10,22,50,0.55) 60%,
        rgba(10,22,50,0.20) 100%
    );
    z-index: 1;
}
.tif-slide .tif-container { position: relative; z-index: 2; }

.tif-slide-content {
    max-width: 620px;
    padding: 40px 0;
}

.tif-slide-heading {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(32px, 5.5vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-40px);
    transition: none;
}
.tif-slide-bullets {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}
.tif-slide-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    line-height: 1.4;
}
.tif-slide-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tif-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    color: #fff;
}
.tif-slide-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

/* Swiper nav */
.tif-swiper-prev,
.tif-swiper-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: background var(--tif-transition);
}
.tif-swiper-prev:hover,
.tif-swiper-next:hover { background: rgba(255,255,255,0.28); }
.tif-swiper-prev::after,
.tif-swiper-next::after { display: none; }

.tif-swiper-pagination { bottom: 24px !important; }
.tif-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s;
}
.tif-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--tif-teal);
    width: 28px;
    border-radius: 5px;
}
.tif-slide-counter {
    position: absolute;
    bottom: 24px;
    right: 32px;
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    z-index: 10;
}


/* ════════════════════════════════════════════
   SECTION 2 — QUOTE FORM
════════════════════════════════════════════ */
.tif-stepper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 720px;
    margin: 0 auto 44px;
}
.tif-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: default;
}
.tif-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 6px);
    height: 1.5px;
    background: var(--tif-border);
    z-index: 0;
}
.tif-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--tif-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--tif-gray);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.tif-step.active .tif-step-num {
    background: var(--tif-blue);
    border-color: var(--tif-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.tif-step.completed .tif-step-num {
    background: var(--tif-teal);
    border-color: var(--tif-teal);
    color: #fff;
}
.tif-step-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--tif-gray);
    text-align: center;
    white-space: nowrap;
}
.tif-step.active .tif-step-label { color: var(--tif-blue); font-weight: 600; }
.tif-step.completed .tif-step-label { color: var(--tif-teal); }

/* Form box */
.tif-form-box {
    background: #fff;
    border-radius: var(--tif-radius);
    box-shadow: var(--tif-shadow);
    padding: 40px 48px;
    max-width: 920px;
    margin: 0 auto;
}
.tif-form-heading {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--tif-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--tif-light);
    padding-bottom: 12px;
    margin-bottom: 28px;
}
.tif-fgrid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 18px; }
.tif-fgrid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-bottom: 18px; }
.tif-fgrid-1 { margin-bottom: 18px; }
.tif-fgroup  { display: flex; flex-direction: column; gap: 5px; }
.tif-fgroup label {
    font-size: 11px;
    font-weight: 700;
    color: var(--tif-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tif-fgroup input,
.tif-fgroup select,
.tif-fgroup textarea {
    width: 100%;
    height: 42px;
    border: 1.5px solid var(--tif-border);
    border-radius: var(--tif-radius-sm);
    padding: 0 14px;
    font-size: 13.5px;
    color: var(--tif-text);
    background: #fff;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: auto;
}
.tif-fgroup textarea { height: auto; padding: 10px 14px; }
.tif-fgroup input:focus,
.tif-fgroup select:focus,
.tif-fgroup textarea:focus {
    border-color: var(--tif-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.tif-fgroup input.tif-error,
.tif-fgroup select.tif-error { border-color: #ef4444; }

.tif-radio-row {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 42px;
}
.tif-radio-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--tif-text);
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}
.tif-form-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.tif-form-actions-both { justify-content: space-between; }

/* Review box */
.tif-review-box {
    background: var(--tif-light);
    border-radius: var(--tif-radius-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.tif-review-box p { font-size: 14px; color: var(--tif-dark-gray); margin-bottom: 16px; }
.tif-review-summary {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    font-size: 13px;
    color: var(--tif-dark-gray);
}
.tif-review-summary span { font-weight: 600; color: var(--tif-navy); }

/* Form message */
.tif-form-msg {
    padding: 14px 18px;
    border-radius: var(--tif-radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}
.tif-form-msg.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.tif-form-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Loading spinner on submit */
.tif-btn.loading { opacity: 0.7; pointer-events: none; }
.tif-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tif-spin 0.7s linear infinite;
    margin-left: 8px;
}
@keyframes tif-spin { to { transform: rotate(360deg); } }


/* ════════════════════════════════════════════
   SECTION 3 — ABOUT
════════════════════════════════════════════ */
.tif-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}
.tif-about-img-wrap { position: relative; }
.tif-about-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--tif-radius);
    background-size: cover;
    background-position: center top;
    background-color: var(--tif-border);
}
.tif-about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--tif-navy);
    color: #fff;
    border-radius: var(--tif-radius);
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 10px 36px rgba(26,58,107,0.28);
}
.tif-about-badge-num {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--tif-teal);
    line-height: 1;
    display: block;
}
.tif-about-badge-sub {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}
.tif-about-h2 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--tif-navy);
    line-height: 1.2;
    margin-bottom: 18px;
    text-align: left;
}
.tif-about-desc {
    font-size: 14.5px;
    color: #1a1a2e !important;
    line-height: 1.8;
    margin-bottom: 26px;
}
.tif-about-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}
.tif-about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--tif-dark-gray);
    line-height: 1.55;
}
.tif-point-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1acce4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 10px;
    color: #fff;
}


/* ════════════════════════════════════════════
   SECTION 4 — WHO WE INSURE
════════════════════════════════════════════ */
.tif-insure-outer {
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    min-height: 460px;
}
.tif-insure-left {
    background: var(--tif-navy);
    padding: 64px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.tif-insure-left .tif-label-white {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
    display: block;
}
.tif-insure-left h2 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 18px;
}
.tif-insure-left p {
    font-size: 14px;
    color: rgba(255,255,255,0.68);
    line-height: 1.78;
    margin-bottom: 32px;
}
.tif-insure-right {
    background: var(--tif-light);
    padding: 44px;
    display: flex;
    align-items: center;
}
.tif-insure-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}
.tif-insure-card {
    background: #fff;
    border: 1.5px solid var(--tif-border);
    border-radius: var(--tif-radius);
    padding: 24px 20px;
    transition: all 0.25s;
    cursor: default;
}
.tif-insure-card:hover {
    border-color: var(--tif-teal);
    box-shadow: 0 6px 24px rgba(13,183,160,0.14);
    transform: translateY(-3px);
}
.tif-ic-icon {
    width: 46px;
    height: 46px;
    background: #e8f6f4;
    border-radius: var(--tif-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
    color: var(--tif-teal);
}
.tif-insure-card h4 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--tif-navy);
    margin-bottom: 6px;
}
.tif-insure-card p { font-size: 12.5px; color: #1a1a2e; line-height: 1.55; }


/* ════════════════════════════════════════════
   SECTION 5 — TRUCK COVERAGE
════════════════════════════════════════════ */
.tif-trucks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.tif-truck-card {
    border-radius: var(--tif-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 2px 14px rgba(26,58,107,0.09);
}
.tif-truck-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}
.tif-truck-card:hover .tif-truck-bg { transform: scale(1.07); }
.tif-truck-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,50,0.80) 0%, rgba(10,22,50,0.05) 55%);
    z-index: 1;
    transition: background 0.3s;
}
.tif-truck-card:hover::after {
    background: linear-gradient(to top, rgba(10,22,50,0.90) 0%, rgba(10,22,50,0.22) 100%);
}
.tif-truck-label {
	position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
	
}
.tif-truck-name {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.tif-truck-badge {
    background: var(--tif-teal);
    color: #fff;
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background var(--tif-transition);
}
.tif-truck-badge:hover { background: var(--tif-teal-dark); color: #fff; }


/* ════════════════════════════════════════════
   SECTION 6 — HOW IT WORKS
════════════════════════════════════════════ */
.tif-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}
.tif-steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 19%;
    right: 19%;
    height: 1.5px;
    border-top: 2px dashed var(--tif-border);
    z-index: 0;
}
.tif-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0px 0px 24px;
    position: relative;
    z-index: 1;
}
.tif-step-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #e8f6f4;
    border: 3px solid var(--tif-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.3s;
    font-size: 32px;
    color: var(--tif-teal);
}
.tif-step-circle:hover {
    background: var(--tif-teal);
    color: #fff;
}
.tif-step-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    width: 26px;
    height: 26px;
    background: var(--tif-blue);
    border-radius: 50%;
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.tif-step-title {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--tif-navy);
    margin-bottom: 10px;
}
.tif-step-desc {
    font-size: 13.5px;
    color: var(--tif-gray);
    line-height: 1.72;
    margin-bottom: 22px;
}


/* ════════════════════════════════════════════
   SECTION 7 — TESTIMONIALS (Speech Bubble Design)
════════════════════════════════════════════ */

/* Two-column layout: left text | right bubble */
.tif-testi-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}

/* ── LEFT COLUMN ── */
.tif-testi-left { }

.tif-testi-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tif-teal);
    margin-bottom: 16px;
}
.tif-kicker-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: var(--tif-teal);
    border-radius: 2px;
    vertical-align: middle;
}
.tif-testi-h2 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 700;
    color: var(--tif-navy);
    line-height: 1.22;
    margin-bottom: 18px;
}
.tif-testi-desc {
    font-size: 14.5px;
    color: var(--tif-gray);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 380px;
}

/* Pill CTA button */
.tif-btn-pill {
    border-radius: 50px !important;
}

/* ── RIGHT COLUMN ── */
.tif-testi-right {
    position: relative;
    padding: 48px 20px 32px;
}

/* Decorative floating initials (purely visual) */
.tif-tfa {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--tif-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--tif-navy);
    box-shadow: 0 4px 18px rgba(13,183,160,0.20);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
.tif-tfa-tl { top: 0;    left: 0;    }
.tif-tfa-tr { top: 0;    right: 16px; }
.tif-tfa-bl { bottom: 0; left: 10px; }

/* ── SPEECH BUBBLE CARD ── */
.tif-tb {
    position: relative;
    background: var(--tif-blue);
    border-radius: 20px;
    padding: 32px 28px 24px;
    box-shadow: 0 20px 60px rgba(37,99,235,0.28);
    z-index: 2;
}

/* Speech-bubble tail pointing down-left */
.tif-tb::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 40px;
    width: 0;
    height: 0;
    border-left:  14px solid transparent;
    border-right: 6px  solid transparent;
    border-top:   20px solid var(--tif-blue);
}

/* Large decorative quote mark */
.tif-tb-qq {
    display: block;
    font-family: Georgia, serif;
    font-size: 68px;
    line-height: 0.6;
    color: var(--tif-teal);
    margin-bottom: 16px;
    opacity: 0.9;
    user-select: none;
}

/* Stars row */
.tif-tb-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}
.tif-tb-stars i { color: #f59e0b; font-size: 16px; }

/* Slide container — all slides stacked */
.tif-tb-slides {
    position: relative;
    min-height: 100px;
}

/* Individual slide */
.tif-tb-slide {
    opacity: 0;
    position: absolute;
    top: 0; left: 0; right: 0;
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
    transform: translateY(8px);
}
.tif-tb-slide.is-active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    transform: translateY(0);
}

/* Quote text */
.tif-tb-slide blockquote {
    font-size: 14px;
    line-height: 1.84;
    color: rgba(255,255,255,0.92);
    margin: 0;
    font-style: normal;
    quotes: none;
    border: none;
    padding: 0;
    background: transparent;
}

/* ── AUTHOR ROW (below bubble) ── */
.tif-tb-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-left: 8px;
}

/* Author avatar circle */
.tif-tb-av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(13,183,160,0.35), 0 4px 16px rgba(0,0,0,0.15);
    transition: background 0.4s;
}

.tif-tb-author-info { display: flex; flex-direction: column; gap: 3px; }
.tif-tb-author-info strong {
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--tif-navy);
    transition: color 0.3s;
}
.tif-tb-author-info span {
    font-size: 12px;
    color: var(--tif-gray);
    transition: color 0.3s;
}

/* ── DOT NAVIGATION ── */
.tif-tb-dots {
    display: flex;
    gap: 6px;
    margin-top: 18px;
    padding-left: 8px;
}
.tif-tb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tif-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.tif-tb-dot.is-active {
    background: var(--tif-teal);
    width: 24px;
    border-radius: 4px;
}

/* ── LEGACY UTILITIES (used elsewhere) ── */
.tif-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tif-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskeville', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}
.tif-author-name { font-family: 'Libre Baskeville', sans-serif; font-weight: 700; font-size: 14px; color: var(--tif-text); }
.tif-author-role { font-size: 12px; color: var(--tif-gray); }


/* ════════════════════════════════════════════
   SECTION 8 — FAQ
════════════════════════════════════════════ */
.tif-faq-list {
    max-width: 840px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tif-faq-item {
    border: 1.5px solid var(--tif-border);
    border-radius: var(--tif-radius-sm);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tif-faq-item.open {
    border-color: var(--tif-blue);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}
.tif-faq-q {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 14px;
    background: #fff;
    border: none;
    text-align: left;
    transition: background 0.2s;
}
.tif-faq-item.open .tif-faq-q { background: rgba(37,99,235,0.03); }
.tif-faq-q-text {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tif-navy);
    line-height: 1.45;
}
.tif-faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tif-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--tif-blue);
    font-weight: 400;
    transition: all 0.3s;
    flex-shrink: 0;
}
.tif-faq-item.open .tif-faq-toggle {
    background: var(--tif-blue);
    color: #fff;
    transform: rotate(45deg);
}
.tif-faq-a {
    overflow: hidden;
    max-height: 0;
    padding: 0 22px;
    background: #fff;
    transition: max-height 0.38s ease, padding 0.3s;
}
.tif-faq-item.open .tif-faq-a {
    max-height: 300px;
    padding: 10px 22px 20px;
}
.tif-faq-a p {
    font-size: 13.5px;
    color: var(--tif-gray);
    line-height: 1.82;
}


/* ════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════ */
.tif-cta-banner {
    background: linear-gradient(135deg, var(--tif-navy) 0%, #1e4a8a 50%, #0f2a5c 100%);
    padding: 64px 0;
}
.tif-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.tif-cta-text h2 {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.tif-cta-text p { font-size: 15px; color: rgba(255,255,255,0.72); }


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.tif-footer { background: #0d1f3c; color: rgba(255,255,255,0.72); }
.tif-footer-top { padding: 64px 0 48px; }
.tif-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.tif-footer-logo {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 16px;
}
.tif-footer-brand p { font-size: 13.5px; line-height: 1.75; margin-bottom: 22px; }
.tif-social { display: flex; gap: 10px; }
.tif-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--tif-transition);
}
.tif-social a:hover { background: var(--tif-teal); border-color: var(--tif-teal); color: #fff; }
.tif-footer-heading {
    font-family: 'Libre Baskeville', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.tif-footer-menu { display: flex; flex-direction: column; gap: 8px; }
.tif-footer-menu li a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.62);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--tif-transition), padding-left var(--tif-transition);
    padding: 2px 0;
}
.tif-footer-menu li a i { font-size: 9px; color: var(--tif-teal); }
.tif-footer-menu li a:hover { color: var(--tif-teal); padding-left: 4px; }
.tif-footer-contact { display: flex; flex-direction: column; gap: 14px; }
.tif-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
}
.tif-footer-contact li i { color: var(--tif-teal); margin-top: 2px; flex-shrink: 0; }
.tif-footer-contact li a:hover { color: var(--tif-teal); }

.tif-footer-bottom {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}
.tif-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.45);
}
.tif-footer-bottom-inner a { color: var(--tif-teal); }
.tif-footer-bottom-inner a:hover { color: #fff; }


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .tif-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .tif-about-grid  { grid-template-columns: 1fr; gap: 48px; }
    .tif-about-img-wrap { max-width: 420px; margin: 0 auto; }
    .tif-testi-wrap  { grid-template-columns: 1fr; gap: 40px; }
    .tif-testi-right { padding: 48px 16px 32px; }
    .tif-tfa-tr      { right: 0; }
    .tif-tfa-bl      { display: none; }
    .tif-form-box    { padding: 36px 32px; }
}

@media (max-width: 900px) {
    .tif-insure-outer { grid-template-columns: 1fr; }
    .tif-insure-left  { padding: 48px 32px; }
    .tif-insure-right { padding: 36px 32px; }
    .tif-trucks-grid  { grid-template-columns: repeat(2, 1fr); }
    .tif-nav, .tif-header-cta { display: none; }
    .tif-hamburger { display: flex; }
    .tif-cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
    :root { --tif-header-h: 64px; }
    .tif-topbar { display: none; }
    .tif-fgrid-3, .tif-fgrid-2 { grid-template-columns: 1fr; }
    .tif-steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .tif-steps-grid::before { display: none; }
    .tif-stepper { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
    .tif-step-label { display: none; }
    .tif-trucks-grid { grid-template-columns: 1fr; }
    .tif-insure-cards { grid-template-columns: 1fr; }
    .tif-form-box { padding: 24px 18px; }
    .tif-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .tif-section { padding: 60px 0; }
    .tif-slide-heading { font-size: clamp(28px, 8vw, 44px); }
    .tif-review-summary { grid-template-columns: 1fr; }
    .tif-about-badge { bottom: -16px; left: -12px; padding: 14px 16px; }
    .tif-about-badge-num { font-size: 34px; }
}

@media (max-width: 480px) {
    .tif-container { padding: 0 16px; }
    .tif-form-box { padding: 20px 14px; }
    .tif-insure-left { padding: 36px 20px; }
}

/* ─── Utility: visually hidden but accessible ─── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ─── Scroll to top button ─── */
#tif-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--tif-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    z-index: 990;
}
#tif-scroll-top.visible { opacity: 1; transform: translateY(0); }
#tif-scroll-top:hover { background: var(--tif-blue-dark); }

/* ─── WordPress alignment classes ─── */
.alignleft  { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin: 0 auto; text-align: center; }

/* ─── Page / default content styles ─── */
.tif-page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px;
    line-height: 1.75;
}
.tif-page-content h1,
.tif-page-content h2,
.tif-page-content h3 {
    font-family: 'Libre Baskeville', sans-serif;
    color: var(--tif-navy);
    margin-bottom: 14px;
    margin-top: 28px;
}
.tif-page-content p { margin-bottom: 16px; color: var(--tif-dark-gray); }
.tif-page-content ul, .tif-page-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--tif-dark-gray);
}
.tif-page-content ul { list-style: disc; }
.tif-page-content ol { list-style: decimal; }
