/* ===================================================
   Mid-Northwest Welders — Landing Page Styles
   Palette: Industrial Blue/Steel + Orange accent
   =================================================== */

:root {
    --steel-900: #0f172a;
    --steel-800: #1e293b;
    --steel-700: #334155;
    --steel-600: #475569;
    --steel-500: #64748b;
    --steel-400: #94a3b8;
    --steel-300: #cbd5e1;
    --steel-200: #e2e8f0;
    --steel-100: #f1f5f9;
    --steel-50:  #f8fafc;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-400: #fb923c;
    --blue-900: #1a2332;
    --blue-800: #1e3a5f;
    --white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--steel-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ========================
   HEADER
   ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, .95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--orange-500);
    padding: 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo-icon {
    font-size: 32px;
    color: var(--orange-500);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange-400);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--steel-300);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color .2s;
}

.nav a:hover { color: var(--orange-400); }

.nav-cta {
    background: var(--orange-500) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background .2s !important;
}

.nav-cta:hover { background: var(--orange-600) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s;
}

/* ========================
   HERO
   ======================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--steel-900) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(249,115,22,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30,58,95,.5) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--steel-400);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249,115,22,.4);
}

.btn-outline {
    border-color: var(--steel-500);
    color: var(--steel-300);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--orange-400);
    color: var(--orange-400);
}

.btn-full { width: 100%; justify-content: center; }

.btn-icon { font-size: 18px; }

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 100px;
    color: var(--steel-300);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ========================
   SECTIONS (shared)
   ======================== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--steel-900);
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--steel-500);
    max-width: 560px;
    margin: 0 auto 48px;
    font-size: 16px;
}

/* ========================
   SERVICES
   ======================== */
.services {
    padding: 96px 0;
    background: var(--steel-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--orange-500);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--steel-900);
}

.service-card p {
    color: var(--steel-600);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================
   ABOUT
   ======================== */
.about {
    padding: 96px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--steel-800), var(--steel-700));
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--steel-400);
}

.about-image-placeholder span {
    font-size: 64px;
    margin-bottom: 12px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--steel-900);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--steel-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--steel-200);
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--orange-600);
}

.stat-label {
    font-size: 12px;
    color: var(--steel-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================
   PROJECTS
   ======================== */
.projects {
    padding: 96px 0;
    background: var(--steel-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s;
}

.project-card:hover { transform: translateY(-4px); }

.project-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--blue-900), var(--steel-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-400);
    font-family: var(--font-heading);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--steel-900);
}

.project-info p {
    font-size: 14px;
    color: var(--steel-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--orange-500);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
}

/* ========================
   CERTIFICATIONS
   ======================== */
.certifications {
    padding: 96px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.cert-item {
    text-align: center;
    padding: 24px 16px;
    border: 2px solid var(--steel-200);
    border-radius: var(--radius);
    transition: border-color .2s;
}

.cert-item:hover { border-color: var(--orange-400); }

.cert-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--steel-900);
    margin-bottom: 4px;
}

.cert-item p {
    font-size: 13px;
    color: var(--steel-500);
}

.materials-row {
    text-align: center;
}

.materials-row h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--steel-900);
}

.materials-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.materials-tags span {
    padding: 8px 20px;
    background: var(--steel-100);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--steel-700);
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials {
    padding: 96px 0;
    background: var(--steel-900);
    color: var(--white);
}

.testimonials .section-title { color: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial {
    padding: 32px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
}

.testimonial p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--steel-300);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--orange-400);
    font-size: 14px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--steel-500);
}

/* ========================
   CONTACT
   ======================== */
.contact {
    padding: 96px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--steel-900);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--steel-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--steel-100);
    border-radius: var(--radius);
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--steel-900);
    margin-bottom: 2px;
}

.contact-item p, .contact-item a {
    font-size: 14px;
    color: var(--steel-600);
    line-height: 1.6;
}

.contact-item a:hover { color: var(--orange-500); }

.contact-form-wrap {
    background: var(--steel-50);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--steel-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--steel-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--steel-300);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--steel-800);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-400);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}

.form-group textarea { resize: vertical; }

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--steel-900);
    color: var(--steel-400);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.logo-footer .logo-text { font-size: 12px; }
.logo-footer .logo-text strong { font-size: 15px; }

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--steel-400);
    padding: 3px 0;
    transition: color .2s;
}

.footer-col a:hover { color: var(--orange-400); }

.footer-addr {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-top: 8px !important;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p { margin-bottom: 4px; }

/* ========================
   INSPECTION STATUS (stealth login)
   ======================== */
.inspection {
    padding: 80px 0;
    background: var(--steel-800);
}

.inspection-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.inspection-info h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 16px;
}

.inspection-info p {
    color: var(--steel-300);
    line-height: 1.7;
    margin-bottom: 24px;
}

.inspection-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(251,146,60,0.08);
    border: 1px solid rgba(251,146,60,0.2);
    border-radius: 8px;
    font-size: 13px;
    color: var(--steel-300);
}

.inspection-note span {
    font-size: 24px;
    flex-shrink: 0;
}

.inspection-form {
    background: var(--steel-900);
    border: 1px solid var(--steel-700);
    border-radius: 12px;
    padding: 32px;
}

.inspection-result {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.inspection-result.error {
    display: block;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #f87171;
}

.inspection-result.loading {
    display: block;
    background: rgba(251,146,60,0.1);
    border: 1px solid rgba(251,146,60,0.2);
    color: var(--orange-400);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav { 
        display: none; 
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--steel-900);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,.1);
    }
    .nav.active { display: flex; }
    .hamburger { display: flex; }
    
    .hero { min-height: auto; }
    .hero-content { padding: 60px 0; }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .inspection-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
