/* ============================================
   SERVICES PAGE STYLES
   PT. Baraya Kharisma Jaya
   ============================================ */

/* =====================
   PAGE HERO
   ===================== */
.srv-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--clr-border-light);
}

.srv-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(0.7);
    transform: scale(1.04);
}

.srv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(2, 5, 9, 0.5) 0%,
        rgba(2, 5, 9, 0.65) 50%,
        rgba(2, 5, 9, 0.95) 100%
    );
}

.srv-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 80px;
}

.srv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(210, 156, 60, 0.4);
    background: rgba(210, 156, 60, 0.1);
    color: var(--clr-primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.srv-hero-badge i { font-size: 16px; }

.srv-hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: 720px;
}

.srv-hero-desc {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(240, 238, 232, 0.8);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.srv-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Breadcrumb */
.srv-breadcrumb {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--clr-border-light);
    padding: 14px 0;
}

.srv-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 6px;
    min-width: 0;
    max-width: 100%;
    font-size: 13px;
    color: var(--clr-muted);
}

.srv-breadcrumb a {
    color: rgba(210, 156, 60, 0.8);
    transition: color 0.3s ease;
}

.srv-breadcrumb a:hover { color: var(--clr-primary); }
.srv-breadcrumb i { font-size: 10px; color: var(--clr-border-light); }
.srv-breadcrumb span {
    color: rgba(240, 238, 232, 0.6);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================
   SECTION HEADER
   ===================== */
.srv-section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* =====================
   SERVICES SECTION
   ===================== */
.srv-services-section {
    position: relative;
    overflow: hidden;
}

.srv-services-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 156, 60, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* =====================
   SERVICES GRID
   ===================== */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =====================
   SERVICE CARD
   ===================== */
.srv-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border-light);
    background: var(--clr-surface);
    padding: 24px;
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
}

.srv-card:hover {
    border-color: rgba(210, 156, 60, 0.35);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(210, 156, 60, 0.08);
}

/* Popular highlight */
.srv-card.popular-card {
    border-color: rgba(210, 156, 60, 0.3);
    background: linear-gradient(160deg, rgba(210, 156, 60, 0.06), var(--clr-surface));
}

.srv-card.popular-card:hover {
    border-color: rgba(210, 156, 60, 0.6);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(210, 156, 60, 0.15);
}

.srv-popular-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.srv-popular-bar + .srv-card-header {
    padding-top: 28px;
}

/* Card header */
.srv-card-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.srv-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.4s var(--spring);
}

.srv-card:hover .srv-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

/* Icon colors */
.icon-gold {
    background: linear-gradient(135deg, rgba(210, 156, 60, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(210, 156, 60, 0.3);
    color: var(--clr-primary);
}

.icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.icon-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
}

.icon-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(0,0,0,0.3));
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}

.srv-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.srv-badge-small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.srv-card-header h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.srv-short-desc {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.6;
    flex: 1;
}

/* Actions */
.srv-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.srv-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--clr-border);
    background: rgba(210, 156, 60, 0.06);
    color: var(--clr-primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.srv-detail-btn:hover {
    background: rgba(210, 156, 60, 0.12);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
}

.srv-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.35s var(--ease-out-expo);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.srv-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.srv-cta-btn i { font-size: 16px; }

/* =====================
   MODALS
   ===================== */
.srv-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.srv-modal.open {
    opacity: 1;
    visibility: visible;
}

.srv-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.srv-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(210, 156, 60, 0.3);
    background: linear-gradient(160deg, rgba(10, 15, 26, 0.98), rgba(6, 10, 18, 1));
    box-shadow: var(--shadow-lg), 0 0 60px rgba(210, 156, 60, 0.15);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-out-expo);
    overflow-y: auto;
}

.srv-modal.open .srv-modal-content {
    transform: scale(1) translateY(0);
}

.srv-modal-close {
    position: sticky;
    top: 0;
    left: 100%;
    float: right;
    margin: 16px 16px -60px 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.srv-modal-close:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* Modal hero */
.srv-modal-hero {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.srv-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,5,9,0.3) 0%, rgba(2,5,9,0.85) 100%);
}

.srv-modal-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srv-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 4px;
}

.srv-modal-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.srv-modal-hero-content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
}

.srv-modal-hero-content p {
    font-size: 14px;
    color: rgba(240, 238, 232, 0.7);
}

/* Modal body */
.srv-modal-body {
    padding: 24px 28px 28px;
}

.srv-modal-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

.srv-modal-full-desc {
    font-size: 15px;
    color: rgba(240, 238, 232, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.srv-modal-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.srv-meta-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border-light);
    flex: 1;
    min-width: 160px;
}

.srv-meta-item > i {
    font-size: 20px;
    color: var(--clr-primary);
    margin-top: 2px;
}

.srv-meta-item strong {
    display: block;
    font-size: 11px;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.srv-meta-item span {
    font-size: 14px;
    font-weight: 600;
}

.srv-modal-features h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.srv-modal-features h4 i { color: var(--clr-primary); }

.srv-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.srv-features-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    color: rgba(240, 238, 232, 0.8);
}

.srv-features-list li i {
    color: var(--clr-primary);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Sidebar */
.srv-sidebar-cta {
    background: linear-gradient(160deg, rgba(210, 156, 60, 0.1), rgba(0,0,0,0.2));
    border: 1px solid rgba(210, 156, 60, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.srv-price-display {
    text-align: center;
    margin-bottom: 16px;
}

.srv-price-display small {
    font-size: 13px;
    color: var(--clr-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.srv-sidebar-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.35s var(--ease-out-expo);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 16px;
}

.srv-sidebar-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.srv-wa-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.srv-wa-text small { display: block; font-size: 11px; opacity: 0.9; }
.srv-wa-text strong { display: block; font-size: 15px; font-family: var(--font-display); }

.srv-sidebar-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srv-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--clr-muted);
}

.srv-trust-item i {
    color: var(--clr-primary);
    font-size: 16px;
    flex-shrink: 0;
}

/* =====================
   VALUE SECTION
   ===================== */
.srv-value-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.5), rgba(6, 10, 18, 0.8));
    border-top: 1px solid var(--clr-border-light);
    border-bottom: 1px solid var(--clr-border-light);
}

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

.srv-value-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border-light);
    background: var(--clr-surface);
    transition: all 0.4s var(--ease-out-expo);
    text-align: center;
}

.srv-value-card:hover {
    border-color: var(--clr-border);
    transform: translateY(-6px);
    box-shadow: var(--glow-sm);
}

.srv-value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(210, 156, 60, 0.15), rgba(0,0,0,0.3));
    border: 1px solid rgba(210, 156, 60, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--clr-primary);
    margin: 0 auto 16px;
    transition: all 0.4s ease;
}

.srv-value-card:hover .srv-value-icon {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    transform: scale(1.1);
}

.srv-value-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.srv-value-card p {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.6;
}

/* =====================
   PROCESS / STEPS
   ===================== */
.srv-process-section {
    position: relative;
    overflow: hidden;
}

.srv-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.srv-steps::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-primary), rgba(210, 156, 60, 0.2));
}

.srv-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.srv-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
    color: #fff;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(210, 156, 60, 0.3);
    border: 2px solid rgba(245, 214, 147, 0.5);
}

.srv-step-content {
    flex: 1;
    padding-top: 6px;
}

.srv-step-content h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.srv-step-content p {
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.6;
}

.srv-step-arrow {
    font-size: 20px;
    color: var(--clr-primary);
    padding-top: 16px;
    flex-shrink: 0;
}

/* =====================
   CTA SECTION
   ===================== */
.srv-cta-section {
    padding-block: var(--section-padding);
}

.srv-cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(210, 156, 60, 0.3);
    background: linear-gradient(160deg, rgba(10, 15, 26, 0.95), rgba(6, 10, 18, 0.98));
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(210, 156, 60, 0.08);
}

.srv-cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210, 156, 60, 0.08) 0%, transparent 70%);
}

.srv-cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 48px;
}

.srv-cta-text .section-label { margin-bottom: 12px; }

.srv-cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
}

.srv-cta-text p {
    font-size: 16px;
    color: rgba(240, 238, 232, 0.75);
    line-height: 1.7;
    max-width: 560px;
}

.srv-cta-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
}

.srv-cta-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 50px rgba(37, 211, 102, 0.4);
}

.srv-cta-wa-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.srv-cta-wa-text small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 4px;
}

.srv-cta-wa-text strong {
    display: block;
    font-size: clamp(18px, 2.5vw, 26px);
    font-family: var(--font-display);
    font-weight: 700;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
    .srv-grid { grid-template-columns: repeat(2, 1fr); }
    .srv-value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .srv-hero { min-height: 65vh; }
    .srv-hero-title { font-size: clamp(32px, 8vw, 52px); }
    .srv-hero-actions { flex-direction: column; }

    .srv-grid { grid-template-columns: 1fr; }

    .srv-modal-grid { grid-template-columns: 1fr; }
    .srv-modal-hero { height: 200px; }
    .srv-modal-body { padding: 20px; }
    .srv-features-list { grid-template-columns: 1fr; }

    .srv-value-grid { grid-template-columns: 1fr; }

    .srv-steps::before { left: 24px; }
    .srv-step-number { width: 48px; height: 48px; font-size: 16px; }
    .srv-step-arrow { display: none; }
    .srv-step { gap: 16px; padding: 16px; }

    .srv-cta-content { grid-template-columns: 1fr; padding: 28px; }
    .srv-cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .srv-card-body { padding: 16px; }
    .srv-card-actions { flex-direction: column; }
    .srv-detail-btn, .srv-cta-btn { width: 100%; justify-content: center; }
}
