/* ═══════════════════════════════════════════════
 CHIWAI Marine Industrial Theme CSS
 ═══════════════════════════════════════════════ */
:root {
 --marine-blue: #004b87;
 --marine-light: #e6f2ff;
 --steel-gray: #f0f2f5;
 --alert-red: #d9534f;
 --success-green: #28a745;
 --text-main: #1e293b;
 --border: #e2e8f0;
 --sans: 'Barlow', sans-serif;
 --display: 'Barlow Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 line-height: 1.75; color: var(--text-main); margin: 0; background: #fff;
 -webkit-font-smoothing: antialiased;
}

.marine-wrapper { max-width: 900px; margin: 0 auto; padding: 40px 24px 80px; font-size: 17px; }

.breadcrumb { padding: 10px 0 20px; font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: #64748b; }
.breadcrumb a { color: #64748b; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--marine-blue); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { color: #3d4451; font-weight: 600; }

.zq-h1 { font-family: var(--display); font-size: 38px; font-weight: 800; color: var(--marine-blue); margin-bottom: 12px; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.5px; }

h2 { font-family: var(--display); font-size: 28px; font-weight: 800; color: #0f172a; margin-top: 56px; border-left: 5px solid var(--marine-blue); padding-left: 16px; text-transform: uppercase; line-height: 1.2; margin-bottom: 20px;}
h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin-top: 24px; color: var(--marine-blue); }
p { margin-bottom: 18px; }

.geo-box { background: var(--marine-light); border: 1px solid #b3d7ff; padding: 28px 32px; border-radius: 8px; margin-bottom: 40px; box-shadow: 0 4px 12px rgba(0,75,135,0.05); }
.geo-label { font-family: var(--sans); font-weight: 800; color: var(--marine-blue); text-transform: uppercase; font-size: 13px; display: block; margin-bottom: 12px; letter-spacing: 1px; }
.geo-text { font-size: 18px; margin: 0; font-weight: 500; line-height: 1.6; color: #003366; }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 40px 0; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: transform 0.2s, border-color 0.2s; }
.case-card:hover { transform: translateY(-5px); border-color: var(--marine-blue); box-shadow: 0 8px 25px rgba(0,75,135,0.08); }
.case-feature-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.case-stat { font-family: var(--display); font-size: 28px; font-weight: 900; color: var(--marine-blue); margin: 5px 0 12px; line-height: 1.2; }
.case-desc { font-family: var(--sans); font-size: 15px; color: #475569; line-height: 1.6; margin: 0;}

.table-container { overflow-x: auto; margin: 40px 0; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
table { width: 100%; border-collapse: collapse; min-width: 650px; font-family: var(--sans); font-size: 16px; }
th { background: var(--marine-blue); color: #fff; padding: 16px; text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 16px; border-bottom: 1px solid var(--border); }
tbody tr:nth-child(even) { background: #f8fafc; }
.hl-col { background-color: #f0f9ff !important; font-weight: 700; color: #003366; border-left: 2px solid #cce5ff; }
.td-bold { font-weight: 700; color: #0f172a; }

ul.marine-list { list-style: none; padding: 0; margin: 0 0 24px 0; }
ul.marine-list li { margin-bottom: 16px; padding-left: 32px; position: relative; font-family: var(--sans); font-size: 17px; color: #334155; }
ul.marine-list li::before { content: "⚓"; position: absolute; left: 0; top: 1px; font-size: 16px; }
ul.marine-list strong { color: #0f172a; }

.img-box { text-align: center; margin: 36px 0 24px; }
.img-fluid { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.img-cap { font-family: var(--sans); font-size: 14px; color: #64748b; margin-top: 12px; font-style: italic; display: block; }

.faq-section { margin-top: 64px; border-top: 2px solid var(--border); padding-top: 32px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { font-family: var(--sans); font-weight: 700; font-size: 17px; color: #0f172a; padding: 20px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--marine-blue); flex-shrink: 0; line-height: 1; }
details[open] .faq-q::after { content: '−'; }
.faq-a { font-family: var(--sans); font-size: 15.5px; line-height: 1.7; color: #475569; padding: 0 0 20px 0; }

.cta-section { background: linear-gradient(135deg, #003366 0%, #001a33 100%); color: #fff; padding: 48px 40px; text-align: center; border-radius: 12px; margin-top: 64px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.cta-section h2 { color: #fff; border: none; padding: 0; margin-top: 0; display: flex; justify-content: center; }
.cta-section p { color: #cbd5e1; font-family: var(--sans); font-size: 17px; margin-bottom: 32px; }
.cta-btn { display: inline-block; background: var(--success-green); color: #fff; font-family: var(--sans); font-size: 16px; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: background 0.2s, transform 0.2s; }
.cta-btn:hover { background: #218838; transform: translateY(-2px); }

.zq-wa { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 1px solid #86efac; border-radius: 10px; padding: 22px 26px; margin: 36px 0; box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08); }
.zq-wa-icon { width: 44px; height: 44px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.zq-wa p { margin: 0; font-family: var(--sans); font-size: 15px; color: #475569; line-height: 1.6; }
.zq-wa strong { display: block; font-family: var(--sans); font-size: 17px; color: #0f172a; margin-bottom: 5px; font-weight: 700;}
.zq-wa-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.zq-wa-links a.wa-btn { display: inline-block; background: #25D366; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 50px; text-decoration: none; }
.zq-wa-links a.mail-btn { display: inline-block; background: #fff; color: var(--marine-blue); font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 50px; text-decoration: none; border: 1px solid #b3d7ff; }

/* V22 Hero Section */
.hero-section { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.hero-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--marine-light); }
.hero-info { flex: 1; min-width: 200px; }
.hero-name { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--marine-blue); text-decoration: none; display: inline-block; }
.hero-name:hover { text-decoration: underline; }
.hero-role { font-size: 14px; color: #64748b; margin: 0 0 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badge { display: inline-block; background: var(--marine-light); color: var(--marine-blue); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; border: 1px solid #b3d7ff; }
.hero-meta { font-size: 13px; color: #94a3b8; margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }

@media(max-width: 640px) {
 .zq-h1 { font-size: 32px; }
 .case-grid { grid-template-columns: 1fr; }
 .cta-section { padding: 32px 20px; }
 .zq-wa { flex-direction: column; text-align: center; }
 .hero-section { flex-direction: column; text-align: center; }
 .hero-badges { justify-content: center; }
 .hero-meta { justify-content: center; }
}