/* =============================================
   NOVA VAKIL – service.css
   Shared styles for all service pages
   ============================================= */

/* --- Page Hero --- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #122d50 100%);
    padding: 60px 0 72px;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: '';
    position: absolute;
    top: -120px; left: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(31,122,99,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -60px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(198,167,92,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
  }
  .breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb span:not(a) { color: rgba(255,255,255,0.3); }
  
  .page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
  }
  
  .hero-icon-lg {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .page-hero-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.3;
  }
  .page-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 560px;
  }
  .hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  /* =============================================
     SUB-SERVICES GRID
     ============================================= */
  .sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .sub-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    text-decoration: none;
  }
  .sub-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
  }
  
  .sub-card-header {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sub-card-header.navy    { background: var(--navy); }
  .sub-card-header.emerald { background: var(--emerald); }
  .sub-card-header.gold    { background: linear-gradient(135deg, #8a6c2e, #b8933e); }
  .sub-card-header.navy-alt { background: linear-gradient(135deg, #0d3060, #1a4a8a); }
  
  .sub-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
  }
  .sub-num {
    font-size: 32px;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    font-family: 'Vazirmatn', sans-serif;
  }
  
  .sub-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
  .sub-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
  }
  .sub-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 18px;
  }
  
  .sub-list {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
  }
  .sub-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .sub-list li:last-child { border-bottom: none; }
  .sub-list li::before {
    content: '←';
    font-size: 12px;
    color: var(--emerald);
    flex-shrink: 0;
  }
  
  .sub-cta {
    font-size: 14px;
    font-weight: 700;
    color: var(--emerald);
    display: block;
    transition: transform 0.25s;
  }
  .sub-card:hover .sub-cta { transform: translateX(-4px); }
  
  /* =============================================
     TRUST SECTION
     ============================================= */
  .trust-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }
  
  .trust-points { display: flex; flex-direction: column; gap: 12px; }
  .tp {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .tp:last-child { border-bottom: none; }
  .tp-icon {
    width: 24px; height: 24px;
    background: rgba(31,122,99,0.1);
    color: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
  }
  
  .ts-card {
    background: var(--navy);
    border-radius: 20px;
    padding: 36px;
  }
  .ts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .ts-stat {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
  }
  .ts-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
  }
  .ts-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
  }
  .ts-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 20px 0;
  }
  
  /* =============================================
     PROCESS (reuse from main)
     ============================================= */
  .process-steps {
    display: flex;
    align-items: flex-start;
  }
  .process-step { flex: 1; text-align: center; padding: 0 16px; }
  .ps-number {
    width: 52px; height: 52px;
    background: var(--navy);
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
  }
  .ps-content h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
  .ps-content p  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
  .process-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to left, var(--emerald), var(--navy));
    margin-top: 25px;
    opacity: 0.25;
  }
  
  /* =============================================
     SUB-PAGE (individual service pages)
     ============================================= */
  .service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
  }
  
  .service-detail-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin: 36px 0 14px;
  }
  .service-detail-content h2:first-child { margin-top: 0; }
  .service-detail-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 16px;
  }
  
  .detail-list {
    list-style: none;
    margin: 0 0 24px;
  }
  .detail-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
  }
  .detail-list li:last-child { border-bottom: none; }
  .detail-list li::before {
    content: '⚖';
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  
  .service-sidebar { display: flex; flex-direction: column; gap: 20px; }
  
  .sidebar-cta-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
  }
  .sidebar-cta-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
  }
  .sidebar-cta-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .sidebar-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
  
  .sidebar-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
  }
  .sidebar-info-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
  }
  .info-rows { display: flex; flex-direction: column; gap: 10px; }
  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
  }
  .info-row:last-child { border-bottom: none; }
  .info-val { font-weight: 600; color: var(--navy); }
  
  .sidebar-related-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
  }
  .sidebar-related-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
  }
  .related-links { display: flex; flex-direction: column; gap: 8px; }
  .related-links a {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }
  .related-links a:hover { background: var(--white); color: var(--navy); }
  .related-links a::before { content: '←'; font-size: 12px; color: var(--emerald); }
  
  /* =============================================
     RESPONSIVE
     ============================================= */
  @media (max-width: 1024px) {
    .sub-services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .trust-layout { grid-template-columns: 1fr; gap: 40px; }
    .service-detail-layout { grid-template-columns: 1fr; }
    .service-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .sidebar-cta-card { grid-column: 1 / -1; }
    .process-steps { flex-direction: column; align-items: center; gap: 0; }
    .process-step { width: 100%; max-width: 380px; padding: 0 0 32px; }
    .process-connector { width: 2px; height: 32px; margin: 0; }
  }
  @media (max-width: 640px) {
    .hero-cta-row { flex-direction: column; }
    .hero-cta-row .btn { justify-content: center; }
    .service-sidebar { grid-template-columns: 1fr; }
    .ts-row { grid-template-columns: 1fr 1fr; }
  }
  