/* ===== Goldcattle CNC Cost Page — scoped styles (prefix .gc-) ===== */
:root{
  --navy:#14253f; --steel:#2b4a6f; --steel-2:#3c6191;
  --gold:#e0a23b; --gold-dk:#c4882a;
  --bg:#ffffff; --soft:#f5f7fa; --soft-2:#eef2f7;
  --text:#1f2a37; --muted:#5b6b7d;
  --border:#e2e8f0; --green:#1f9d6b; --red:#c0392b;
  --radius:14px; --shadow:0 6px 22px rgba(20,37,63,.08);
}
*{box-sizing:border-box}
.gc-wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.gc-body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);line-height:1.7;font-size:17px;background:var(--bg)}
.gc-body h1,.gc-body h2,.gc-body h3{color:var(--navy);line-height:1.25;font-weight:800}
.gc-body h1{font-size:clamp(30px,5vw,46px);margin:0 0 14px}
.gc-body h2{font-size:clamp(24px,3.4vw,32px);margin:54px 0 18px;padding-top:8px}
.gc-body h3{font-size:21px;margin:30px 0 10px}
.gc-body p{margin:0 0 16px}
.gc-body a{color:var(--steel-2);text-decoration:underline;text-underline-offset:2px}
.gc-body a:hover{color:var(--gold-dk)}
.gc-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold-dk);background:rgba(224,162,59,.12);padding:6px 12px;border-radius:999px;margin-bottom:14px}
.gc-lead{font-size:19px;color:var(--muted);max-width:760px}

/* Hero */
.gc-hero{background:linear-gradient(135deg,var(--navy) 0%,#1d3454 55%,#23456e 100%);color:#fff;padding:56px 0 48px}
.gc-hero .gc-hero-title{color:#fff;font-size:clamp(30px,5vw,46px);font-weight:800;line-height:1.25;margin:0 0 14px}
.gc-hero .gc-lead{color:#cdd9e8}
.gc-answer{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-left:4px solid var(--gold);
  border-radius:12px;padding:18px 22px;margin:24px 0;font-size:18px;color:#eef3fa}
.gc-answer b{color:var(--gold)}
.gc-hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}
.gc-btn{display:inline-block;font-weight:700;text-decoration:none;border-radius:10px;padding:14px 24px;font-size:16px;transition:.15s}
.gc-btn-gold{background:var(--gold);color:#1c1300}
.gc-btn-gold:hover{background:#ecb455;color:#1c1300}
.gc-btn--primary{background:#0052cc;color:#fff;border:none}
.gc-btn--primary:hover{background:#0a4bd1;color:#fff}
.gc-btn-ghost{border:1px solid rgba(255,255,255,.4);color:#fff}
.gc-btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}

/* Sticky sub-nav */
.gc-subnav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--border);
  box-shadow:0 2px 10px rgba(20,37,63,.05);overflow-x:auto}
.gc-subnav ul{display:flex;gap:4px;list-style:none;margin:0;padding:10px 20px;max-width:1080px;margin:0 auto;flex-wrap:nowrap}
.gc-subnav a{white-space:nowrap;font-size:13.5px;color:var(--muted);text-decoration:none;padding:7px 12px;border-radius:8px;font-weight:600}
.gc-subnav a:hover{background:var(--soft);color:var(--navy)}

/* Cards & grids */
.gc-grid{display:grid;gap:18px}
.gc-grid-2{grid-template-columns:repeat(2,1fr)}
.gc-grid-3{grid-template-columns:repeat(3,1fr)}
.gc-grid-4{grid-template-columns:repeat(4,1fr)}
.gc-card{background:var(--soft);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.gc-card h3{margin-top:0;font-size:18px}
.gc-card .gc-ico{font-size:26px;margin-bottom:6px}
.gc-callout{background:var(--soft-2);border-radius:var(--radius);padding:22px 24px;margin:22px 0;border:1px solid var(--border)}
.gc-callout.gold{border-left:4px solid var(--gold);background:rgba(224,162,59,.07)}
.gc-callout.navy{background:var(--navy);color:#eaf1fa;border:none}
.gc-callout.navy h3,.gc-callout.navy h2{color:#fff}
.gc-callout.navy p{color:#cdd9e8}

/* Tables */
.gc-table-wrap{overflow-x:auto;margin:18px 0;border:1px solid var(--border);border-radius:var(--radius)}
.gc-table{width:100%;border-collapse:collapse;font-size:15.5px;min-width:520px}
.gc-table th,.gc-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
.gc-table thead th{background:var(--navy);color:#fff;font-weight:700;font-size:14.5px}
.gc-table tbody tr:nth-child(even){background:var(--soft)}
.gc-table tbody tr:last-child td{border-bottom:none}
.gc-table td b{color:var(--navy)}
.gc-cost-low{color:var(--green);font-weight:700}
.gc-cost-mid{color:var(--gold-dk);font-weight:700}
.gc-cost-high{color:var(--red);font-weight:700}

/* Images */
.gc-fig{margin:22px 0}
.gc-fig img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--border);background:#f7f9fc}
.gc-fig .gc-img-ph{background:repeating-linear-gradient(45deg,#eef2f7,#eef2f7 12px,#e6ecf4 12px,#e6ecf4 24px);
  border:2px dashed #b9c6d6;border-radius:12px;min-height:220px;display:flex;align-items:center;justify-content:center;
  text-align:center;color:var(--muted);font-size:14px;padding:24px}
.gc-fig figcaption{font-size:13.5px;color:var(--muted);margin-top:8px;text-align:center}

/* Steps / flow */
.gc-flow{display:grid;gap:12px;margin:18px 0}
.gc-step{display:flex;gap:14px;align-items:flex-start;background:var(--soft);border:1px solid var(--border);border-radius:12px;padding:14px 18px}
.gc-step .gc-num{flex:0 0 34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:15px}
.gc-step b{color:var(--navy)}

/* List */
.gc-body ul.gc-list{margin:0 0 16px;padding-left:0;list-style:none}
.gc-list li{position:relative;padding:8px 0 8px 30px;border-bottom:1px solid var(--border)}
.gc-list li:last-child{border-bottom:none}
.gc-list li::before{content:"";position:absolute;left:6px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--gold)}
.gc-list li b{color:var(--navy)}

/* Formula */
.gc-formula{background:var(--navy);color:#fff;border-radius:12px;padding:18px 22px;font-size:18px;text-align:center;
  margin:18px 0;font-family:"Courier New",monospace;letter-spacing:.3px}
.gc-formula .gc-op{color:var(--gold)}

/* RFQ form (kept for reference; page uses modal button instead of inline form) */
.gc-form{background:var(--soft);border:1px solid var(--border);border-radius:var(--radius);padding:26px}
.gc-form .gc-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gc-form label{display:block;font-size:14px;font-weight:700;color:var(--navy);margin-bottom:6px}
.gc-form .gc-req::after{content:" *";color:var(--red)}
.gc-form input,.gc-form select,.gc-form textarea{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:9px;
  font-size:15px;font-family:inherit;background:#fff}
.gc-form textarea{resize:vertical;min-height:90px}
.gc-form .gc-field{margin-bottom:16px}
.gc-form .gc-opt-note{font-size:13px;color:var(--muted);margin:-8px 0 14px}
.gc-badges{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:18px}
.gc-badge{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px 14px;font-size:13.5px;font-weight:600;color:var(--navy)}

/* FAQ */
.gc-faq details{border:1px solid var(--border);border-radius:12px;padding:0 18px;margin:0 0 12px;background:#fff}
.gc-faq summary{cursor:pointer;font-weight:700;color:var(--navy);padding:16px 0;font-size:17px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px}
.gc-faq summary::-webkit-details-marker{display:none}
.gc-faq summary::after{content:"+";font-size:22px;color:var(--gold-dk);font-weight:800}
.gc-faq details[open] summary::after{content:"\2212"}
.gc-faq .gc-a{padding:0 0 18px;color:var(--text)}
.gc-faq .gc-a p{margin-top:0}

/* Final CTA */
.gc-final{background:linear-gradient(135deg,var(--navy),#23456e);color:#fff;border-radius:18px;padding:40px;text-align:center;margin:40px 0}
.gc-final h2{color:#fff;margin-top:0}
.gc-final p{color:#cdd9e8;max-width:640px;margin:0 auto 22px}

/* Responsive */
@media(max-width:820px){
  .gc-grid-2,.gc-grid-3,.gc-grid-4{grid-template-columns:1fr}
  .gc-form .gc-row{grid-template-columns:1fr}
}
