@import url('../../css/zc-vertical-tokens.css');

/* dianqi vertical intro */
:root { --dq: #e1251b; --dq-dark: #c81623; --dq-light: #fff5f5; --dq-bg: #1a1a2e; }
    .dq-hero {
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #4a0e0e 100%);
      color: #fff; padding: 56px 24px; text-align: center; border-radius: 16px;
      margin-bottom: 40px; position: relative; overflow: hidden;
    }
    .dq-hero::before {
      content: ''; position: absolute; inset: -50%; width: 200%; height: 200%;
      background: radial-gradient(circle at 30% 70%, rgba(225,37,27,0.12) 0%, transparent 50%),
                  radial-gradient(circle at 70% 30%, rgba(37,99,235,0.08) 0%, transparent 45%);
      pointer-events: none;
    }
    .dq-hero > * { position: relative; z-index: 1; }
    .dq-hero .badge {
      display: inline-block; background: rgba(225,37,27,0.15); border: 1px solid rgba(225,37,27,0.35);
      color: #fca5a5; padding: 6px 18px; border-radius: 999px; font-size: 13px; margin-bottom: 16px;
    }
    .dq-hero h1 { font-size: 36px; font-weight: 700; margin: 0 0 12px; }
    .dq-hero h1 span { color: #f87171; }
    .dq-hero .subtitle { font-size: 17px; color: #94a3b8; margin: 0 0 8px; line-height: 1.7; }
    .dq-hero .client-info { font-size: 14px; color: #64748b; margin: 0 0 24px; }
    .dq-hero .tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
    .dq-hero .tag {
      background: rgba(225,37,27,0.1); border: 1px solid rgba(225,37,27,0.28); color: #fecaca;
      padding: 6px 14px; border-radius: 999px; font-size: 13px;
    }
    .dq-delivery {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
      gap: 14px; margin: -12px 0 36px;
    }
    .dq-delivery__item {
      background: #fff; border-left: 3px solid var(--dq); border-radius: 10px; padding: 16px 18px;
      border: 1px solid #f1f5f9; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .dq-delivery__item strong { display: block; font-size: 15px; color: #1e293b; margin-bottom: 6px; }
    .dq-delivery__item span { font-size: 13px; color: #64748b; line-height: 1.6; }
    .overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; margin-bottom: 48px; }
    .ov-card { background: #fff; border-radius: 12px; padding: 22px 16px; text-align: center; border-top: 3px solid var(--dq); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
    .ov-card .num { font-size: 32px; font-weight: 700; color: var(--dq-dark); margin-bottom: 6px; }
    .ov-card .label { font-size: 13px; color: #64748b; }
    .sec-title { text-align: center; font-size: 26px; font-weight: 700; margin: 0 0 8px; color: #1e293b; }
    .sec-desc { text-align: center; color: #64748b; margin: 0 0 32px; font-size: 15px; }
    .arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin-bottom: 48px; }
    .arch-card { background: #fff; border-radius: 10px; padding: 18px; border-left: 3px solid var(--dq); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .arch-card .a-icon { font-size: 22px; margin-bottom: 8px; }
    .arch-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
    .arch-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }
    .flow-pipeline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; margin-bottom: 48px; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid #f1f5f9; }
    .flow-node { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fca5a5; padding: 9px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; }
    .flow-arrow { color: var(--dq); font-size: 18px; margin: 0 3px; }
    .gallery-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; position: sticky; top: 0; z-index: 100; background: rgba(245,247,250,0.96); backdrop-filter: blur(8px); padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
    .gallery-tabs button { padding: 8px 16px; border-radius: 999px; background: #fff; color: #475569; font-size: 13px; border: 1px solid #e2e8f0; cursor: pointer; }
    .gallery-tabs button.active { background: var(--dq-dark); color: #fff; border-color: var(--dq-dark); }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
    .tab-panel h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
    .tab-panel .tab-desc { font-size: 14px; color: #64748b; margin: 0 0 20px; }
    .thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-bottom: 40px; }
    .thumb-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; cursor: pointer; }
    .thumb-card img { width: 100%; height: 170px; object-fit: cover; object-position: top left; border-bottom: 1px solid #f1f5f9; }
    .thumb-card .thumb-label { padding: 10px 12px; font-size: 12px; font-weight: 500; color: #334155; text-align: center; }
    .lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.88); align-items: center; justify-content: center; padding: 24px; }
    .lightbox.show { display: flex; }
    .lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
    .lightbox .lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 36px; cursor: pointer; }
    .lightbox .lb-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,0.5); padding: 6px 18px; border-radius: 6px; }
    .cta-banner { background: linear-gradient(135deg, var(--dq-dark), #991b1b); color: #fff; padding: 44px 24px; border-radius: 16px; text-align: center; margin-top: 40px; }
    .cta-banner h2 { font-size: 26px; margin: 0 0 12px; color: #fff; }
    .cta-banner p { font-size: 15px; color: rgba(255,255,255,0.88); margin: 0 0 22px; line-height: 1.7; }
    .cta-banner .btn-w { display: inline-block; background: #fff; color: var(--dq-dark); padding: 13px 32px; border-radius: 999px; font-weight: 600; text-decoration: none; margin: 0 6px; }
    .req-banner {
      display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
      margin-bottom: 40px; padding: 18px 22px; border-radius: 12px;
      background: linear-gradient(135deg, #fff5f5, #fff);
      border: 1px solid #fecaca;
    }
    .req-banner__text { flex: 1; min-width: 220px; }
    .req-banner__text strong { display: block; font-size: 16px; color: #1e293b; margin-bottom: 6px; }
    .req-banner__text span { font-size: 13px; color: #64748b; line-height: 1.6; }
    .req-banner__btn {
      display: inline-block; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
      background: var(--dq-dark); color: #fff; text-decoration: none; white-space: nowrap;
    }
    .req-banner__btn:hover { background: #991b1b; color: #fff; }
    .req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-bottom: 48px; }
    .req-card { background: #fff; border-radius: 10px; padding: 16px 18px; border: 1px solid #f1f5f9; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .req-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
    .req-card h4 { font-size: 15px; font-weight: 700; color: #1e293b; margin: 0; }
    .req-card__cnt { font-size: 11px; font-weight: 700; color: var(--dq-dark); background: var(--dq-light); padding: 2px 8px; border-radius: 999px; }
    .req-card p { font-size: 13px; color: #64748b; line-height: 1.55; margin: 0 0 10px; }
    .req-card__link { font-size: 13px; font-weight: 600; color: var(--dq-dark); text-decoration: none; }
    .req-card__link:hover { text-decoration: underline; }
    @media (max-width: 768px) {
      .dq-hero h1 { font-size: 24px; }
      .gallery-tabs { position: static; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
      .thumb-grid { grid-template-columns: repeat(2, 1fr); }
      .thumb-card img { height: 100px; }
    }
