/* ===================================================================
   GREWAL — SERVICE DETAIL PAGE  |  Modern 3D Components
   =================================================================== */

/* ===================== SERVICE PAGE BANNER ===================== */
.sp-banner {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10,10,10,0.70), rgba(10,10,10,0.88)),
                var(--banner-bg, url('/assets/images/hero-bg.webp')) center/cover fixed;
    color: #fff;
    padding: 200px 0 100px;
    overflow: hidden;
}

.sp-banner__lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(115deg, transparent 0 60px, var(--gold) 60px 61px);
    opacity: 0.07;
}

.sp-banner__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sp-banner__content .pill {
    background: rgba(201,168,76,0.18);
    color: var(--gold-light);
}

.sp-banner__content h1 {
    font-size: clamp(32px, 4.5vw, 58px);
    color: #fff;
    margin: 16px 0 14px;
    line-height: 1.12;
}

.sp-banner__content .breadcrumb {
    justify-content: flex-start;
    margin-top: 16px;
}

.sp-banner__actions {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* 3D Floating Glass Card */
.sp-banner__card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(201,168,76,0.30);
    border-radius: 22px;
    padding: 40px 34px;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    animation: spFloat 5s ease-in-out infinite;
    box-shadow: 0 40px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.07);
}

@keyframes spFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0); }
    50%       { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(-18px); }
}

.sp-banner__card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.sp-banner__card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sp-stat {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.18);
    transition: background 0.3s ease;
}
.sp-stat:hover { background: rgba(201,168,76,0.08); }

.sp-stat__num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.sp-stat__label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* ===================== INTRO SPLIT ===================== */
.sp-intro {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 74px;
    align-items: center;
}

.sp-intro__img-wrap {
    position: relative;
    padding-bottom: 32px;
    padding-right: 32px;
}

.sp-intro__img-wrap img {
    border-radius: 18px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.14);
    transform: perspective(1200px) rotateY(5deg) rotateX(-2deg);
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.6s ease;
    width: 100%;
}
.sp-intro__img-wrap:hover img {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
}

.sp-intro__badge {
    position: absolute;
    bottom: 0; right: 0;
    background: var(--gold);
    color: #fff;
    border-radius: 16px;
    padding: 20px 26px;
    box-shadow: 0 20px 44px rgba(201,168,76,0.4);
    animation: spFloat 4s ease-in-out infinite;
    text-align: center;
    min-width: 130px;
}

.sp-intro__badge strong {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.sp-intro__badge span {
    font-size: 11.5px;
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: block;
}

.sp-intro__checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 28px 0 36px;
}

.sp-intro__check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
}

.sp-intro__check .icon {
    color: var(--gold-dark);
    flex-shrink: 0;
    width: 17px; height: 17px;
}

/* ===================== FEATURE CARDS — 3D HOVER ===================== */
.sp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.sp-feat-card {
    background: #fff;
    border-radius: 20px;
    padding: 38px 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
                box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

.sp-feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
    border-radius: 3px 3px 0 0;
}

.sp-feat-card::after {
    content: '';
    position: absolute;
    bottom: -70px; right: -70px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.sp-feat-card:hover {
    transform: perspective(900px) rotateX(-5deg) rotateY(3deg) translateY(-12px);
    box-shadow: 0 32px 64px rgba(201,168,76,0.16), 0 0 0 1px rgba(201,168,76,0.2);
    border-color: rgba(201,168,76,0.38);
}

.sp-feat-card:hover::before { transform: scaleX(1); }
.sp-feat-card:hover::after  { opacity: 1; transform: scale(1.5); }

.sp-feat-card__icon {
    width: 62px; height: 62px;
    background: rgba(201,168,76,0.10);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    color: var(--gold-dark);
    transition: background 0.35s ease, transform 0.35s ease, color 0.35s ease;
}
.sp-feat-card__icon .icon,
.sp-feat-card__icon svg { width: 28px; height: 28px; }

.sp-feat-card:hover .sp-feat-card__icon {
    background: var(--gold);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.sp-feat-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.sp-feat-card:hover h4 { color: var(--gold-dark); }

.sp-feat-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===================== TYPES CARDS — DARK ===================== */
.sp-types-section { background: var(--dark-bg); }

.sp-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sp-type-card {
    background: linear-gradient(145deg, #1d1d1d 0%, #141414 100%);
    border-radius: 20px;
    padding: 38px 26px;
    border: 1px solid rgba(201,168,76,0.16);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.sp-type-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.sp-type-card__glow {
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sp-type-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(201,168,76,0.5);
    box-shadow: 0 36px 72px rgba(0,0,0,0.4), 0 0 50px rgba(201,168,76,0.08);
}
.sp-type-card:hover::before,
.sp-type-card:hover .sp-type-card__glow { opacity: 1; }

.sp-type-card__num {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    color: rgba(201,168,76,0.1);
    line-height: 1;
    margin-bottom: 14px;
    transition: color 0.35s ease;
}
.sp-type-card:hover .sp-type-card__num { color: rgba(201,168,76,0.22); }

.sp-type-card__icon {
    width: 54px; height: 54px;
    background: rgba(201,168,76,0.1);
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--gold);
    transition: background 0.35s ease, color 0.35s ease;
}
.sp-type-card__icon .icon,
.sp-type-card__icon svg { width: 25px; height: 25px; }
.sp-type-card:hover .sp-type-card__icon { background: var(--gold); color: #fff; }

.sp-type-card h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.sp-type-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.52);
    line-height: 1.65;
}

/* ===================== SPECS SECTION ===================== */
.sp-specs-section .section-title h2,
.sp-specs-section .section-title p { color: #fff; }

.sp-specs-section {
    background: #0f0f0f;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.sp-specs-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.sp-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(201,168,76,0.13);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.13);
}

.sp-spec-item {
    background: #181818;
    padding: 34px 38px;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sp-spec-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sp-spec-item:hover { background: #1e1e1e; }
.sp-spec-item:hover::after { transform: scaleX(1); }

.sp-spec-item__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.sp-spec-item__value {
    font-family: var(--font-heading);
    font-size: 19px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

/* ===================== APPLICATIONS ===================== */
.sp-app-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.sp-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,168,76,0.07);
    border: 1.5px solid rgba(201,168,76,0.22);
    border-radius: 50px;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-primary);
    transition: all 0.32s cubic-bezier(0.25,0.46,0.45,0.94);
    cursor: default;
}

.sp-app-badge .icon {
    color: var(--gold-dark);
    width: 17px; height: 17px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.sp-app-badge:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 12px 28px rgba(201,168,76,0.32);
}
.sp-app-badge:hover .icon { color: #fff; }

/* ===================== PROCESS (SERVICE PAGE VERSION) ===================== */
.sp-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* ===================== SHOPFRONT BANNER VARIANT ===================== */
.sp-banner--sf {
    padding-top: 180px;
    padding-bottom: 0;
    min-height: auto;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    text-align: center;
    background: linear-gradient(rgba(5,5,5,0.72), rgba(8,8,8,0.93)),
                var(--banner-bg, url('/assets/images/hero-bg.webp')) center/cover fixed;
}

/* Override the default centered flex so the container fills the remaining space */
.sp-banner--sf > .container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-banner__watermark {
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(70px, 17vw, 210px);
    font-weight: 900;
    color: rgba(255,255,255,0.022);
    letter-spacing: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.sp-banner--sf .sp-banner__lines { opacity: 0.04; }

.sp-banner-sf__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 64px;
}

.sp-banner-sf__content .pill {
    background: rgba(201,168,76,0.18);
    color: var(--gold-light);
}

.sp-banner-sf__content h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    color: #fff;
    margin: 16px 0 16px;
    line-height: 1.1;
}

.sp-banner-sf__content .breadcrumb { justify-content: center; margin-top: 18px; }

.sp-banner-sf__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 34px;
    flex-wrap: wrap;
}

/* Stats bar pinned to bottom of banner */
.sp-banner-sf__bar {
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(201,168,76,0.2);
}

.sp-banner-sf__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.sp-banner-sf__stat {
    text-align: center;
    padding: 26px 16px;
    border-right: 1px solid rgba(201,168,76,0.12);
    transition: background 0.3s ease;
}
.sp-banner-sf__stat:last-child { border-right: none; }
.sp-banner-sf__stat:hover { background: rgba(201,168,76,0.06); }

.sp-banner-sf__num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 7px;
}

.sp-banner-sf__label {
    font-size: 11px;
    color: rgba(255,255,255,0.58);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

/* ===================== OTHER PRODUCTS BANNER VARIANT ===================== */
.sp-banner--other {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 560px;
    background: linear-gradient(135deg, rgba(5,5,5,0.88) 0%, rgba(15,12,5,0.78) 100%),
                var(--banner-bg, url('/assets/images/hero-bg.webp')) center/cover fixed;
    align-items: center;
}

/* Dot-grid overlay replaces diagonal lines */
.sp-banner--other__dots {
    background: radial-gradient(circle, rgba(201,168,76,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 1;
}

/* Extra dark vignette on left so text stays readable */
.sp-banner--other__tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.sp-banner--other__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Breadcrumb sits above pill in Other Products */
.sp-banner--other__breadcrumb {
    justify-content: flex-start;
    margin-bottom: 14px;
    margin-top: 0;
}

.sp-banner--other__pill {
    background: var(--gold);
    color: #111;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sp-banner--other__content h1 {
    font-size: clamp(30px, 4.2vw, 54px);
    color: #fff;
    margin: 14px 0 12px;
    line-height: 1.12;
}

.sp-banner--other__content > p {
    color: rgba(255,255,255,0.72);
    font-size: 16.5px;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Three mini tag pills — UK Wide, Free Survey, Same-Week */
.sp-banner--other__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.sp-banner--other__tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.28);
    color: var(--gold-light, #e8c96a);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 6px 14px;
    border-radius: 100px;
}

.sp-banner--other__tags .icon { width: 13px; height: 13px; }

.sp-banner--other__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- Right: circular ring stat ---- */
.sp-banner--other__ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.sp-banner--other__ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow:
        0 0 0 10px rgba(201,168,76,0.08),
        0 0 0 20px rgba(201,168,76,0.04),
        0 24px 60px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 40%, rgba(201,168,76,0.12), rgba(0,0,0,0.55));
    position: relative;
    animation: ringPulse 3.5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { box-shadow: 0 0 0 10px rgba(201,168,76,0.08), 0 0 0 20px rgba(201,168,76,0.04), 0 24px 60px rgba(0,0,0,0.6); }
    50%       { box-shadow: 0 0 0 16px rgba(201,168,76,0.12), 0 0 0 32px rgba(201,168,76,0.06), 0 24px 60px rgba(0,0,0,0.6); }
}

.sp-banner--other__ring-inner {
    text-align: center;
}

.sp-banner--other__ring-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.sp-banner--other__ring-lbl {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Two small floating stat pills beside the ring */
.sp-banner--other__ring-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(201,168,76,0.10);
    border: 1px solid rgba(201,168,76,0.22);
    border-radius: 12px;
    padding: 12px 24px;
    min-width: 100px;
}

.sp-banner--other__ring-stat span {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.sp-banner--other__ring-stat small {
    font-size: 10.5px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-top: 4px;
}

.sp-banner--other__ring-stat--2 { }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .sp-banner__inner              { grid-template-columns: 1fr; }
    .sp-banner__card               { display: none; }
    .sp-banner--other__inner       { grid-template-columns: 1fr; }
    .sp-banner--other__ring-wrap   { display: none; }
    .sp-types-grid    { grid-template-columns: repeat(2, 1fr); }
    .sp-spec-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .sp-intro         { grid-template-columns: 1fr; }
    .sp-intro__img-wrap { max-width: 520px; margin: 0 auto; }
    .sp-feat-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .sp-feat-grid     { grid-template-columns: 1fr; }
    .sp-types-grid    { grid-template-columns: 1fr; }
    .sp-spec-grid     { grid-template-columns: 1fr 1fr; }
    .sp-intro__checks { grid-template-columns: 1fr; }
    .sp-banner__actions { flex-direction: column; align-items: flex-start; }
    .sp-process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
    .sp-spec-grid { grid-template-columns: 1fr; }
}
