/* ==========================================================================
   Service Page Widget — Next-Level Premium
   Plugin: Developercode Core
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------ */
:root {
    --sp-primary: #FF6B00;
    --sp-primary-rgb: 255, 107, 0;
    --sp-dark: #0A1628;
    --sp-dark-rgb: 10, 22, 40;
    --sp-text: #1e293b;
    --sp-text-muted: #64748b;
    --sp-bg: #ffffff;
    --sp-bg-alt: #f8fafc;
    --sp-border: rgba(10, 22, 40, 0.07);
    --sp-radius: 16px;
    --sp-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --sp-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp { overflow: hidden; }

/* --- Shared: highlight ------------------------------------------------- */
.sp-hl { color: var(--sp-primary); }

/* --- Shared: eyebrow --------------------------------------------------- */
.sp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sp-eyebrow__line {
    display: block; width: 40px; height: 2px;
    background: repeating-linear-gradient(90deg, currentColor 0px, currentColor 6px, transparent 6px, transparent 11px);
    opacity: 0.4;
}
.sp-eyebrow__icon {
    width: 14px; height: 14px; flex-shrink: 0; margin-left: -4px;
    animation: sp-drive 3s ease-in-out infinite;
}
@keyframes sp-drive { 0%,100%{transform:translateX(0)} 50%{transform:translateX(5px)} }
.sp-eyebrow__text {
    font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    white-space: nowrap;
}

.sp-eyebrow--dark  { color: var(--sp-primary); }
.sp-eyebrow--light { color: var(--sp-primary); }

/* --- Shared: buttons --------------------------------------------------- */
.sp-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
    font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 12px;
    transition: all 0.35s var(--sp-ease); white-space: nowrap; letter-spacing: 0.3px;
    position: relative; overflow: hidden; border: none; cursor: pointer;
}
.sp-btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--sp-ease); flex-shrink: 0; }
.sp-btn--lg { padding: 16px 32px; font-size: 15px; border-radius: 14px; }
.sp-btn--lg svg { width: 18px; height: 18px; }

.sp-btn--glow {
    background: var(--sp-primary); color: #fff;
    box-shadow: 0 4px 20px rgba(var(--sp-primary-rgb),0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.sp-btn--glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--sp-primary-rgb),0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
}
.sp-btn--glow:hover svg { transform: translateX(4px); }

.sp-btn--glass {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sp-btn--glass:hover {
    background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px); color: #fff;
}

.sp-btn--outline {
    background: transparent; color: var(--sp-text);
    border: 1.5px solid var(--sp-border);
}
.sp-btn--outline:hover {
    border-color: rgba(var(--sp-primary-rgb),0.3); color: var(--sp-primary);
    transform: translateY(-2px);
}

/* --- Shared: scroll reveal --------------------------------------------- */
[data-sp-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s var(--sp-ease), transform 0.7s var(--sp-spring);
}
[data-sp-reveal].sp-visible {
    opacity: 1; transform: translateY(0);
}
[data-sp-delay="1"] { transition-delay: 0.1s; }
[data-sp-delay="2"] { transition-delay: 0.2s; }
[data-sp-delay="3"] { transition-delay: 0.3s; }
[data-sp-delay="4"] { transition-delay: 0.4s; }
[data-sp-delay="5"] { transition-delay: 0.5s; }
[data-sp-delay="6"] { transition-delay: 0.6s; }

/* ==========================================================================
   1. HERO — Cinematic
   ========================================================================== */

.sp-hero {
    position: relative; min-height: 520px; display: flex; align-items: center;
    overflow: hidden; background: var(--sp-dark); color: #fff;
}

.sp-hero__bg { position: absolute; inset: 0; z-index: 1; }
.sp-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-hero__overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(135deg, rgba(var(--sp-dark-rgb),0.94) 0%, rgba(var(--sp-dark-rgb),0.78) 50%, rgba(var(--sp-dark-rgb),0.88) 100%);
}

/* Road lines */
.sp-hero__road-lines {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    z-index: 3; pointer-events: none;
}
.sp-hero__road-line {
    position: absolute; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--sp-primary-rgb),0.35), transparent);
    animation: sp-road-move 6s linear infinite;
}
.sp-hero__road-line:nth-child(1) { bottom: 18%; left: -10%; width: 45%; animation-duration: 5s; }
.sp-hero__road-line:nth-child(2) { bottom: 32%; left: 20%; width: 55%; animation-duration: 7s; animation-delay: 1.5s; opacity: 0.5; }
.sp-hero__road-line:nth-child(3) { bottom: 50%; left: -5%; width: 35%; animation-duration: 8s; animation-delay: 3s; opacity: 0.35; }

@keyframes sp-road-move {
    0%   { transform: translateX(-100%); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}

.sp-hero__inner {
    max-width: 1340px; margin: 0 auto; padding: 140px 40px 100px;
    position: relative; z-index: 4; width: 100%;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
}

.sp-hero__content { flex: 1; min-width: 0; }

/* Breadcrumb */
.sp-hero__crumb {
    display: flex; align-items: center; gap: 6px; margin-bottom: 24px;
    font-size: 12px; color: rgba(255,255,255,0.4);
}
.sp-hero__crumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.sp-hero__crumb a:hover { color: var(--sp-primary); }
.sp-hero__crumb-sep { display: flex; width: 12px; height: 12px; color: rgba(255,255,255,0.2); }
.sp-hero__crumb-sep svg { width: 100%; height: 100%; }

.sp-hero__title {
    font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; line-height: 1.08;
    margin: 0 0 20px; max-width: 680px; letter-spacing: -0.02em;
    color: #fff;
}

.sp-hero__desc {
    font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.55);
    margin: 0 0 32px; max-width: 520px;
}

.sp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Floating stat badges */
.sp-hero__stats {
    display: flex; flex-direction: column; gap: 12px; flex-shrink: 0;
}

.sp-hero__stat {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 22px; border-radius: 14px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    animation: sp-float 6s ease-in-out infinite;
    min-width: 200px;
}
.sp-hero__stat:nth-child(2) { animation-delay: -2s; }
.sp-hero__stat:nth-child(3) { animation-delay: -4s; }

@keyframes sp-float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
}

.sp-hero__stat-val {
    font-size: 28px; font-weight: 800; color: var(--sp-primary);
    line-height: 1; white-space: nowrap;
}
.sp-hero__stat-label {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 1px;
}

/* Diagonal bottom edge */
.sp-hero__edge {
    position: absolute; bottom: -1px; left: 0; right: 0; z-index: 5;
    line-height: 0;
}
.sp-hero__edge svg { width: 100%; height: auto; display: block; }

/* ==========================================================================
   1b. CONTACT — Form + company info split layout
   ========================================================================== */

.sp-contact {
    padding: 80px 0; background: var(--sp-bg-alt); position: relative;
}
.sp-contact__inner {
    max-width: 1340px; margin: 0 auto; padding: 0 40px;
}

/* Grid */
.sp-contact__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.sp-contact__grid--form-left { direction: rtl; }
.sp-contact__grid--form-left > * { direction: ltr; }

/* Info side */
.sp-contact__title {
    font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--sp-text);
    margin: 0 0 12px; letter-spacing: -0.02em;
}
.sp-contact__desc {
    font-size: 15px; line-height: 1.7; color: var(--sp-text-muted); margin: 0 0 32px;
}

/* Detail rows */
.sp-contact__details {
    display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px;
}
.sp-contact__detail {
    display: flex; align-items: flex-start; gap: 16px;
}
.sp-contact__detail-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(var(--sp-primary-rgb), 0.08);
    color: var(--sp-primary);
}
.sp-contact__detail-icon svg { width: 20px; height: 20px; }
.sp-contact__detail-label {
    display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--sp-text-muted); margin-bottom: 2px;
}
.sp-contact__detail-value {
    display: block; font-size: 15px; font-weight: 600; color: var(--sp-text);
}
.sp-contact__detail-link {
    text-decoration: none; color: var(--sp-text);
    transition: color 0.3s var(--sp-ease);
}
.sp-contact__detail-link:hover { color: var(--sp-primary); }

/* Opening hours */
.sp-contact__hours {
    padding: 20px 24px; border-radius: 16px;
    background: var(--sp-bg); border: 1px solid var(--sp-border);
}
.sp-contact__hours-header {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: var(--sp-text);
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid var(--sp-border);
}
.sp-contact__hours-header svg { width: 18px; height: 18px; color: var(--sp-primary); }
.sp-contact__hours-row {
    font-size: 14px; color: var(--sp-text-muted); line-height: 1.8;
}

/* Form card */
.sp-contact__form-card {
    padding: 36px; border-radius: 20px;
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    box-shadow: 0 8px 40px rgba(var(--sp-dark-rgb), 0.06);
}

/* CF7 form styling overrides within this widget */
.sp-contact__form-card .wpcf7-form-control-wrap { display: block; margin-bottom: 16px; }
.sp-contact__form-card input[type="text"],
.sp-contact__form-card input[type="email"],
.sp-contact__form-card input[type="tel"],
.sp-contact__form-card input[type="url"],
.sp-contact__form-card textarea,
.sp-contact__form-card select {
    width: 100%; padding: 14px 18px; border-radius: 12px;
    border: 1px solid var(--sp-border); background: var(--sp-bg-alt);
    font-size: 14px; color: var(--sp-text);
    transition: border-color 0.3s var(--sp-ease), box-shadow 0.3s var(--sp-ease);
    font-family: inherit;
}
.sp-contact__form-card input:focus,
.sp-contact__form-card textarea:focus,
.sp-contact__form-card select:focus {
    outline: none;
    border-color: rgba(var(--sp-primary-rgb), 0.4);
    box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.08);
}
.sp-contact__form-card textarea { min-height: 120px; resize: vertical; }
.sp-contact__form-card input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 12px; border: none;
    background: var(--sp-primary); color: #fff;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: transform 0.3s var(--sp-ease), box-shadow 0.3s var(--sp-ease);
}
.sp-contact__form-card input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--sp-primary-rgb), 0.3);
}
.sp-contact__form-card label {
    display: block; font-size: 13px; font-weight: 600; color: var(--sp-text);
    margin-bottom: 6px;
}
.sp-contact__form-card .wpcf7-not-valid-tip {
    font-size: 12px; color: #ef4444; margin-top: 4px;
}

/* Contact responsive */
@media (max-width: 1024px) {
    .sp-contact__grid { gap: 36px; }
}
@media (max-width: 768px) {
    .sp-contact { padding: 60px 0; }
    .sp-contact__inner { padding: 0 20px; }
    .sp-contact__grid {
        grid-template-columns: 1fr; gap: 40px;
    }
    .sp-contact__grid--form-left { direction: ltr; }
    .sp-contact__form-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
    .sp-contact__form-card { padding: 24px 18px; border-radius: 16px; }
    .sp-contact__detail-icon { width: 38px; height: 38px; border-radius: 10px; }
    .sp-contact__detail-icon svg { width: 18px; height: 18px; }
}

/* ==========================================================================
   2. INTRO — Asymmetric bento with frame
   ========================================================================== */

.sp-intro { padding: 100px 0 80px; background: var(--sp-bg); }
.sp-intro__inner { max-width: 1340px; margin: 0 auto; padding: 0 40px; }

.sp-intro__grid {
    display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center;
}

.sp-intro__content { max-width: 480px; }

.sp-intro__title {
    font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--sp-text);
    margin: 0 0 24px; line-height: 1.2; letter-spacing: -0.01em;
}

.sp-intro__text {
    display: flex; gap: 16px; margin: 0 0 20px;
}
.sp-intro__text:last-of-type { margin-bottom: 0; }

.sp-intro__text-accent {
    width: 3px; flex-shrink: 0; border-radius: 3px;
    background: linear-gradient(180deg, var(--sp-primary), rgba(var(--sp-primary-rgb),0.15));
}

.sp-intro__text p {
    font-size: 15px; line-height: 1.75; color: var(--sp-text-muted); margin: 0;
}

/* Image with decorative frame */
.sp-intro__visual { position: relative; }

.sp-intro__frame {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(var(--sp-dark-rgb),0.12);
}
.sp-intro__frame img {
    width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover;
}

.sp-intro__frame-corner {
    position: absolute; width: 64px; height: 64px;
    border: 3px solid var(--sp-primary); z-index: 2;
}
.sp-intro__frame-corner--tl {
    top: -8px; left: -8px;
    border-right: none; border-bottom: none; border-radius: 8px 0 0 0;
}
.sp-intro__frame-corner--br {
    bottom: -8px; right: -8px;
    border-left: none; border-top: none; border-radius: 0 0 8px 0;
}

/* Floating badge */
.sp-intro__badge {
    position: absolute; bottom: -16px; left: 24px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 12px;
    background: var(--sp-bg); border: 1px solid var(--sp-border);
    box-shadow: 0 8px 32px rgba(var(--sp-dark-rgb),0.1);
    font-size: 13px; font-weight: 700; color: var(--sp-text);
    z-index: 3;
    animation: sp-float 5s ease-in-out infinite;
}
.sp-intro__badge svg { width: 18px; height: 18px; color: var(--sp-primary); }

/* ==========================================================================
   2b. TEAM — Cards with photo, role badge & social links
   ========================================================================== */

.sp-team {
    padding: 100px 0; background: var(--sp-dark); color: #fff;
    position: relative; overflow: hidden;
}

.sp-team__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sp-team__glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.sp-team__glow--1 {
    width: 500px; height: 500px; top: -120px; left: -100px;
    background: rgba(var(--sp-primary-rgb), 0.06);
}
.sp-team__glow--2 {
    width: 400px; height: 400px; bottom: -100px; right: -80px;
    background: rgba(var(--sp-primary-rgb), 0.04);
}

.sp-team__inner {
    max-width: 1340px; margin: 0 auto; padding: 0 40px;
    position: relative; z-index: 2;
}

/* Header */
.sp-team__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.sp-team__header .sp-eyebrow { justify-content: center; }
.sp-team__title {
    font-size: clamp(28px, 3.2vw, 42px); font-weight: 800;
    color: #ffffff; margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.15;
}
.sp-team__subtitle {
    font-size: 16px; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.7;
}

/* Grid */
.sp-team__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

/* Card */
.sp-team__card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s var(--sp-ease), border-color 0.4s var(--sp-ease), box-shadow 0.4s var(--sp-ease);
}
.sp-team__card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--sp-primary-rgb), 0.25);
    box-shadow: 0 20px 60px -12px rgba(var(--sp-primary-rgb), 0.15);
}

/* Photo */
.sp-team__card-photo-wrap {
    position: relative; width: 100%; aspect-ratio: 4 / 4.2; overflow: hidden;
}
.sp-team__card-photo {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--sp-ease);
}
.sp-team__card:hover .sp-team__card-photo { transform: scale(1.05); }

.sp-team__card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--sp-dark-rgb), 0.9) 100%);
    pointer-events: none;
}
.sp-team__card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03);
}
.sp-team__card-placeholder svg { width: 56px; height: 56px; color: rgba(255,255,255,0.12); }

/* Experience badge */
.sp-team__card-exp {
    position: absolute; top: 16px; right: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(var(--sp-primary-rgb), 0.9);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s var(--sp-spring);
}
.sp-team__card:hover .sp-team__card-exp { transform: scale(1.08) rotate(-3deg); }
.sp-team__card-exp-val { font-size: 16px; font-weight: 800; color: #fff; line-height: 1; }
.sp-team__card-exp-lbl {
    font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.8);
    text-transform: uppercase; letter-spacing: 1px; line-height: 1; margin-top: 2px;
}

/* Body */
.sp-team__card-body { padding: 24px 24px 28px; }

.sp-team__card-tag {
    display: inline-block; padding: 4px 12px; border-radius: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--sp-primary); background: rgba(var(--sp-primary-rgb), 0.1);
    margin-bottom: 14px;
}

.sp-team__card-name {
    font-size: 20px; font-weight: 800; color: #ffffff;
    margin: 0 0 4px; letter-spacing: -0.01em;
}
.sp-team__card-role {
    font-size: 14px; font-weight: 600; color: var(--sp-primary); margin: 0 0 12px;
}
.sp-team__card-bio {
    font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.45); margin: 0;
}

/* Social links */
.sp-team__card-links {
    display: flex; gap: 8px; margin-top: 18px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.sp-team__card-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5); text-decoration: none;
    transition: all 0.3s var(--sp-ease);
}
.sp-team__card-link:hover {
    background: rgba(var(--sp-primary-rgb), 0.15);
    border-color: rgba(var(--sp-primary-rgb), 0.3);
    color: var(--sp-primary); transform: translateY(-2px);
}
.sp-team__card-link svg { width: 16px; height: 16px; }

/* Shine effect */
.sp-team__card-shine {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(var(--sp-primary-rgb),0.04) 45%, transparent 50%);
    background-size: 250% 100%;
    transition: opacity 0.4s var(--sp-ease);
}
.sp-team__card:hover .sp-team__card-shine {
    opacity: 1; animation: sp-team-shine 0.8s ease forwards;
}
@keyframes sp-team-shine {
    from { background-position: 200% 0; }
    to   { background-position: -50% 0; }
}

/* Team responsive */
@media (max-width: 1024px) {
    .sp-team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .sp-team { padding: 72px 0; }
    .sp-team__inner { padding: 0 24px; }
    .sp-team__header { margin-bottom: 48px; }
    .sp-team__grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .sp-team { padding: 56px 0; }
    .sp-team__inner { padding: 0 20px; }
    .sp-team__card-body { padding: 20px 20px 24px; }
}

/* ==========================================================================
   3. BENEFITS — Dark section with glass cards
   ========================================================================== */

.sp-bene {
    padding: 100px 0; background: var(--sp-dark); color: #fff;
    position: relative; overflow: hidden;
}

.sp-bene__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sp-bene__bg-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.sp-bene__bg-glow--1 {
    width: 400px; height: 400px; top: -100px; left: -100px;
    background: rgba(var(--sp-primary-rgb),0.08);
}
.sp-bene__bg-glow--2 {
    width: 300px; height: 300px; bottom: -80px; right: -60px;
    background: rgba(var(--sp-primary-rgb),0.06);
}

.sp-bene__inner { max-width: 1340px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

.sp-bene__header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.sp-bene__header .sp-eyebrow { justify-content: center; }
.sp-bene__title { font-size: clamp(26px,3vw,38px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; color:#FFFFFF; }
.sp-bene__subtitle { font-size: 16px; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.7; }

.sp-bene__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.sp-bene__card {
    position: relative; padding: 32px 24px 28px; border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s var(--sp-ease);
    overflow: hidden;
}
.sp-bene__card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(var(--sp-primary-rgb),0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* Large background number */
.sp-bene__card-num {
    position: absolute; top: 8px; right: 12px;
    font-size: 64px; font-weight: 900; line-height: 1;
    color: rgba(255,255,255,0.03);
    transition: color 0.4s var(--sp-ease);
    pointer-events: none;
}
.sp-bene__card:hover .sp-bene__card-num { color: rgba(var(--sp-primary-rgb),0.1); }

/* Icon with glow ring */
.sp-bene__card-icon {
    position: relative; width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--sp-primary);
}
.sp-bene__card-icon svg { width: 24px; height: 24px; position: relative; z-index: 2; }

.sp-bene__card-ring {
    position: absolute; inset: 0; border-radius: 14px;
    border: 1.5px solid rgba(var(--sp-primary-rgb),0.2);
    transition: all 0.4s var(--sp-ease);
}
.sp-bene__card:hover .sp-bene__card-ring {
    border-color: var(--sp-primary);
    box-shadow: 0 0 20px rgba(var(--sp-primary-rgb),0.25);
    transform: scale(1.08);
}

.sp-bene__card-title { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: #FFFFFF; }
.sp-bene__card-desc { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.5); margin: 0; }

/* ==========================================================================
   4. FAQ — Split layout
   ========================================================================== */

.sp-faq { padding: 100px 0; background: var(--sp-bg-alt); }
.sp-faq__inner { max-width: 1340px; margin: 0 auto; padding: 0 40px; }

.sp-faq__layout {
    display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start;
}

/* Left column */
.sp-faq__title {
    font-size: clamp(26px,3vw,38px); font-weight: 800; color: var(--sp-text);
    margin: 0 0 12px; letter-spacing: -0.01em;
}
.sp-faq__subtitle { font-size: 15px; color: var(--sp-text-muted); margin: 0 0 32px; line-height: 1.7; }

.sp-faq__image {
    position: relative; border-radius: 20px; overflow: visible;
}
.sp-faq__image img {
    width: 100%; border-radius: 20px; display: block; aspect-ratio: 4/3; object-fit: cover;
    box-shadow: 0 16px 48px rgba(var(--sp-dark-rgb),0.1);
}
.sp-faq__image-deco {
    position: absolute; top: -16px; right: -16px;
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--sp-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(var(--sp-primary-rgb),0.35);
    z-index: 2;
}
.sp-faq__image-deco-q {
    font-size: 28px; font-weight: 900; line-height: 1;
}

/* Right column — accordion */
.sp-faq__list { display: flex; flex-direction: column; gap: 12px; }

.sp-faq__item {
    background: var(--sp-bg); border: 1px solid var(--sp-border); border-radius: 16px;
    overflow: hidden; transition: all 0.35s var(--sp-ease);
    position: relative;
}
.sp-faq__item::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
    background: var(--sp-primary); border-radius: 3px 0 0 3px;
    transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--sp-ease);
}
.sp-faq__item--open::before { transform: scaleY(1); }
.sp-faq__item--open {
    border-color: rgba(var(--sp-primary-rgb),0.15);
    box-shadow: 0 4px 20px rgba(var(--sp-dark-rgb),0.05);
}

.sp-faq__q {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 22px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--sp-text);
    background: none; border: none; width: 100%; text-align: left; font-family: inherit;
    transition: color 0.2s ease;
}
.sp-faq__q:hover { color: var(--sp-primary); }
.sp-faq__item--open .sp-faq__q { color: var(--sp-primary); }

.sp-faq__q-num {
    width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
    background: rgba(var(--sp-primary-rgb),0.07); color: var(--sp-primary);
    transition: all 0.3s var(--sp-ease);
}
.sp-faq__item--open .sp-faq__q-num {
    background: var(--sp-primary); color: #fff;
    box-shadow: 0 4px 12px rgba(var(--sp-primary-rgb),0.3);
}

.sp-faq__q-text { flex: 1; }

.sp-faq__q-icon {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: rgba(var(--sp-primary-rgb),0.06); color: var(--sp-primary);
    flex-shrink: 0; transition: all 0.3s var(--sp-ease);
}
.sp-faq__q-icon svg { width: 14px; height: 14px; transition: transform 0.35s var(--sp-spring); }
.sp-faq__item--open .sp-faq__q-icon svg { transform: rotate(45deg); }
.sp-faq__item--open .sp-faq__q-icon { background: var(--sp-primary); color: #fff; }

.sp-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--sp-ease); }
.sp-faq__a-inner {
    padding: 0 22px 20px 68px; font-size: 14.5px; line-height: 1.75; color: var(--sp-text-muted);
}

/* ==========================================================================
   5. RELATED — Perspective tilt cards
   ========================================================================== */

.sp-rel { padding: 80px 0; background: var(--sp-bg); }
.sp-rel__inner { max-width: 1340px; margin: 0 auto; padding: 0 40px; }

.sp-rel__header { text-align: center; margin-bottom: 48px; }
.sp-rel__header .sp-eyebrow { justify-content: center; }
.sp-rel__title {
    font-size: clamp(24px,2.8vw,34px); font-weight: 800; color: var(--sp-text);
    margin: 0; letter-spacing: -0.01em;
}

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

.sp-rel__card {
    position: relative; display: flex; flex-direction: column; gap: 12px;
    padding: 28px 24px; border-radius: 18px;
    background: var(--sp-bg-alt); border: 1px solid var(--sp-border);
    text-decoration: none; overflow: hidden;
    transition: all 0.4s var(--sp-ease);
    transform-style: preserve-3d; perspective: 800px;
}
.sp-rel__card:hover {
    border-color: rgba(var(--sp-primary-rgb),0.2);
    box-shadow: 0 16px 48px rgba(var(--sp-dark-rgb),0.08);
    transform: translateY(-6px) rotateX(2deg);
}

.sp-rel__card-top {
    display: flex; align-items: center; justify-content: space-between;
}

.sp-rel__card-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--sp-primary-rgb),0.08), rgba(var(--sp-primary-rgb),0.02));
    border: 1px solid rgba(var(--sp-primary-rgb),0.1);
    color: var(--sp-primary);
    transition: all 0.35s var(--sp-ease);
}
.sp-rel__card-icon svg { width: 22px; height: 22px; }
.sp-rel__card:hover .sp-rel__card-icon {
    background: var(--sp-primary); border-color: var(--sp-primary); color: #fff;
    box-shadow: 0 4px 16px rgba(var(--sp-primary-rgb),0.3);
}

.sp-rel__card-arrow {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; color: var(--sp-text-muted);
    opacity: 0; transform: translateX(-8px);
    transition: all 0.35s var(--sp-ease);
}
.sp-rel__card-arrow svg { width: 16px; height: 16px; }
.sp-rel__card:hover .sp-rel__card-arrow {
    opacity: 1; transform: translateX(0); color: var(--sp-primary);
}

.sp-rel__card-title {
    font-size: 16px; font-weight: 700; color: var(--sp-text);
    margin: 0; transition: color 0.2s;
}
.sp-rel__card:hover .sp-rel__card-title { color: var(--sp-primary); }

.sp-rel__card-desc {
    font-size: 13px; line-height: 1.6; color: var(--sp-text-muted); margin: 0;
}

/* Shine effect */
.sp-rel__card-shine {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(var(--sp-primary-rgb),0.04) 45%, transparent 50%);
    transform: translateX(-100%); transition: transform 0.6s var(--sp-ease);
}
.sp-rel__card:hover .sp-rel__card-shine { transform: translateX(100%); }

/* ==========================================================================
   6. CTA — Gradient mesh with glass card
   ========================================================================== */

.sp-cta {
    padding: 100px 0; background: var(--sp-bg-alt); position: relative; overflow: hidden;
}

.sp-cta__mesh { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sp-cta__mesh-blob {
    position: absolute; border-radius: 50%; filter: blur(100px);
}
.sp-cta__mesh-blob--1 {
    width: 400px; height: 400px; top: -80px; left: 10%;
    background: rgba(var(--sp-primary-rgb),0.06);
    animation: sp-mesh 8s ease-in-out infinite;
}
.sp-cta__mesh-blob--2 {
    width: 300px; height: 300px; bottom: -60px; right: 15%;
    background: rgba(var(--sp-primary-rgb),0.04);
    animation: sp-mesh 10s 3s ease-in-out infinite;
}
.sp-cta__mesh-blob--3 {
    width: 200px; height: 200px; top: 40%; left: 60%;
    background: rgba(var(--sp-primary-rgb),0.03);
    animation: sp-mesh 12s 6s ease-in-out infinite;
}
@keyframes sp-mesh {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(20px,-15px) scale(1.05); }
    66%     { transform: translate(-15px,10px) scale(0.95); }
}

.sp-cta__mesh-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(var(--sp-dark-rgb),0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--sp-dark-rgb),0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.sp-cta__inner { max-width: 720px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

.sp-cta__glass {
    position: relative; text-align: center;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 24px; padding: 56px 48px;
    border: 1px solid rgba(var(--sp-dark-rgb),0.06);
    box-shadow: 0 16px 64px rgba(var(--sp-dark-rgb),0.06);
    overflow: hidden;
}
.sp-cta__glass .sp-eyebrow { justify-content: center; }


.sp-cta__title {
    font-size: clamp(26px,3.2vw,38px); font-weight: 800; color: var(--sp-text);
    margin: 0 0 14px; letter-spacing: -0.01em;
}

.sp-cta__desc {
    font-size: 15px; color: var(--sp-text-muted); margin: 0 0 32px;
    line-height: 1.7; max-width: 440px; margin-left: auto; margin-right: auto;
}

.sp-cta__actions {
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; align-items: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .sp-hero__inner { flex-direction: column; align-items: flex-start; gap: 32px; }
    .sp-hero__stats { flex-direction: row; flex-wrap: wrap; }
    .sp-hero__stat { min-width: 0; }

    .sp-intro__grid { grid-template-columns: 1fr; gap: 48px; }
    .sp-intro__content { max-width: 100%; }

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

    .sp-faq__layout { grid-template-columns: 1fr; gap: 40px; }
    .sp-faq__image { max-width: 400px; }

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

@media (max-width: 768px) {
    .sp-hero { min-height: 400px; }
    .sp-hero__inner { padding: 120px 20px 80px; }
    .sp-hero__ctas { flex-direction: column; width: 100%; }
    .sp-hero__ctas .sp-btn { width: 100%; justify-content: center; }
    .sp-hero__stats { gap: 8px; }
    .sp-hero__stat { padding: 12px 16px; min-width: 0; flex: 1; }
    .sp-hero__stat-val { font-size: 22px; }

    .sp-intro { padding: 72px 0 60px; }
    .sp-intro__inner, .sp-bene__inner, .sp-faq__inner, .sp-rel__inner, .sp-cta__inner { padding: 0 20px; }
    .sp-intro__visual { margin-top: 8px; }
    .sp-intro__badge { left: 12px; bottom: -12px; }

    .sp-bene { padding: 72px 0; }
    .sp-bene__grid { grid-template-columns: 1fr; }

    .sp-faq { padding: 72px 0; }
    .sp-faq__a-inner { padding-left: 22px; }
    .sp-faq__image { display: none; }

    .sp-rel { padding: 60px 0; }
    .sp-rel__grid { grid-template-columns: 1fr; }

    .sp-cta { padding: 72px 0; }
    .sp-cta__glass { padding: 36px 24px; border-radius: 20px; }
    .sp-cta__actions { flex-direction: column; width: 100%; }
    .sp-cta__actions .sp-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .sp-hero__inner { padding: 100px 16px 70px; }
    .sp-hero__stat { padding: 10px 12px; flex-direction: column; gap: 4px; text-align: center; }
    .sp-hero__stat-val { font-size: 20px; }
    .sp-hero__stat-label { font-size: 10px; }
    .sp-intro__inner, .sp-bene__inner, .sp-faq__inner, .sp-rel__inner, .sp-cta__inner { padding: 0 16px; }
    .sp-bene__card { padding: 24px 18px; }
    .sp-bene__card-num { font-size: 48px; }
    .sp-faq__q { padding: 16px 14px; font-size: 14px; }
    .sp-faq__q-num { width: 28px; height: 28px; font-size: 11px; }
    .sp-faq__a-inner { padding: 0 14px 16px 14px; font-size: 13.5px; }
    .sp-cta__glass { padding: 28px 18px; border-radius: 16px; }
    .sp-rel__card { padding: 22px 18px; }
}

/* --- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .sp-hero__stat, .sp-hero__road-line, .sp-intro__badge, .sp-eyebrow__icon,
    .sp-cta__mesh-blob, .sp-team__card-shine { animation: none !important; }

    [data-sp-reveal] {
        opacity: 1 !important; transform: none !important;
        transition: none !important;
    }
    .sp-rel__card-shine, .sp-team__card-shine { display: none; }
}

/* --- Elementor editor -------------------------------------------------- */
.elementor-editor-active [data-sp-reveal] {
    opacity: 1 !important; transform: none !important;
}
.elementor-editor-active .sp-hero__stat,
.elementor-editor-active .sp-hero__road-line,
.elementor-editor-active .sp-intro__badge,
.elementor-editor-active .sp-eyebrow__icon,
.elementor-editor-active .sp-cta__mesh-blob,
.elementor-editor-active .sp-team__card-shine {
    animation: none !important;
}
