/* =========================================================
   uHost — Global Performance section + switch position
   Colours come from the active uHost colour scheme
   (--primary-color-1 / --primary-color-2 in assets/css/colors/).
   ========================================================= */

/* Monthly / Yearly switch now sits above the package cards */
.switch-set.switch-top { margin: 0 0 34px; }

/* Section */
.gp-global { padding: 70px 0 40px; clear: both; }
.gp-global h2 { margin-bottom: 10px; }
.gp-lead { max-width: 560px; margin: 0 auto 30px; font-size: 17px; line-height: 1.6; }

/* Location chips */
.gp-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 40px;
}
.gp-loc {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px 8px 14px;
    background: #fff;
    border: 1px solid #ece8f6;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(var(--primary-color-1-rgb), .07);
    font-size: 14px;
    transition: border-color .2s, transform .2s;
}
.gp-loc:hover { border-color: rgba(var(--primary-color-1-rgb), .35); transform: translateY(-2px); }
.gp-loc b { color: #171635; font-weight: 700; }
.gp-loc em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color-1);
    background: rgba(var(--primary-color-1-rgb), .1);
    padding: 3px 8px;
    border-radius: 10px;
}
.gp-loc .iti-flag { flex-shrink: 0; }

/* Map + pins */
.gp-map { position: relative; max-width: 1080px; margin: 0 auto; }
.gp-map img { display: block; width: 100%; height: auto; }
.gp-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gp-pin i {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(var(--primary-color-1-rgb), .45);
}
.gp-pin i::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px solid var(--primary-color-1);
    opacity: 0;
    animation: gpPing 2.4s ease-out infinite;
}
.gp-pin:nth-of-type(2) i::after { animation-delay: .5s; }
.gp-pin:nth-of-type(3) i::after { animation-delay: 1s; }
.gp-pin:nth-of-type(4) i::after { animation-delay: 1.5s; }
.gp-pin:nth-of-type(5) i::after { animation-delay: 2s; }
.gp-pin b {
    position: absolute;
    top: 22px;
    white-space: nowrap;
    background: #171635;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}
.gp-pin.is-up b { top: auto; bottom: 22px; }
@keyframes gpPing {
    0%   { transform: scale(.4); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Dark mode (uHost body.dark-scheme) */
.dark-scheme .gp-loc { background: var(--dark-mode-color-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.dark-scheme .gp-loc b { color: #fff; }

@media (max-width: 575.98px) {
    .gp-pin b { display: none; }
    .gp-global { padding-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
    .gp-pin i::after { animation: none; }
}

/* Deployaa logo: keep its own proportions (uHost fixes the height to 25.7px) */
header .logo, header .logo-2 { width: 175px; height: auto; }
header.smaller .logo, header.smaller .logo-2 { width: 150px; }   /* slightly smaller once the header shrinks on scroll */
footer #logo .logo { width: 175px; height: auto; }
@media (max-width: 991.98px) {
    header .logo, header .logo-2, header.smaller .logo, header.smaller .logo-2 { width: 135px; }
}

/* =========================================================
   Client reviews: rating cards (Google / Trustpilot / Facebook)
   ========================================================= */
#section-testimonial .rv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 20px;
}
#section-testimonial .rv-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 30px 38px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 50px -24px rgba(16, 15, 40, .45);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
#section-testimonial a.rv-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(16, 15, 40, .55); }

/* stars: pale base star with a gold layer clipped to the score */
.rv-stars {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding-bottom: 26px;
    border-bottom: 1px solid #ececf1;
}
.rv-star { position: relative; display: inline-block; font-size: 38px; line-height: 1; }
.rv-star > i { color: #ffe7a6; }
.rv-star > i.rv-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffc531;
}

.rv-logo { height: 46px; margin: 26px 0 8px; display: flex; align-items: center; justify-content: center; }
.rv-logo img { max-height: 44px; max-width: 190px; width: auto; height: auto; }
.rv-site {
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9b9aab;
}
.rv-score {
    margin-top: 22px;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    color: #171635;
}

@media (max-width: 991.98px) {
    #section-testimonial .rv-grid { grid-template-columns: 1fr; max-width: 420px; gap: 20px; }
    .rv-star { font-size: 32px; }
}
