/* Home page sections (resources/js/pages/home.tsx) */

/* ---- Shared building blocks ---- */
.ht-home-hero,
.ht-services,
.ht-why,
.ht-security,
.ht-support,
.ht-testimonials,
.ht-faq,
.ht-cta {
    --ht-ink: #0f2341;
    --ht-muted: #5b6678;
    --ht-border: #e7ecf2;
    --ht-soft: #f8fafb;
    --ht-teal: var(--color-primary, #135360);
    --ht-teal-dark: var(--color-secondary, #0e404a);
    --ht-teal-light: var(--tier_teal, #27abb8);
    font-family: var(--font-primary);
}

.ht-section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.ht-section-head .ht-lead {
    text-wrap: balance;
}

.ht-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ht-teal);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ht-eyebrow--light {
    color: var(--color-third, #ffc107);
}

.ht-title {
    margin: 0 0 14px;
    color: var(--ht-ink);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.ht-title--light {
    color: #fff;
}

.ht-lead {
    margin: 0;
    color: var(--ht-muted);
    font-size: 17px;
    line-height: 1.65;
}

.ht-lead strong {
    color: var(--ht-teal);
}

.ht-lead--light {
    color: rgba(255, 255, 255, 0.78);
}

.ht-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(19, 83, 96, 0.08);
    color: var(--ht-teal);
    font-size: 22px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ht-icon-tile--lg {
    width: 60px;
    height: 60px;
    font-size: 26px;
}

.ht-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ht-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.ht-btn:hover i {
    transform: translateX(3px);
}

.ht-btn--primary {
    background: var(--ht-teal);
    color: #fff;
}

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

.ht-btn--accent {
    background: var(--color-third, #ffc107);
    color: var(--ht-teal-dark);
}

.ht-btn--accent:hover {
    background: #ffcd38;
    color: var(--ht-teal-dark);
}

/* ---- Our Services ---- */
.ht-services {
    position: relative;
    padding: 100px 0 110px;
    background-color: var(--ht-soft);
    background-image: repeating-linear-gradient(90deg, rgba(19, 83, 96, 0.025) 0 1px, transparent 1px 64px);
}

.ht-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.ht-service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 26px 24px;
    border: 1px solid var(--ht-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 35, 65, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ht-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 83, 96, 0.25);
    box-shadow: 0 14px 30px rgba(15, 35, 65, 0.08);
}

.ht-service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 26px;
}

.ht-service-card__icon svg {
    width: 30px;
    height: 30px;
}

.ht-service-card__icon--blue {
    background: #eaf2ff;
    color: #1f6fe5;
}

.ht-service-card__icon--purple {
    background: #f3ecff;
    color: #8b5cf6;
}

.ht-service-card__icon--green {
    background: #e7f7ee;
    color: #16a34a;
}

.ht-service-card__icon--orange {
    background: #fff1ea;
    color: #f05a28;
}

.ht-service-card h3 {
    margin: 0 0 8px;
    color: var(--ht-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.ht-service-card p {
    margin: 0 0 20px;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ht-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--ht-teal);
    font-size: 15px;
    font-weight: 600;
}

.ht-service-card__link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.ht-service-card:hover .ht-service-card__link i {
    transform: translateX(4px);
}

/* ---- Why Choose Hosttier (bento grid) ---- */
.ht-why {
    padding: 110px 0;
    background: #fff;
}

.ht-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 20px;
    margin: 0 auto;
}

.ht-bento__hero {
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 40px;
    border-radius: 20px;
    background: var(--cta-two-bg, linear-gradient(180deg, #135360 0%, #0e404a 100%));
    color: #fff;
}

.ht-bento__hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle, rgba(39, 171, 184, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.ht-bento__hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.ht-bento__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
}

.ht-bento__badge i {
    color: var(--color-third, #ffc107);
}

.ht-bento__value {
    position: relative;
    display: block;
    margin-top: 28px;
    color: #fff;
    font-size: 88px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.ht-bento__hero > p {
    position: relative;
    max-width: 380px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.6;
}

.ht-bento__stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: auto 0 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ht-bento__stats > div + div {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ht-bento__stats dt {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.ht-bento__stats dd {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.ht-bento__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    border: 1px solid var(--ht-border);
    border-radius: 20px;
    background: var(--ht-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.ht-bento__card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 83, 96, 0.2);
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 35, 65, 0.08);
}

.ht-bento__card .ht-icon-tile {
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 35, 65, 0.06);
}

.ht-bento__card:hover .ht-icon-tile {
    background: var(--ht-teal);
    color: #fff;
}

.ht-bento__card h3 {
    margin: 0 0 8px;
    padding-top: 26px;
    color: var(--ht-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.ht-bento__card p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ---- Advanced Security ---- */
.ht-security {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: var(--cta-two-bg, linear-gradient(180deg, #135360 0%, #0e404a 100%));
}

.ht-security::before {
    content: '';
    position: absolute;
    top: -260px;
    left: -220px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 171, 184, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.ht-security__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin: 0 auto;
}

.ht-security__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 34px 0 38px;
    padding: 0;
    list-style: none;
}

.ht-security__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.ht-security__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(39, 171, 184, 0.18);
    color: #7fd6df;
    font-size: 17px;
}

.ht-security__media {
    position: relative;
    padding: 28px 28px 28px 0;
}

.ht-security__media img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.ht-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.ht-float-badge--top {
    top: 0;
    left: -28px;
}

.ht-float-badge--bottom {
    right: 0;
    bottom: 0;
}

.ht-float-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(19, 83, 96, 0.1);
    color: var(--ht-teal);
    font-size: 18px;
}

.ht-float-badge strong {
    display: block;
    color: var(--ht-ink);
    font-size: 15px;
    line-height: 1.3;
}

.ht-float-badge span:not(.ht-float-badge__icon) {
    display: block;
    color: var(--ht-muted);
    font-size: 13px;
}

/* ---- 24/7 Expert Support ---- */
.ht-support {
    padding: 110px 0;
    background: var(--ht-soft);
}

.ht-support__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto 48px;
}

.ht-support__head > div {
    max-width: 640px;
}

.ht-support__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
}

.ht-channel-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 32px 30px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ht-channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 83, 96, 0.25);
    box-shadow: 0 16px 36px rgba(15, 35, 65, 0.08);
}

.ht-channel-card:hover .ht-icon-tile {
    background: var(--ht-teal);
    color: #fff;
}

.ht-channel-card h3 {
    margin: 24px 0 10px;
    color: var(--ht-ink);
    font-size: 21px;
    font-weight: 700;
}

.ht-channel-card p {
    margin: 0 0 24px;
    color: var(--ht-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.ht-channel-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--ht-teal);
    font-size: 15px;
    font-weight: 600;
}

.ht-channel-card__link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.ht-channel-card:hover .ht-channel-card__link i {
    transform: translateX(4px);
}

/* ---- Testimonials: stat panel + review slider ---- */
.ht-testimonials {
    padding: 110px 0;
    background: #f2f8f8;
}

.ht-testimonials__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
    align-items: center;
}

.ht-testimonials__pill {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 50px;
    background: rgba(19, 83, 96, 0.1);
    color: var(--ht-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ht-testimonials__stat {
    margin: 26px 0 0;
    background: linear-gradient(90deg, var(--ht-teal) 0%, var(--ht-teal-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 88px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
}

.ht-testimonials__intro h2 {
    margin: 10px 0 22px;
    color: var(--ht-ink);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.ht-testimonials__lead {
    margin: 0;
    color: var(--ht-muted);
    font-size: 17px;
    line-height: 1.65;
}

.ht-testimonials__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    color: var(--ht-muted);
    font-size: 15px;
}

.ht-testimonials__rating strong {
    color: var(--ht-ink);
}

.ht-testimonials__stars,
.ht-testimonial__stars {
    display: inline-flex;
    gap: 4px;
    color: var(--color-third, #ffc107);
}

.ht-testimonials__stars {
    font-size: 15px;
}

.ht-testimonials__cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 17px 30px;
    border-radius: 50px;
    background: var(--ht-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.ht-testimonials__cta:hover {
    background: var(--ht-teal);
    color: #fff;
}

.ht-testimonials__cta i {
    transition: transform 0.3s ease;
}

.ht-testimonials__cta:hover i {
    transform: translateX(4px);
}

/* Slider: a track of cards moved by --slide; --per-view cards are visible. */
.ht-testimonials__slider {
    min-width: 0; /* let the grid column shrink; the track is wider than its column */
}

.ht-testimonials__viewport {
    overflow: hidden;
    margin: -20px;
    padding: 20px;
}

.ht-testimonials__track {
    --gap: 24px;
    display: flex;
    gap: var(--gap);
    transform: translateX(calc(var(--slide, 0) * (-100% - var(--gap)) / var(--per-view, 2)));
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ht-testimonial {
    display: flex;
    flex: 0 0 calc((100% - var(--gap) * (var(--per-view, 2) - 1)) / var(--per-view, 2));
    flex-direction: column;
    margin: 0;
    padding: 34px 32px 30px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.ht-testimonial.is-active {
    border-color: transparent;
    background: var(--cta-two-bg, linear-gradient(180deg, #135360 0%, #0e404a 100%));
    box-shadow: 0 24px 50px rgba(14, 64, 74, 0.25);
}

.ht-testimonial__quote {
    color: var(--ht-teal-light);
    font-size: 38px;
    line-height: 1;
}

.ht-testimonial blockquote {
    flex: 1;
    margin: 20px 0 30px;
    padding: 0;
    border: 0;
    background: none;
    color: #2c3644;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
}

.ht-testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ht-testimonial__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--ht-teal);
    box-shadow: 0 6px 16px rgba(15, 35, 65, 0.15);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.ht-testimonial figcaption strong {
    display: block;
    color: var(--ht-teal);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.ht-testimonial figcaption small {
    display: block;
    margin: 2px 0 8px;
    color: var(--ht-muted);
    font-size: 13.5px;
}

.ht-testimonial__stars {
    font-size: 14px;
}

.ht-testimonial.is-active blockquote,
.ht-testimonial.is-active figcaption strong {
    color: #fff;
}

.ht-testimonial.is-active figcaption small {
    color: rgba(255, 255, 255, 0.72);
}

.ht-testimonial.is-active .ht-testimonial__avatar {
    border-color: rgba(255, 255, 255, 0.9);
    background: var(--ht-teal-light);
}

.ht-testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
}

.ht-testimonials__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--ht-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ht-teal);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ht-testimonials__arrow:hover {
    border-color: var(--ht-teal);
    background: var(--ht-teal);
    color: #fff;
}

.ht-testimonials__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ht-testimonials__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(19, 83, 96, 0.2);
    transition: width 0.3s ease, background 0.3s ease;
}

.ht-testimonials__dot.is-active {
    width: 28px;
    background: var(--ht-teal);
}

@media (prefers-reduced-motion: reduce) {
    .ht-testimonials__track,
    .ht-testimonial {
        transition: none;
    }
}

/* ---- FAQ ---- */
.ht-faq {
    padding: 110px 0;
    background: var(--ht-soft);
}

.ht-faq__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
    margin: 0 auto;
}

.ht-faq__intro {
    position: sticky;
    top: 120px;
}

.ht-faq__help {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    padding: 24px;
    border: 1px solid var(--ht-border);
    border-radius: 16px;
    background: #fff;
}

.ht-faq__help strong {
    display: block;
    color: var(--ht-ink);
    font-size: 17px;
}

.ht-faq__help p {
    margin: 6px 0 12px;
    color: var(--ht-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ht-faq__help a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ht-teal);
    font-size: 15px;
    font-weight: 600;
}

.ht-faq__help a i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.ht-faq__help a:hover i {
    transform: translateX(4px);
}

.ht-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ht-faq__item {
    border: 1px solid var(--ht-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ht-faq__item.is-open {
    border-color: rgba(19, 83, 96, 0.3);
    box-shadow: 0 14px 32px rgba(15, 35, 65, 0.07);
}

.ht-faq__item h3 {
    margin: 0;
}

.ht-faq__item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    background: none;
    color: var(--ht-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.ht-faq__item button:hover {
    color: var(--ht-teal);
}

.ht-faq__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(19, 83, 96, 0.08);
    color: var(--ht-teal);
    font-size: 14px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.ht-faq__item.is-open .ht-faq__toggle {
    transform: rotate(45deg);
    background: var(--ht-teal);
    color: #fff;
}

/* Animates height between 0 and auto */
.ht-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.ht-faq__item.is-open .ht-faq__answer {
    grid-template-rows: 1fr;
}

.ht-faq__answer > div {
    overflow: hidden;
}

.ht-faq__answer p {
    margin: 0;
    padding: 0 24px 24px;
    color: var(--ht-muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.ht-faq__answer strong {
    color: var(--ht-ink);
}

/* ---- Call to action ---- */
.ht-cta {
    padding: 100px 0;
    background: #fff;
}

.ht-cta__card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    margin: 0 auto;
    padding: 56px 60px;
    border-radius: 24px;
    background: var(--cta-two-bg, linear-gradient(180deg, #135360 0%, #0e404a 100%));
}

.ht-cta__card::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle, rgba(39, 171, 184, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.ht-cta__card::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: 30%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.ht-cta__content,
.ht-cta__actions {
    position: relative;
    z-index: 1;
}

.ht-cta__content {
    max-width: 600px;
}

.ht-cta__content h2 {
    text-wrap: balance;
    margin: 0 0 12px;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.ht-cta__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.6;
}

.ht-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.ht-btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.ht-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .ht-title {
        font-size: 34px;
    }

    .ht-service-card {
        padding: 22px 20px 20px;
    }

    .ht-security__grid {
        gap: 48px;
    }

    .ht-testimonials__grid {
        gap: 40px;
    }

    .ht-testimonials__stat {
        font-size: 72px;
    }

    .ht-testimonials__intro h2 {
        font-size: 36px;
    }

    .ht-bento__hero {
        padding: 34px;
    }

    .ht-bento__value {
        font-size: 72px;
    }
}

@media (max-width: 991px) {
    .ht-services,
    .ht-why,
    .ht-security,
    .ht-support,
    .ht-testimonials {
        padding: 80px 0;
    }

    .ht-testimonials__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ht-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ht-security__grid {
        grid-template-columns: 1fr;
    }

    .ht-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .ht-bento__hero {
        grid-row: auto;
        min-height: 380px;
    }

    .ht-security__media {
        max-width: 620px;
        margin-left: 28px;
    }

    .ht-support__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .ht-support__grid {
        grid-template-columns: 1fr;
    }

    .ht-faq {
        padding: 80px 0;
    }

    .ht-faq__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ht-faq__intro {
        position: static;
    }

    .ht-cta {
        padding: 80px 0;
    }

    .ht-cta__card {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px 40px;
    }
}

@media (max-width: 575px) {
    .ht-services,
    .ht-why,
    .ht-security,
    .ht-support,
    .ht-testimonials,
    .ht-faq,
    .ht-cta {
        padding: 64px 0;
    }

    .ht-faq__item button {
        padding: 18px;
        font-size: 15.5px;
    }

    .ht-faq__answer p {
        padding: 0 18px 20px;
        font-size: 15px;
    }

    .ht-faq__help {
        padding: 20px;
    }

    .ht-cta__card {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .ht-cta__content h2 {
        font-size: 27px;
    }

    .ht-cta__content p {
        font-size: 15.5px;
    }

    .ht-cta__actions,
    .ht-cta__actions .ht-btn {
        width: 100%;
    }

    .ht-cta__actions .ht-btn {
        justify-content: center;
    }

    .ht-section-head {
        margin-bottom: 32px;
    }

    .ht-title {
        font-size: 28px;
    }

    .ht-lead {
        font-size: 15.5px;
    }

    .ht-services__grid,
    .ht-bento,
    .ht-security__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ht-bento__hero {
        grid-column: auto;
        min-height: 0;
        padding: 28px 24px;
        border-radius: 16px;
    }

    .ht-bento__value {
        margin-top: 22px;
        font-size: 60px;
    }

    .ht-bento__hero > p {
        font-size: 15.5px;
    }

    .ht-bento__stats {
        margin-top: 28px;
        padding-top: 22px;
    }

    .ht-bento__stats > div + div {
        padding-left: 12px;
    }

    .ht-bento__stats dt {
        font-size: 22px;
    }

    .ht-bento__stats dd {
        font-size: 12.5px;
    }

    .ht-bento__card {
        padding: 24px 22px;
        border-radius: 16px;
    }

    .ht-bento__card h3 {
        padding-top: 20px;
    }

    .ht-security__media {
        margin-left: 0;
        padding: 20px 0;
    }

    .ht-float-badge {
        padding: 10px 14px;
    }

    .ht-float-badge--top {
        left: 8px;
    }

    .ht-float-badge--bottom {
        right: 8px;
    }


}

@media (max-width: 575px) {
    .ht-testimonials__stat {
        font-size: 60px;
        letter-spacing: -2px;
    }

    .ht-testimonials__intro h2 {
        font-size: 30px;
    }

    .ht-testimonial {
        padding: 28px 24px 26px;
    }

    .ht-testimonial blockquote {
        font-size: 16px;
    }
}

/* ---- Hero ---- */
.ht-home-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 48px;
    background: linear-gradient(180deg, #eaf5f6 0%, #f3f9fa 70%, #fff 100%);
}

/* Faint grid that fades out towards the edges */
.ht-home-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(19, 83, 96, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 83, 96, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

.ht-home-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 72px;
    align-items: center;
}

.ht-home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--ht-teal);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ht-home-hero h1 {
    margin: 0 0 22px;
    color: var(--ht-ink);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.ht-home-hero h1 span {
    color: var(--ht-teal);
}

.ht-home-hero__lead {
    max-width: 560px;
    margin: 0 0 26px;
    color: var(--ht-muted);
    font-size: 17px;
    line-height: 1.65;
}

.ht-home-hero__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.ht-home-hero__points li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ht-ink);
    font-size: 16.5px;
}

.ht-home-hero__points i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(15, 35, 65, 0.08);
}

.ht-home-hero__points b {
    color: var(--ht-teal);
    font-weight: 700;
}

.ht-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ht-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    height: 56px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ht-home-hero__btn:hover {
    transform: translateY(-2px);
}

.ht-home-hero__btn--outline {
    border: 1.5px solid var(--ht-teal);
    background: #fff;
    color: var(--ht-teal);
}

.ht-home-hero__btn--outline:hover {
    background: #e8f5f6;
    color: var(--ht-teal);
}

.ht-home-hero__btn--primary {
    background: var(--ht-teal);
    color: #fff;
    box-shadow: 0 12px 28px rgba(19, 83, 96, 0.28);
}

.ht-home-hero__btn--primary:hover {
    background: var(--ht-teal-dark);
    color: #fff;
}

/* Photo: the framed photo used on every page hero (.ht-showcase__media in service.css). */
.ht-home-hero__media {
    --ht-teal: var(--color-primary, #135360);
    z-index: 1;
}

/* Black Friday banner (BLACK_FRIDAY=1): frameless, and its column grows to fit the wide image */
.ht-home-hero__inner.is-promo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
}

@media (max-width: 991px) {
    .ht-home-hero__inner.is-promo {
        grid-template-columns: 1fr;
    }

    .ht-home-hero__promo {
        max-width: 620px;
        margin: 0 auto;
    }
}

/* Trust strip */
.ht-home-hero__proof {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    padding: 22px 8px;
    border: 1px solid rgba(39, 171, 184, 0.35);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 35, 65, 0.08);
}

.ht-home-hero__proof-item {
    padding: 4px 28px;
}

.ht-home-hero__proof-item + .ht-home-hero__proof-item {
    border-left: 1px solid var(--ht-border);
}

.ht-home-hero__proof-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin-bottom: 8px;
}

.ht-home-hero__proof-top strong {
    color: var(--ht-ink);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.ht-home-hero__proof-top img {
    width: 98px;
    height: auto;
}

/* Trustpilot logo on the left, star rating on the right */
.ht-home-hero__stars {
    display: inline-flex;
    gap: 3px;
    margin-left: auto;
}

.ht-home-hero__stars i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #00b67a;
    color: #fff;
    font-size: 13px;
}

.ht-home-hero__proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf6f7;
    color: var(--ht-teal);
    font-size: 18px;
}

.ht-home-hero__proof p {
    margin: 0;
    color: var(--ht-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

.ht-home-hero__proof p b {
    color: var(--ht-ink);
    font-size: 16px;
}

@media (max-width: 1199px) {
    .ht-home-hero h1 {
        font-size: 46px;
    }

    .ht-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 48px;
    }

    .ht-home-hero__proof-item {
        padding: 4px 20px;
    }
}

@media (max-width: 991px) {
    .ht-home-hero {
        padding: 56px 0 48px;
    }

    .ht-home-hero__inner {
        grid-template-columns: 1fr;
    }

    .ht-home-hero__copy {
        text-align: center;
    }

    .ht-home-hero__lead {
        margin-right: auto;
        margin-left: auto;
    }

    .ht-home-hero__points {
        align-items: center;
    }

    .ht-home-hero__actions {
        justify-content: center;
    }

    .ht-home-hero__media {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    .ht-home-hero__proof {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .ht-home-hero__proof {
        grid-template-columns: 1fr;
        padding: 8px 4px;
    }

    .ht-home-hero__proof-item {
        padding: 16px 20px;
    }

    .ht-home-hero__proof-item + .ht-home-hero__proof-item {
        border-top: 1px solid var(--ht-border);
        border-left: 0;
    }
}

@media (max-width: 575px) {
    .ht-home-hero h1 {
        font-size: 34px;
        letter-spacing: -0.6px;
    }

    .ht-home-hero__lead {
        font-size: 16px;
    }

    .ht-home-hero__points {
        align-items: flex-start;
        text-align: left;
    }

    .ht-home-hero__points li {
        font-size: 15px;
    }

    /* Both buttons share one row, splitting it evenly. */
    .ht-home-hero__actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .ht-home-hero__btn {
        flex: 1 1 0;
        min-width: 0;
        height: 52px;
        gap: 8px;
        padding: 0 12px;
        font-size: 15px;
        white-space: nowrap;
    }
}

/* Narrow phones (iPhone SE and smaller): a little tighter so both labels still fit. */
@media (max-width: 360px) {
    .ht-home-hero__btn {
        padding: 0 8px;
        font-size: 14px;
    }
}
