/* 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-domain-band,
.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, #ffffff);
}

.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, #ffffff);
    color: var(--ht-teal-dark);
}

.ht-btn--accent:hover {
    background: #ffffff;
    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: 10px;
    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;
}

/* Every service icon in the base (primary) colour. */
.ht-service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: var(--ht-teal);
    font-size: 26px;
}

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

.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;
}

/* ---- Why Choose Hosttier: trust card + four feature cards (why-choose-section.tsx), no hover effects ---- */
.ht-why {
    --why-primary: #003f4b;
    --why-mint: #42e6bd;
    --why-ink: #10233f;
    --why-muted: #607087;
    --why-border: #e1e8ed;
    --why-card: #f8fafb;
    padding: 90px 0;
    background: #fff;
}

.ht-why__head {
    max-width: 850px;
    margin: 0 auto 64px;
    text-align: center;
}

.ht-why__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 17px;
    border-radius: 50px;
    background: #e5f8f4;
    color: var(--why-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ht-why__head h2 {
    margin: 0 0 17px;
    color: var(--why-ink);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.8px;
}

.ht-why__head p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--why-muted);
    font-size: 19px;
    line-height: 1.7;
}

.ht-why__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.1fr;
    gap: 26px;
    align-items: stretch;
}

/* the featured card: deep teal with two faint rings in the corner */
.ht-why__trust {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 540px;
    overflow: hidden;
    padding: 56px 48px 42px;
    border-radius: 28px;
    background: var(--why-primary) radial-gradient(circle at 90% 5%, rgba(66, 230, 189, 0.13), transparent 32%);
    color: #fff;
}

.ht-why__trust::before,
.ht-why__trust::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ht-why__trust::before {
    top: -140px;
    right: -130px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.ht-why__trust::after {
    top: -85px;
    right: -75px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ht-why__trust > * {
    position: relative;
    z-index: 1;
}

.ht-why__trust-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
}

.ht-why__trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
}

.ht-why__trust-icon svg {
    width: 48px;
    height: 48px;
}

.ht-why__trust-label {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 15px;
    font-weight: 600;
}

.ht-why__trust h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(36px, 3.7vw, 61px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.ht-why__trust h3 span {
    color: var(--why-mint);
}

.ht-why__trust-text {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: 19px;
    line-height: 1.6;
}

/* three figures in a row, split by thin lines, under a divider */
.ht-why__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 40px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
}

.ht-why__stat {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 0 15px;
}

.ht-why__stat:first-child {
    padding-left: 0;
}

.ht-why__stat:last-child {
    padding-right: 0;
}

.ht-why__stat + .ht-why__stat {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.ht-why__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 49px;
    height: 49px;
    border-radius: 13px;
    background: rgba(66, 230, 189, 0.15);
}

.ht-why__stat-icon svg {
    width: 28px;
    height: 28px;
}

/* sized to the site's container (the design was drawn for a wider one), so the three figures always fit */
.ht-why__stat strong {
    display: block;
    font-size: clamp(21px, 1.9vw, 29px);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.ht-why__stat small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.4;
}

.ht-why__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ht-why__feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 255px;
    padding: 36px 32px;
    border: 1px solid var(--why-border);
    border-radius: 25px;
    background: var(--why-card);
}

.ht-why__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #e0f7f2;
    color: var(--why-primary);
}

.ht-why__feature-icon svg {
    width: 31px;
    height: 31px;
}

.ht-why__feature h3 {
    margin: 0 0 10px;
    color: var(--why-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.ht-why__feature p {
    max-width: 380px;
    margin: 0;
    color: var(--why-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* tablet: trust card above the feature cards */
@media (max-width: 1100px) {
    .ht-why__grid {
        grid-template-columns: 1fr;
    }

    .ht-why__trust {
        min-height: 0;
        padding: 48px 40px;
    }

    .ht-why__features {
        grid-template-rows: auto;
    }

    .ht-why__feature {
        min-height: 230px;
        padding: 30px;
    }
}

/* phones: everything in one column, figures stacked */
@media (max-width: 640px) {
    .ht-why__head {
        margin-bottom: 38px;
    }

    .ht-why__eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .ht-why__head h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .ht-why__head p {
        font-size: 16px;
        line-height: 1.6;
    }

    .ht-why__grid {
        gap: 16px;
    }

    .ht-why__trust {
        padding: 35px 25px 28px;
        border-radius: 22px;
    }

    .ht-why__trust-top {
        gap: 8px;
        margin-bottom: 23px;
    }

    .ht-why__trust-icon {
        width: 43px;
        height: 43px;
    }

    .ht-why__trust-icon svg {
        width: 39px;
        height: 39px;
    }

    .ht-why__trust-label {
        padding: 10px 13px;
        font-size: 12px;
    }

    .ht-why__trust h3 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .ht-why__trust-text {
        font-size: 16px;
    }

    .ht-why__stats {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-top: 28px;
        padding-top: 22px;
    }

    .ht-why__stat {
        gap: 14px;
        padding: 0;
    }

    .ht-why__stat + .ht-why__stat {
        border-left: 0;
    }

    .ht-why__stat-icon {
        width: 43px;
        height: 43px;
    }

    .ht-why__stat-icon svg {
        width: 25px;
        height: 25px;
    }

    .ht-why__stat strong {
        font-size: 23px;
    }

    .ht-why__stat small {
        margin-top: 2px;
    }

    .ht-why__features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ht-why__feature {
        min-height: 0;
        padding: 26px 24px;
        border-radius: 20px;
    }

    .ht-why__feature-icon {
        width: 51px;
        height: 51px;
        margin-bottom: 16px;
        border-radius: 13px;
    }

    .ht-why__feature-icon svg {
        width: 27px;
        height: 27px;
    }

    .ht-why__feature h3 {
        font-size: 20px;
    }

    .ht-why__feature p {
        font-size: 15px;
    }
}

/* ---- 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;
}

/* Security section: white label and a white button instead of the yellow accent. */
.ht-security .ht-eyebrow--light {
    color: rgba(255, 255, 255, 0.85);
}

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

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

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

/* Illustration on a white background: shown whole on a white card. */
.ht-security__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    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 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;
}

/* ---- Testimonials: rating summary + one featured review on a card deck ---- */
.ht-testimonials {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #f2f8f8;
}

.ht-testimonials__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
}

.ht-testimonials__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ht-teal);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.ht-testimonials__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #27abb8;
}

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

.ht-testimonials__intro h2 span {
    color: var(--ht-teal);
}

.ht-testimonials__intro > p {
    margin: 0 0 30px;
    color: #5b6b7c;
    font-size: 17px;
    line-height: 1.65;
}

/* 4.9 rating */
.ht-testimonials__rating {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid #dbe8ea;
}

.ht-testimonials__rating strong {
    color: var(--ht-ink);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.ht-testimonials__rating > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Stars in the base colour; white on the teal review card. */
.ht-testimonials__stars {
    display: inline-flex;
    gap: 3px;
    color: var(--ht-teal);
    font-size: 17px;
}

.ht-testimonial .ht-testimonials__stars {
    color: #fff;
}

.ht-testimonials__rating-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5b6b7c;
    font-size: 15px;
    font-weight: 500;
}

.ht-testimonials__rating-text img {
    width: 84px;
    height: auto;
}

/* Avatar stack + caption */
.ht-testimonials__people {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 28px;
    color: #5b6b7c;
    font-size: 15px;
}

.ht-testimonials__people b {
    color: var(--ht-ink);
}

.ht-testimonials__faces {
    display: inline-flex;
}

/* Reviewer photo (from Trustpilot) filling the round avatar. */
.ht-testimonials__avatar {
    overflow: hidden;
}

.ht-testimonials__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-testimonials__faces .ht-testimonials__avatar {
    width: 40px;
    height: 40px;
    border: 3px solid #f2f8f8;
    font-size: 13px;
}

.ht-testimonials__faces .ht-testimonials__avatar + .ht-testimonials__avatar {
    margin-left: -12px;
}

.ht-testimonials__avatar {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ht-teal);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

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

.ht-testimonials__all:hover {
    color: var(--ht-teal-dark);
}

.ht-testimonials__all i {
    transition: transform 0.2s ease;
}

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

/* Featured review: a teal card with two cards peeking out behind it */
.ht-testimonials__deck {
    position: relative;
    margin: 0 28px 28px 0;
}

.ht-testimonials__ghost {
    position: absolute;
    inset: 0;
    border-radius: 28px;
}

.ht-testimonials__ghost--back {
    background: #cfe6e8;
    transform: translate(28px, 28px);
}

.ht-testimonials__ghost--mid {
    background: #9fd0d5;
    transform: translate(14px, 14px);
}

.ht-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-height: 380px;
    margin: 0;
    padding: 44px 44px 36px;
    border-radius: 28px;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(39, 171, 184, 0.35), transparent 70%),
        linear-gradient(145deg, var(--ht-teal), var(--ht-teal-dark));
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(14, 64, 74, 0.6);
    animation: ht-review-in 0.45s ease;
}

/* Slide only (no fade), so the card is never left see-through if the animation is paused. */
@keyframes ht-review-in {
    from {
        transform: translateY(14px);
    }

    to {
        transform: none;
    }
}

.ht-testimonial__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ht-testimonial__mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    color: var(--ht-teal);
    font-size: 22px;
}

.ht-testimonial blockquote {
    flex: 1;
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
}

.ht-testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ht-testimonial figcaption .ht-testimonials__avatar {
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: #fff;
    color: var(--ht-teal);
}

.ht-testimonial__who {
    flex: 1;
    min-width: 0;
}

.ht-testimonial__who strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

.ht-testimonial__who small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.ht-testimonial__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Counter and arrows */
.ht-testimonials__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 10px;
}

.ht-testimonials__arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ht-testimonials__count {
    margin-right: 6px;
    color: #7a8a99;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.ht-testimonials__count b {
    color: var(--ht-ink);
}

.ht-testimonials__arrows button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #cfe0e2;
    border-radius: 50%;
    background: #fff;
    color: var(--ht-teal);
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

@media (max-width: 1199px) {
    .ht-testimonials__layout {
        gap: 48px;
    }

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

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

@media (max-width: 991px) {
    .ht-testimonials__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .ht-testimonials__intro h2 {
        font-size: 30px;
    }

    .ht-testimonials__intro > p {
        font-size: 16px;
    }

    .ht-testimonials__rating strong {
        font-size: 52px;
    }

    .ht-testimonials__deck {
        margin: 0 16px 16px 0;
    }

    .ht-testimonials__ghost--back {
        transform: translate(16px, 16px);
    }

    .ht-testimonials__ghost--mid {
        transform: translate(8px, 8px);
    }

    .ht-testimonial {
        min-height: 0;
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    .ht-testimonial__mark {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

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

    .ht-testimonial figcaption .ht-testimonials__avatar {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .ht-testimonial__badge {
        padding: 5px 9px;
        font-size: 12px;
    }

}

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

/* Slider: a track of cards moved by --slide; --per-view cards are visible. */

/* ---- 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;
    }
}

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

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

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

    

    

    .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-security__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    

    

    

    

    

    

    

    

    

    .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;
    }
}

/* ---- Hero ---- */
.ht-home-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 48px;
    background: #fff;
}

/* Faint grid that fades out towards the edges */

.ht-home-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 40px;
    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;
}

@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-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) minmax(0, 1fr);
        gap: 32px;
    }

    .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__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;
    }
}

/* ---- Home: domain search with sale prices ---- */
.ht-domain-band {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(circle at 12% 18%, rgba(39, 171, 184, 0.28), transparent 42%),
        radial-gradient(circle at 88% 85%, rgba(74, 222, 128, 0.12), transparent 40%),
        linear-gradient(135deg, #135360 0%, #0e404a 100%);
    color: #fff;
    text-align: center;
}

.ht-domain-band__head h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ht-domain-band__head p {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
}

.ht-domain-band__search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 34px auto 0;
    padding: 8px 8px 8px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.45);
}

.ht-domain-band__search > i {
    color: #98a2b3;
    font-size: 18px;
}

.ht-domain-band__search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 0;
    background: none;
    color: #0f2341;
    font-size: 17px;
    outline: none;
}

.ht-domain-band__search button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: var(--ht-teal);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.ht-domain-band__search button:hover {
    background: var(--ht-teal-dark);
    color: #fff;
}

.ht-domain-band__tlds {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 34px auto 0;
}

.ht-domain-band__tld {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 22px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ht-domain-band__ext {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.ht-domain-band__price {
    padding: 4px 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

/* Extensions on sale (.com, .xyz): white frame, green tint and the price in a white pill. */
.ht-domain-band__tld.is-sale {
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(74, 222, 128, 0.1);
}

.ht-domain-band__tld.is-sale .ht-domain-band__price {
    padding: 6px 16px;
    border-radius: 999px;
    background: #fff;
    color: #0e404a;
}

.ht-domain-band__price small {
    font-size: 12px;
    font-weight: 600;
}

.ht-domain-band__old {
    min-height: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.ht-domain-band__save {
    position: absolute;
    top: -10px;
    left: 50%;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ff6a6a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
}

.ht-domain-band__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 30px 0 0;
}

.ht-domain-band__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
}

.ht-domain-band__links a:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .ht-domain-band__tlds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .ht-domain-band {
        padding: 60px 0 56px;
    }

    .ht-domain-band__head h2 {
        font-size: 28px;
    }

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

    .ht-domain-band__search {
        padding: 6px 6px 6px 14px;
    }

    .ht-domain-band__search input {
        height: 46px;
        font-size: 15px;
    }

    .ht-domain-band__search button {
        height: 46px;
        padding: 0 16px;
        font-size: 15px;
    }

    .ht-domain-band__search > i {
        display: none;
    }

    .ht-domain-band__tlds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }
}

/* ==========================================================================
   Sale hero: replaces the home hero while a campaign is live (/xpanel/discounts)
   ========================================================================== */

.ht-sale-hero {
    --sale-accent: #ff3d57;
    --sale-gradient: linear-gradient(135deg, #ff7a59 0%, #ff3d57 50%, #d90429 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(32px, 3.5vw, 56px) 0 clamp(40px, 4vw, 64px);
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, #06333b 0%, #04232a 60%, #031b20 100%);
}

.ht-sale-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* gradient lettering (solid accent where text clipping isn't supported) */
.ht-sale-hero__title em {
    color: var(--sale-accent);
    background: var(--sale-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ht-sale-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 500;
}

.ht-sale-hero__chip b {
    padding: 2px 9px;
    border-radius: 99px;
    background: var(--sale-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.ht-sale-hero__title {
    max-width: 820px;
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.ht-sale-hero__title em {
    font-style: normal;
    font-weight: 900;
    /* Inter tops out at 900, so a thin same-red outline thickens it further */
    -webkit-text-stroke: 0.025em #ff3d57;
}

.ht-sale-hero__lead {
    max-width: 600px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.6;
}

.ht-sale-hero__lead b {
    color: #fff;
}

.ht-sale-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding: 7px 7px 7px 20px;
    border-radius: 10px;
    background: #fff;
    color: #04232a;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.ht-sale-hero__cta span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: var(--sale-gradient);
    color: #fff;
    font-size: 14px;
}

.ht-sale-hero__cta:hover {
    color: #04232a;
}

/* Trustpilot rating, straight on the dark hero: white lettering (trustpilot-white.png) and text */
.ht-sale-hero__trust {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 0;
    max-width: 100%;
    margin-top: 28px;
    padding: 12px 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    text-align: left;
    text-decoration: none;
}

.ht-sale-hero__trust:hover {
    color: rgba(255, 255, 255, 0.85) !important; /* beats the site-wide teal link hover */
}

.ht-sale-hero__trust img {
    width: 98px;
    height: auto;
}

/* the score between two thin dividers: logo | score | stars */
.ht-sale-hero__trust-score {
    margin: 0 18px;
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.ht-sale-hero__trust-score b {
    color: #fff;
    font-size: 16px;
}

.ht-sale-hero__trust .ht-home-hero__stars {
    margin-left: 0;
}

.ht-sale-hero__ends {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.ht-sale-hero__ends b {
    margin-left: 6px;
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ht-sale-hero__ends small {
    margin-left: 1px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 500;
}

.ht-sale-hero__deals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1040px;
    margin-top: 28px;
}

.ht-sale-deal {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 5px;
    background: #fff;
    color: var(--ht-ink, #0f2341);
    text-align: left;
    text-decoration: none;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.ht-sale-deal:hover {
    color: var(--ht-ink, #0f2341);
}

.ht-sale-deal__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e2f4f1;
    color: var(--ht-teal, #135360);
    font-size: 20px;
}

.ht-sale-deal__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.ht-sale-deal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ht-sale-deal h3 {
    margin: 0;
    color: inherit;
    font-size: 17px;
    font-weight: 700;
}

.ht-sale-deal__head i {
    margin-top: 3px;
    color: var(--ht-ink, #0f2341);
    font-size: 14px;
}

.ht-sale-deal p {
    margin: 6px 0 0;
    color: var(--ht-muted, #5b6678);
    font-size: 14px;
    line-height: 1.5;
}

.ht-sale-deal__price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.ht-sale-deal__price b {
    font-size: 22px;
    font-weight: 700;
}

.ht-sale-deal__price span {
    padding: 4px 12px;
    border-radius: 99px;
    background: linear-gradient(135deg, #ff7a59 0%, #ff3d57 50%, #d90429 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ht-sale-hero__deals {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

/* phones: the score drops under the logo and stars, without the divider */
@media (max-width: 575px) {
    .ht-sale-hero__trust {
        gap: 8px 14px;
        padding: 12px 20px;
    }

    .ht-sale-hero__trust-score {
        order: 3;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }
}

/* ==========================================================================
   Sale plans: three highlighted Web Hosting plans above the service cards during a campaign
   ========================================================================== */

/* the campaign's offer: a heading and three black "Black Friday" plan cards on the section's own background */
.ht-sale-plans {
    --sale-gradient: linear-gradient(135deg, #ff7a59 0%, #ff3d57 50%, #d90429 100%);
    max-width: 1120px;
    margin: 0 auto 48px;
}

.ht-sale-plans__head {
    margin-bottom: 40px;
    text-align: center;
}

.ht-sale-plans__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: var(--sale-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ht-sale-plans__head h3 {
    margin: 14px 0 0;
    color: var(--ht-ink, #0f2341);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ht-sale-plans__head h3 em {
    font-style: normal;
    font-weight: 900;
    color: #ff3d57;
    background: var(--sale-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ht-sale-plans__head p {
    margin: 10px 0 0;
    color: var(--ht-muted, #5b6678);
    font-size: 15px;
}

.ht-sale-plans__head p b {
    color: #d90429;
    font-variant-numeric: tabular-nums;
}

/* white cards like the service pages' plans */
.ht-live-pricing.ht-sale-plans .plans-design-one {
    background: #fff;
}

/* Server location picker opened by a sale plan's Order button */
.ht-locpick {
    width: min(460px, 100vw - 40px);
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ht-locpick h3 {
    margin: 0;
    color: var(--ht-ink, #0f2341);
    font-size: 21px;
    font-weight: 700;
}

.ht-locpick > p {
    margin: 6px 0 20px;
    color: var(--ht-muted, #5b6678);
    font-size: 14px;
}

.ht-locpick__options {
    display: grid;
    gap: 12px;
}

.ht-locpick__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--ht-border, #e7ecf2);
    border-radius: 12px;
    color: var(--ht-ink, #0f2341);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ht-locpick__option:hover {
    border-color: var(--ht-teal, #135360);
    box-shadow: 0 10px 24px -14px rgba(19, 83, 96, 0.55);
    color: var(--ht-ink, #0f2341);
}

.ht-locpick__code {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ht-teal, #135360);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.ht-locpick__option b {
    display: block;
    font-size: 16px;
}

.ht-locpick__option small {
    display: block;
    color: var(--ht-muted, #5b6678);
    font-size: 13px;
}

.ht-locpick__option > i {
    margin-left: auto;
    color: var(--ht-teal, #135360);
}

/* ==========================================================================
   Free migration: highlighted card on the home page with an animated transfer from other control panels
   ========================================================================== */

.ht-migrate__intro {
    margin-bottom: 32px;
}

/* without a campaign the section comes after the service cards, at the end of the services section */
.ht-migrate-after {
    margin-top: 80px;
}

.ht-migrate-after .ht-migrate {
    margin-bottom: 0;
}

.ht-migrate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto 72px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #d8ecef;
    border-radius: 5px;
    background: linear-gradient(135deg, #eef8f9 0%, #fff 60%);
    box-shadow: 0 30px 60px -40px rgba(19, 83, 96, 0.45);
}

.ht-migrate__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 99px;
    background: var(--ht-teal, #135360);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ht-migrate__copy h3 {
    margin: 16px 0 0;
    color: var(--ht-ink, #0f2341);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ht-migrate__copy h3 span {
    color: var(--ht-teal, #135360);
}

.ht-migrate__copy > p {
    margin: 14px 0 0;
    color: var(--ht-muted, #5b6678);
    font-size: 16px;
    line-height: 1.6;
}

.ht-migrate__copy ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ht-migrate__copy li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ht-ink, #0f2341);
    font-size: 15px;
}

.ht-migrate__copy li i {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e2f2f4;
    color: var(--ht-teal, #135360);
    font-size: 14px;
}

.ht-migrate__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 26px;
}

.ht-migrate__link {
    color: var(--ht-teal, #135360);
    font-size: 15px;
    font-weight: 600;
}

/* the transfer: each control panel's line carries a packet into the Hosttier card */
.ht-migrate__visual {
    display: flex;
    align-items: stretch;
}

.ht-migrate__sources {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-migrate__sources li {
    display: flex;
    align-items: center;
}

.ht-migrate__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    width: 128px;
    padding: 9px 12px;
    border: 1px solid var(--ht-border, #e7ecf2);
    border-radius: 10px;
    background: #fff;
    color: var(--ht-ink, #0f2341);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 14px -10px rgba(15, 35, 65, 0.4);
}

.ht-migrate__chip i {
    color: var(--ht-teal-light, #27abb8);
}

.ht-migrate__line {
    position: relative;
    flex: 1;
    min-width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #a9d6dc 0 6px, transparent 6px 12px);
    animation: ht-migrate-dash 0.9s linear infinite;
}

.ht-migrate__packet {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--ht-teal-light, #27abb8);
    box-shadow: 0 0 0 4px rgba(39, 171, 184, 0.18);
    opacity: 0;
    animation: ht-migrate-packet 2.4s ease-in infinite;
    animation-delay: calc(var(--i) * 0.4s);
}

.ht-migrate__target {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 230px;
    padding: 24px 22px;
    text-align: center;
    border-radius: 18px;
    background: linear-gradient(160deg, #1a6876 0%, #135360 45%, #0e404a 100%);
    color: #fff;
    animation: ht-migrate-glow 2.4s ease-in-out infinite;
}

.ht-migrate__target img {
    width: 140px;
    height: auto;
}

.ht-migrate__target ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.ht-migrate__target li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.35;
    animation: ht-migrate-step 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.7s);
}

.ht-migrate__target li i {
    color: var(--tier_light-green, #73c06c);
}

.ht-migrate__bar {
    display: block;
    align-self: stretch;
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.15);
}

.ht-migrate__bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--tier_light-green, #73c06c);
    animation: ht-migrate-bar 6s ease-in-out infinite;
}

/* how it works: three lines taking turns in the same spot, one per third of the bar's 6s loop */
.ht-migrate__how {
    position: relative;
    display: block;
    align-self: stretch;
    height: 54px;
}

.ht-migrate__how span {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    animation: ht-migrate-how 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 2s);
}

.ht-migrate__how i {
    color: var(--tier_light-green, #73c06c);
    font-size: 15px;
}

@keyframes ht-migrate-how {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    6%,
    28% {
        opacity: 1;
        transform: none;
    }

    34%,
    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}

@keyframes ht-migrate-dash {
    to {
        background-position: 12px 0;
    }
}

@keyframes ht-migrate-packet {
    0% {
        left: 0;
        opacity: 0;
    }

    12%,
    85% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 10px);
        opacity: 0;
    }
}

@keyframes ht-migrate-step {
    0%,
    5% {
        opacity: 0.35;
    }

    15%,
    88% {
        opacity: 1;
    }

    100% {
        opacity: 0.35;
    }
}

@keyframes ht-migrate-bar {
    0% {
        width: 0;
    }

    75%,
    92% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

@keyframes ht-migrate-glow {
    0%,
    100% {
        box-shadow: 0 20px 40px -20px rgba(19, 83, 96, 0.7);
    }

    50% {
        box-shadow:
            0 20px 40px -20px rgba(19, 83, 96, 0.7),
            0 0 0 8px rgba(39, 171, 184, 0.15);
    }
}

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

/* phones: the panels wrap as chips above the Hosttier card, no lines */
@media (max-width: 575px) {
    .ht-migrate__visual {
        flex-direction: column;
        gap: 16px;
    }

    .ht-migrate__sources {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ht-migrate__chip {
        width: 100%;
    }

    .ht-migrate__line {
        display: none;
    }

    .ht-migrate__target {
        width: 100%;
    }

    /* full-width button with the ticket link centred under it (hero buttons otherwise split a row) */
    .ht-migrate__actions {
        justify-content: center;
    }

    .ht-migrate__actions .ht-hero-btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-migrate__line,
    .ht-migrate__packet,
    .ht-migrate__target,
    .ht-migrate__target li,
    .ht-migrate__bar span {
        animation: none;
    }

    .ht-migrate__target li {
        opacity: 1;
    }

    .ht-migrate__how span {
        animation: none;
    }

    .ht-migrate__how span:first-child {
        opacity: 1;
    }

    .ht-migrate__bar span {
        width: 100%;
    }
}
