/* ================================================================
   Hull Site Services — Static Site Stylesheet
   Combined design system + public page styles
   ================================================================ */

/* ---------- Design Tokens ---------- */
:root {
    --hss-navy:       #004a99;
    --hss-navy-dark:  #003366;
    --hss-navy-light: #e8f0fe;
    --hss-green:      #059669;
    --hss-red:        #dc3545;
    --hss-text:       #1c1e21;
    --hss-text-secondary: #6b7280;
    --hss-text-muted: #9ca3af;
    --hss-bg:         #f0f2f5;
    --hss-bg-white:   #ffffff;
    --hss-border:     #d1d5db;
    --hss-border-light:#e5e7eb;
    --hss-shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
    --hss-shadow:     0 2px 8px rgba(0,0,0,0.08);
    --hss-shadow-lg:  0 4px 12px rgba(0,0,0,0.1);
    --hss-radius:     8px;
    --hss-radius-lg:  12px;
    --hss-radius-pill:20px;
}

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

/* ---------- Site Nav ---------- */
.site-nav {
    background: var(--hss-navy);
    color: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    flex-wrap: wrap;
}
.site-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
.site-nav .nav-brand img {
    height: 40px;
    width: auto;
}
.site-nav .nav-brand span {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.site-nav .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav .nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}
.site-nav .nav-cert {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

/* ---------- Page Content ---------- */
.public-content {
    padding: 48px 20px;
}
.public-container {
    max-width: 900px;
    margin: 0 auto;
}
.public-container-narrow {
    max-width: 600px;
    margin: 0 auto;
}
.public-content h1 {
    color: var(--hss-navy);
    font-size: 1.8rem;
    margin: 0 0 24px;
    text-align: center;
}

/* ---------- Content Cards ---------- */
.content-card {
    background: var(--hss-bg-white);
    border-radius: var(--hss-radius-lg);
    box-shadow: var(--hss-shadow);
    padding: 28px 24px;
    margin-bottom: 24px;
}
.content-card.card-accent {
    border-top: 4px solid var(--hss-navy);
}
.content-card h2 {
    color: var(--hss-navy);
    font-size: 1.2rem;
    margin: 0 0 12px;
}
.content-card p {
    color: var(--hss-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}
.content-card p:last-child { margin-bottom: 0; }

/* ---------- Service List ---------- */
.service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.service-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
    color: var(--hss-text);
    line-height: 1.6;
    border-bottom: 1px solid var(--hss-border-light);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--hss-navy);
    border-radius: 50%;
}

/* ---------- Data Table ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.data-table tr:hover td {
    background: #f8f9fa;
}

/* ---------- Contact Table ---------- */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    text-align: left;
}
.contact-table td {
    padding: 12px 16px;
    font-size: 15px;
    border-bottom: 1px solid var(--hss-border-light);
}
.contact-table td:first-child { width: 180px; }
.contact-table a {
    color: var(--hss-navy);
    text-decoration: none;
    font-weight: 600;
}
.contact-table a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: var(--hss-radius);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    min-height: 44px;
    line-height: 1.4;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--hss-navy); color: #fff; }
.btn-primary:hover { background: var(--hss-navy-dark); }
.btn-outline { background: transparent; border: 1px solid var(--hss-border); color: var(--hss-text); }
.btn-outline:hover { border-color: var(--hss-navy); color: var(--hss-navy); }

/* ---------- Hero Section (homepage) ---------- */
.hero {
    background: linear-gradient(135deg, var(--hss-navy) 0%, var(--hss-navy-dark) 100%);
    color: #fff;
    padding: 64px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 2.2rem;
    margin: 0 0 12px;
    color: #fff;
}
.hero .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 32px;
    font-weight: 300;
}
.hero .cert-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.hero .cert-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: var(--hss-radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---------- Two-Column Grid ---------- */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ---------- NIGP Codes Table ---------- */
.nigp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.nigp-table td {
    padding: 6px 12px;
    font-size: 14px;
    border-bottom: 1px solid var(--hss-border-light);
}
.nigp-table td:first-child {
    font-weight: 700;
    color: var(--hss-navy);
    width: 80px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--hss-navy-dark);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 24px 20px;
    font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .public-content { padding: 32px 16px; }
    .public-content h1 { font-size: 1.4rem; }
    .content-card { padding: 20px 16px; }
    .site-nav { padding: 12px 16px; }
    .site-nav .nav-links { gap: 16px; }
    .contact-table td:first-child { width: 120px; }
    .hero { padding: 48px 16px; }
    .hero h1 { font-size: 1.6rem; }
    .grid-2col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .site-nav { flex-direction: column; gap: 8px; padding: 12px 16px; }
    .site-nav .nav-links { gap: 12px; }
    .contact-table td { padding: 8px 12px; font-size: 14px; }
    .btn { padding: 12px 16px; font-size: 15px; width: 100%; }
}
