@import url('../../css/zc-vertical-tokens.css');

/* tiemo vertical intro */
:root { --film: #00c9a7; --film-dark: #009e82; --film-light: #e6faf5; --film-bg: #0a1628; }

    .tm-hero {
      background: linear-gradient(135deg, #050d18 0%, #0a1628 45%, #0f2847 100%);
      color: #fff; padding: 64px 24px; text-align: center; border-radius: 16px;
      margin-bottom: 48px; position: relative; overflow: hidden;
    }
    .tm-hero::before {
      content: ''; position: absolute; inset: -50%; width: 200%; height: 200%;
      background: radial-gradient(circle at 25% 75%, rgba(0,201,167,0.12) 0%, transparent 45%),
                  radial-gradient(circle at 75% 25%, rgba(0,158,130,0.08) 0%, transparent 45%);
      pointer-events: none;
    }
    .tm-hero > * { position: relative; z-index: 1; }
    .tm-hero .badge {
      display: inline-block; background: rgba(0,201,167,0.12); border: 1px solid rgba(0,201,167,0.35);
      color: var(--film); padding: 6px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 16px;
    }
    .tm-hero h1 { font-size: 38px; font-weight: 700; margin: 0 0 12px; }
    .tm-hero h1 span { color: var(--film); }
    .tm-hero .subtitle { font-size: 17px; color: #8aa0b8; margin: 0 0 8px; line-height: 1.7; }
    .tm-hero .client-info { font-size: 14px; color: #5a7088; margin: 0 0 28px; }
    .tm-hero .tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
    .tm-hero .tag {
      background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.28); color: var(--film);
      padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
    }

    .tm-delivery {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
      gap: 14px; margin: -24px 0 40px;
    }
    .tm-delivery__item {
      background: #fff; border: 1px solid #f1f5f9; border-left: 3px solid var(--film);
      border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .tm-delivery__item strong { display: block; font-size: 15px; color: #1e293b; margin-bottom: 6px; }
    .tm-delivery__item span { display: block; font-size: 13px; line-height: 1.6; color: #64748b; }
    .tm-delivery__note { grid-column: 1 / -1; font-size: 12px; color: #94a3b8; text-align: center; margin: -4px 0 0; }

    .overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; margin-bottom: 56px; }
    .ov-card { background: #fff; border-radius: 12px; padding: 24px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; border-top: 3px solid var(--film); }
    .ov-card .num { font-size: 36px; font-weight: 700; color: var(--film-dark); line-height: 1; margin-bottom: 6px; }
    .ov-card .label { font-size: 14px; color: #64748b; }

    .sec-title { text-align: center; font-size: 28px; font-weight: 700; margin: 0 0 8px; color: #1e293b; }
    .sec-desc { text-align: center; color: #64748b; margin: 0 0 36px; font-size: 15px; }

    .arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-bottom: 56px; }
    .arch-card { background: #fff; border-radius: 10px; padding: 20px 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; border-left: 3px solid var(--film); transition: transform 0.2s, box-shadow 0.2s; }
    .arch-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
    .arch-card .a-icon { font-size: 24px; margin-bottom: 8px; }
    .arch-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: #1e293b; }
    .arch-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }

    .flow-pipeline { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-bottom: 56px; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; justify-content: center; }
    .flow-node { background: linear-gradient(135deg, #0f2847, #0a1628); color: var(--film); padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
    .flow-arrow { color: var(--film-dark); font-size: 20px; margin: 0 4px; }

    .warehouse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; margin-bottom: 56px; }
    .wh-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f1f5f9; }
    .wh-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #1e293b; }
    .wh-card .wh-fields { display: flex; flex-wrap: wrap; gap: 6px; }
    .wh-card .wh-field { background: #f8fafc; color: #475569; padding: 3px 10px; border-radius: 4px; font-size: 12px; border: 1px solid #e2e8f0; }

    .gallery-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; position: sticky; top: 0; z-index: 100; background: rgba(245,247,250,0.96); backdrop-filter: blur(8px); padding: 14px 0; border-bottom: 1px solid #e2e8f0; }
    .gallery-tabs button { padding: 8px 16px; border-radius: 999px; background: #fff; color: #475569; font-size: 13px; font-weight: 500; border: 1px solid #e2e8f0; cursor: pointer; transition: all 0.2s; }
    .gallery-tabs button:hover { background: var(--film-light); color: var(--film-dark); border-color: var(--film); }
    .gallery-tabs button.active { background: var(--film-dark); color: #fff; border-color: var(--film-dark); }
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
    .tab-panel h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; color: #1e293b; }
    .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(280px, 100%), 1fr)); gap: 16px; margin-bottom: 48px; }
    .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; transition: transform 0.2s, box-shadow 0.2s; }
    .thumb-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
    .thumb-card img { width: 100%; height: 180px; object-fit: cover; object-position: top left; border-bottom: 1px solid #f1f5f9; }
    .thumb-card .thumb-label { padding: 10px 14px; font-size: 13px; 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; box-shadow: 0 12px 48px rgba(0,0,0,0.4); }
    .lightbox .lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; opacity: 0.8; }
    .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(--film-dark) 0%, #007a65 100%); color: #fff; padding: 48px 24px; border-radius: 16px; text-align: center; margin-top: 48px; }
    .cta-banner h2 { font-size: 28px; font-weight: 700; margin: 0 0 12px; color: #fff; }
    .cta-banner p { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 24px; line-height: 1.7; }
    .cta-banner .btn-w { display: inline-block; background: #fff; color: var(--film-dark); padding: 14px 36px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
    .cta-banner .btn-w:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

    @media (max-width: 768px) {
      .tm-hero { padding: 36px 16px; }
      .tm-hero h1 { font-size: 24px; }
      .gallery-tabs { position: static; background: transparent; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
      .gallery-tabs button { white-space: nowrap; flex-shrink: 0; }
      .thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
      .thumb-card img { height: 110px; }
    }
    @media (max-width: 480px) {
      .flow-pipeline { flex-direction: column; align-items: stretch; }
      .flow-arrow { transform: rotate(90deg); margin: 4px auto; }
    }
