/*
Theme Name: Iron Mann Industries
Theme URI: https://ironmannindustries.com
Author: Custom Development
Description: High-performance custom WordPress theme for Iron Mann Industries - Metal fabrication, CNC machining, welding, and trailer services. Optimized for speed and conversions.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ironmann
Tags: business, industrial, custom, responsive, block-editor-compatible
*/

/* ========================================
   CSS RESET & BASE
   ======================================== */

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

:root {
    /* Brand Colors - Based on current Iron Mann site */
    --primary: #1e3a5f; /* Navy Blue */
    --secondary: #0d1f35; /* Dark Navy */
    --accent: #e67e22; /* Orange for CTAs */
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border: #e0e0e0;
    
    /* Typography */
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Barlow', var(--font-base);
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Container */
    --container: 1200px;
    --container-wide: 1400px;
    
    /* Transitions */
    --transition: 0.15s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ========================================
   LAYOUT
   ======================================== */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-lg) 0;
}

.section-light {
    background: var(--bg-light);
}

/* ========================================
   SHARED CARD COMPONENT
   ======================================== */

/* Base card with top accent border, shadow, and hover lift.
   Apply to any card element for consistent styling across pages. */
.card-accent {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.card-accent:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: var(--space-sm) 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

/* Navigation */
.site-navigation {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    justify-content: center;
}

.main-navigation {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--primary);
}

/* Dropdown */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: var(--space-sm) 0;
    margin: 0;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.5rem;
}

.main-navigation .sub-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Header CTA (Phone Box - Desktop) */
.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.phone-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 6px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-cta-button svg {
    color: var(--accent);
    flex-shrink: 0;
}

.phone-cta-button:hover {
    background: var(--accent);
    color: var(--white);
}

.phone-cta-button:hover svg {
    color: var(--white);
}

/* Mobile Phone Icon */
.phone-icon-mobile {
    display: none;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.phone-icon-mobile:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.phone-icon-mobile svg {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

.mobile-menu-toggle svg {
    display: block;
}

.main-navigation .sub-menu a {
    padding: 0.75rem var(--space-sm);
    border-left: 3px solid transparent;
}

.main-navigation .sub-menu a:hover {
    border-left-color: var(--primary);
    background: var(--bg-light);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
}

/* ========================================
   BUTTONS & CTAs
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #d35400;
    color: var(--white);
    border-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.phone-cta {
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.phone-cta:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-md);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1rem;
    text-align: center;
}

.service-icon img {
    width: 77px;
    height: 77px;
    display: inline-block;
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: var(--space-md);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    flex: 1;
}

.service-card .btn {
    margin-top: var(--space-sm);
    align-self: flex-start;
}

.view-all-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ========================================
   FEATURES / CAPABILITIES
   ======================================== */

.capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.capability-item {
    padding: var(--space-md);
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.capability-item h3 {
    color: var(--secondary);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.capability-item p {
    color: var(--text-light);
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn:hover {
    background: var(--secondary);
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.footer-widget p,
.footer-widget a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
}

.footer-widget a:hover {
    color: var(--white);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

/* ========================================
   CONTACT FORMS (CF7)
   ======================================== */

/* ========================================
   BLOG / POSTS
   ======================================== */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: var(--space-md);
}

.post-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.post-card h2 a {
    color: var(--secondary);
}

.post-card h2 a:hover {
    color: var(--primary);
}

/* Single Post */
.single-post-header {
    margin-bottom: var(--space-md);
}

.single-post-content {
    max-width: 800px;
    line-height: 1.8;
}

.single-post-content img {
    margin: var(--space-md) 0;
    border-radius: 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    /* Hide desktop phone button, show icon */
    .phone-cta-button {
        display: none;
    }
    
    .phone-icon-mobile {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile Navigation */
    .site-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-lg) var(--space-md);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .site-navigation.active {
        right: 0;
    }
    
    .main-navigation {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .main-navigation a {
        width: 100%;
        padding: 0.75rem 0;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--space-sm);
        margin-top: var(--space-xs);
        width: 100%;
    }
    
    /* Layout adjustments */
    .hero {
        padding: var(--space-lg) 0;
    }
    
    .services-grid,
    .capabilities {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        gap: var(--space-sm);
    }
}

@media (max-width: 640px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .site-logo img {
        max-height: 50px;
    }
    
    .phone-icon-mobile {
        width: 44px;
        height: 44px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}


/* ========================================
   ANGLED SECTION DIVIDERS
   ======================================== */

/* Section with angled bottom */
.section-angle {
    position: relative;
    padding-bottom: calc(var(--space-lg) + 35px);
}

.section-angle::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

/* White to grey angle */
.section-angle-to-grey::after {
    background: var(--bg-light);
}

/* Grey to white angle */
.section-angle.section-light::after {
    background: var(--white);
}

/* Responsive angle heights */
@media (max-width: 968px) {
    .section-angle {
        padding-bottom: calc(var(--space-lg) + 30px);
    }
    
    .section-angle::after {
        height: 30px;
    }
}

@media (max-width: 640px) {
    .section-angle {
        padding-bottom: calc(var(--space-lg) + 25px);
    }
    
    .section-angle::after {
        height: 25px;
    }
}


/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.review-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.review-company {
    font-size: 0.875rem;
    color: var(--text-light);
}

@media (max-width: 968px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.blog-card-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--secondary);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
}

.blog-card-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.blog-card .btn {
    align-self: flex-start;
}

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}


/* ========================================
   WAVE TEXTURE PATTERNS
   ======================================== */

/* Hero - real shop photo with dark overlay */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('assets/images/hero-shop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero h1,
.hero .hero-subtitle {
    color: var(--white);
}

.hero .hero-subtitle {
    opacity: 0.95;
}

/* Why Choose texture - see v1.5.0 block */

/* CTA Section - dark grey metal texture */
.cta-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,.01) 10px,
            rgba(255,255,255,.01) 20px
        ),
        linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255,255,255,0.9);
}

/* Footer - subtle texture on navy */
.site-footer {
    background-color: var(--secondary);
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
}

/* Reviews Section - large yellow stars background */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section .container {
    position: relative;
    z-index: 2;
}


/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
    background: var(--white);
    padding: var(--space-sm) 0;
    text-align: center;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stats-bar-content span {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .stats-bar {
        font-size: 0.875rem;
    }
    
    .stats-bar-content {
        gap: 1rem;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .trailer-features-list {
        grid-template-columns: 1fr;
    }
    
    .trailer-cta {
        flex-direction: column;
    }
    
    .trailer-cta .btn {
        width: 100%;
    }
}


/* ========================================
   VIEW ALL SERVICES LINK WITH ORANGE OUTLINE
   ======================================== */

.view-all-services-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.view-all-services-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   TRAILER SECTION - SPLIT LAYOUT
   ======================================== */

.trailer-section-split {
    padding: 0;
    background: var(--bg-light);
}

.trailer-split-container {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 500px;
}

.trailer-photo {
    background: url('assets/images/trailer-branded.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.trailer-content {
    background: var(--secondary);
    color: var(--white);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trailer-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.trailer-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: rgba(255,255,255,0.95);
}

.trailer-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    list-style: none;
    padding: 0;
}

.trailer-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.trailer-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.trailer-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

/* Mobile responsive */
@media (max-width: 968px) {
    .trailer-split-container {
        grid-template-columns: 1fr;
    }
    
    .trailer-photo {
        min-height: 300px;
    }
    
    .trailer-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trailer-buttons {
        flex-direction: column;
    }
    
    .trailer-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   REVIEW STARS WITH GRADIENT FADE
   ======================================== */

.reviews-section {
    position: relative;
    overflow: hidden;
}

/* Reviews container - content layer */
.reviews-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   WHY CHOOSE - VERSION A (Icon + Brown Border)
   ======================================== */

.capabilities-version-a .capability-item {
    padding: var(--space-md);
    background: var(--white);
    border-radius: 8px;
    border-left: 5px solid #3b1303;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.capability-icon {
    color: #3b1303;
    margin-bottom: 0.5rem;
    text-align: center;
}

.capability-icon svg,
.capability-icon img {
    display: inline-block;
    width: 77px;
    height: 77px;
}

/* ========================================
   WHY CHOOSE - VERSION C (Dark Navy Cards)
   ======================================== */

.capabilities-version-c .capability-item-dark {
    padding: var(--space-lg);
    background: var(--secondary);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: var(--transition);
}

.capabilities-version-c .capability-item-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.capability-icon-dark {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.capability-icon-dark svg {
    display: block;
}

.capabilities-version-c .capability-item-dark h3 {
    color: var(--white);
}

.capabilities-version-c .capability-item-dark p {
    color: rgba(255,255,255,0.9);
}


/* ========================================
   FIX: Remove black line under header
   ======================================== */

.site-header {
    margin-bottom: -1px; /* Prevents gap/line between header and content */
}

.hero {
    margin-top: 0;
    padding-top: 0;
}

/* ========================================
   FIX: Hero left-aligned (not centered)
   ======================================== */

.hero-content {
    text-align: left;
    max-width: 100%;
}

.hero-content .btn-large {
    margin-left: 0;
    margin-right: auto;
}

/* ========================================
   FIX: Mobile service cards stacking
   ======================================== */

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   TRAILER SECTION: Add extras tagline styling
   ======================================== */

.trailer-extras {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin-bottom: var(--space-md);
}

/* ========================================
   TRAILER SECTION: 3x2 grid for features
   ======================================== */

.trailer-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    list-style: none;
    padding: 0;
}

@media (max-width: 968px) {
    .trailer-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trailer-features {
        grid-template-columns: 1fr;
    }
}



/* ========================================
   v1.4.0 - CONSOLIDATED & CLEANED
   All duplicate CSS removed, conflicts resolved
   ======================================== */

/* Hero - 60px top padding, no texture */
.hero {
    padding-top: 60px;
}

/* Why Choose wave texture - see v1.5.0 block */

/* Blog section wave texture - see v1.5.0 block */

/* More padding for Why Choose and Reviews sections */
.capabilities-section,
.reviews-section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Footer - dark brown with subtle welding background */
.site-footer {
    background-color: #3b1303;
    position: relative;
    overflow: hidden;
}

/* Welding photo - right 40%, fades in from left */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background-image: url('assets/images/footer-welder.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.09;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

/* ---- Footer Angle (white sliver at top of footer) ---- */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
}

/* Footer grid - 4 columns, tight spacing */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    gap: var(--space-lg);
    padding: 2rem 0 1.5rem;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: var(--space-md);

}

.footer-logo img {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer Phone */
.footer-phone a {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-phone a:hover {
    color: #d35400;
}

/* Footer CTA Button */
.btn-footer-cta {
    margin-top: var(--space-md);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

/* Footer Mini Map - contextual map in contact column */
.footer-mini-map {
    display: block;
    position: relative;
    margin-top: var(--space-md);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.footer-mini-map:hover {
    border-color: var(--accent);
}

.footer-mini-map-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
    display: block;
}

.footer-mini-map:hover .footer-mini-map-img {
    filter: grayscale(0%) brightness(1);
}

.footer-mini-map-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: rgba(59, 19, 3, 0.85);
    color: var(--white);
    padding: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-mini-map:hover .footer-mini-map-label {
    background: var(--accent);
}

/* Footer Service Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a::before {
    content: '»';
    margin-right: 0.5rem;
    color: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Footer BBB Badge */
.footer-bbb-link {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-bbb-badge {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-bbb-badge:hover {
    opacity: 1;
}

/* Footer Credentials List */
.footer-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-credentials li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.footer-credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Footer Bottom Bar */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .site-footer::after {
        height: 30px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .site-footer::after {
        height: 25px;
    }
    
    .footer-mini-map-img {
        height: 140px;
    }
}

/* Services section - welder background */
.services-section {
    position: relative;
    background: url('assets/images/welder-background-white.webp') center right / cover no-repeat, var(--white);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(255,255,255,0.95) 0%, 
        rgba(255,255,255,0.9) 50%, 
        rgba(255,255,255,0.7) 100%
    );
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

/* Services header - title and button centered together */
.services-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.services-header h2 {
    margin: 0;
}

@media (max-width: 640px) {
    .services-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Trailer inspection callout - orange tint */
.trailer-inspection-callout {
    background: rgba(230, 126, 34, 0.1);
    border: 3px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.trailer-inspection-callout h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trailer-inspection-callout p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.trailer-inspection-callout .btn {
    margin-top: 0.5rem;
}

/* Review section - gradient background with stars */
.reviews-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

/* Gradient fades white over stars at top and bottom for smooth section transitions */
.reviews-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        var(--white) 0%, 
        transparent 120px,
        transparent calc(100% - 120px),
        var(--white) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Stars positioned behind gradient */
.reviews-stars-bg {
    position: absolute;
    color: #ffc107;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.reviews-stars-bg:first-of-type {
    top: -200px;
    left: -200px;
    font-size: 600px;
    opacity: 0.48;
}

.reviews-stars-bg:nth-of-type(2) {
    bottom: -150px;
    right: -150px;
    font-size: 500px;
    opacity: 0.36;
    transform: rotate(25deg);
}

/* Content layer on top */
.reviews-section .container {
    position: relative;
    z-index: 2;
}


/* ========================================
   v1.5.0 - SECTION RHYTHM & VISUAL SEPARATION
   Hero trust signals, section backgrounds,
   angle color-matching, gradient fades
   ======================================== */

/* ---- Hero Trust Signals ---- */
/* Credibility reinforcement below CTA - reduces friction at point of action */
.hero-trust-signals {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-trust-signals .trust-dot {
    opacity: 0.5;
}

@media (max-width: 640px) {
    .hero-trust-signals {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.8rem;
    }
    
    .hero-trust-signals .trust-dot {
        display: none;
    }
}

/* ---- Angle Color Overrides ---- */
/* Each angle must match the section directly below it */

/* Hero angle → white (services section below) */
.hero.section-angle::after {
    background: var(--white);
}

/* Trailer angle → white (Why Choose section below) */
.trailer-section-split.section-angle::after {
    background: var(--white);
}

/* Why Choose angle → white (reviews fade handles the transition) */
.capabilities-section.section-angle::after {
    background: var(--white);
}

/* Blog angle moved to .footer-map-angle in v1.5.4 */

/* ---- Services Section: Top/Bottom Gradient Fade ---- */
/* Welder background dissolves into adjacent section colors at edges */
.services-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        transparent 100px,
        transparent calc(100% - 100px),
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ---- Why Choose Section: White + Wave Texture ---- */
/* Overrides section-light grey; subtle grey waves on white */
.capabilities-section {
    background-color: var(--white);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23000000" fill-opacity="0.03" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="%23000000" fill-opacity="0.03" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="%23000000" fill-opacity="0.03" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') !important;
    background-size: cover;
}

/* ---- Blog Section: White Background ---- */
.blog-section {
    background: var(--white);
}

/* ---- Why Choose Section: Top Gradient Fade ---- */
/* Softens entry from trailer section above */
.capabilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
    z-index: 1;
    pointer-events: none;
}

.capabilities-section > .container {
    position: relative;
    z-index: 2;
}

/* ---- Reusable Section Header (title + inline link) ---- */
/* Used by services and blog sections for consistent pattern */
.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    margin: 0;
}

.section-header-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

/* Secondary navigation links (View All Services, View All Posts) */
.view-all-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        gap: var(--space-sm);
    }
}


/* ========================================
   CONTACT PAGE
   ======================================== */

/* Contact Hero - same dark treatment as About */
.contact-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.contact-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.contact-hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
}

/* Contact Grid - form left, info right */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Form Column */
.contact-form-column h2 {
    margin-bottom: 0.5rem;
}

.contact-form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* CF7 Form Styling */
.contact-form-column .wpcf7-form {
    margin: 0;
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
    color: var(--text-dark);
}

.form-field label .required {
    color: var(--accent);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-base);
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 8L1 3h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* CF7 overrides - make CF7 wrappers transparent */
.contact-form-column .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-column .wpcf7-form-control {
    width: 100%;
}

/* Validation - invalid fields */
.contact-form-column .wpcf7-not-valid {
    border-color: #dc3545 !important;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form-column .wpcf7-not-valid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.contact-form-column .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 0.375rem;
    display: block;
}

/* Success/error response messages */
.contact-form-column .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.contact-form-column .wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #28a745;
    background: #f0fff4;
    color: #155724;
}

.contact-form-column .wpcf7 form.failed .wpcf7-response-output,
.contact-form-column .wpcf7 form.aborted .wpcf7-response-output {
    border: 1px solid #dc3545;
    background: #fff5f5;
    color: #721c24;
}

.contact-form-column .wpcf7 form.invalid .wpcf7-response-output {
    border: 1px solid #e67e22;
    background: #fff8f0;
    color: #8a4500;
}

/* Spinner while submitting */
.contact-form-column .wpcf7-spinner {
    display: block;
    margin: 1rem auto 0;
}

/* Submit row */
.form-submit-row {
    margin-top: 1.75rem;
}

.form-submit-row .btn {
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
}

/* Zpam field hidden */
.zpam-interaction {
    display: none !important;
}

/* Info Sidebar */
.contact-info-column {
    position: sticky;
    top: 2rem;
}

.contact-info-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.contact-info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-block h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.contact-info-block p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-phone-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: block;
}

.contact-phone-link:hover {
    color: var(--accent);
}

.contact-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    margin-top: 0.5rem;
}

.contact-directions-link:hover {
    color: var(--accent);
}

.contact-emergency {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Social links */
.contact-social-links {
    display: flex;
    gap: 1rem;
}

.contact-social-links a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.contact-social-links a:hover {
    color: var(--accent);
}

/* Form Success Message */
.form-success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success-message h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.form-success-message p {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.form-success-message a {
    color: var(--accent);
    font-weight: 600;
}

.form-success-message a:hover {
    color: var(--primary);
}

/* ----------------------------------------
   CONTACT PAGE - Responsive
   ---------------------------------------- */

@media (max-width: 968px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-column {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-info-block {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 3rem 0 2.5rem;
    }

    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .form-row-half {
        grid-template-columns: 1fr;
    }

    .contact-info-column {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   SERVICES OVERVIEW PAGE
   ======================================== */

/* Services Hero - matches about/contact */
.services-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.services-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.services-hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
}

/* Services Overview Grid - 2 column */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Service Overview Card - extends .card-accent */
.service-overview-card {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-overview-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.service-overview-icon {
    margin-bottom: 1.25rem;
}

.service-overview-icon img,
.service-overview-icon svg {
    display: block;
    margin: 0 auto;
}

.service-overview-card h2 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.service-overview-card > p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
}

.service-overview-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 2;
}

.service-overview-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-overview-card .btn {
    margin-top: auto;
}

/* Trailer Center Callout */
.services-trailer-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.75rem 2rem;
    background: var(--bg-light, #f8f9fa);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.services-trailer-callout-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.services-trailer-callout-content {
    flex: 1;
}

.services-trailer-callout-content h3 {
    font-size: 1.125rem;
    color: var(--secondary);
    margin: 0 0 0.25rem 0;
}

.services-trailer-callout-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.services-trailer-callout .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .services-trailer-callout {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Service Area */
.services-area-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-area-content h2 {
    margin-bottom: 1rem;
}

.services-area-content > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.services-area-location {
    color: var(--text-light);
}

/* Services CTA */
.services-cta {
    padding: 3.5rem 0 4.5rem;
    background: var(--white);
}

.services-cta-text {
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.services-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Outline button variant */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ----------------------------------------
   SERVICES OVERVIEW PAGE - Responsive
   ---------------------------------------- */

@media (max-width: 968px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .services-overview-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .services-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .services-hero {
        padding: 3rem 0 2.5rem;
    }

    .services-hero h1 {
        font-size: 1.75rem;
    }

    .service-overview-card {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* ========================================
   BLOG LISTING PAGE
   ======================================== */

/* Blog Hero - matches other page heroes */
.blog-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.blog-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.blog-hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
}

/* Post card placeholder when no featured image */
.post-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--bg-light);
}

.post-card-image-placeholder img {
    opacity: 0.15;
}

/* Post meta separator */
.post-meta-sep {
    margin: 0 0.375rem;
}

.post-meta a {
    color: var(--primary);
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--accent);
}

/* Read more link (text style, not button) */
.post-card-readmore {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.post-card-readmore:hover {
    color: var(--accent);
}

/* Pagination */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
}

.blog-pagination .page-numbers:hover {
    background: var(--primary);
    color: var(--white);
}

.blog-pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

.blog-pagination .prev,
.blog-pagination .next {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
}

.blog-pagination .prev:hover,
.blog-pagination .next:hover {
    background: var(--bg-light);
    color: var(--secondary);
}

/* No results */
.blog-no-results {
    text-align: center;
    padding: 4rem 0;
}

.blog-no-results h2 {
    margin-bottom: 1rem;
}

.blog-no-results p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.blog-no-results a {
    color: var(--primary);
}

/* Blog category filter bar - add right after the blog hero styles */

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.blog-filter-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-filter-pill:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.blog-filter-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}



/* ----------------------------------------
   BLOG LISTING PAGE - Responsive
   ---------------------------------------- */

@media (max-width: 968px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .blog-hero {
        padding: 3rem 0 2.5rem;
    }

    .blog-hero h1 {
        font-size: 1.75rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   INDIVIDUAL SERVICE PAGE (template-service.php)
   v1.8.0
   ======================================== */

/* Service Hero - photo bg with overlay, gradient fallback */
.service-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

/* Wave texture overlay (shown on gradient fallback, subtle on photos) */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
    pointer-events: none;
}

/* Angled bottom - transitions into white content area */
.service-hero.section-angle::after {
    background: var(--white);
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.service-hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.service-hero-blurb {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.service-hero .btn {
    font-size: 1.0625rem;
}

/* ----------------------------------------
   Service Layout - content + sidebar
   ---------------------------------------- */

.service-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3.5rem;
    align-items: start;
}

/* ----------------------------------------
   Service Content - styles for Gutenberg output
   ---------------------------------------- */

.service-content {
    min-width: 0; /* prevent grid blowout */
}

/* Headings within editor content */
.service-content h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content h3 {
    font-size: 1.3125rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-content h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Body text */
.service-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.service-content strong {
    color: var(--text-dark);
}

/* Lists */
.service-content ul,
.service-content ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.service-content ul li,
.service-content ol li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.service-content ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-content ol {
    counter-reset: service-list;
}

.service-content ol li::before {
    counter-increment: service-list;
    content: counter(service-list) '.';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Images within content */
.service-content img {
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-content .wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
}

.service-content .wp-caption-text,
.service-content figcaption {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* Blockquotes (useful for testimonials in content) */
.service-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--bg-light);
    border-radius: 0 6px 6px 0;
}

.service-content blockquote p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Tables (for specs, tolerances, materials) */
.service-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.service-content th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
}

.service-content th:first-child {
    border-radius: 6px 0 0 0;
}

.service-content th:last-child {
    border-radius: 0 6px 0 0;
}

.service-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}

.service-content tr:nth-child(even) td {
    background: var(--bg-light);
}

/* Horizontal rule */
.service-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

/* ----------------------------------------
   Service Sidebar
   ---------------------------------------- */

.service-sidebar {
    position: sticky;
    top: 100px; /* clear fixed header */
}

/* Sidebar blocks share common structure */
.service-sidebar-block {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 8px;
}

.service-sidebar-block:last-child {
    margin-bottom: 0;
}

.service-sidebar-block h3 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

/* Contact block */
.service-sidebar-contact {
    background: var(--white);
    border: 1px solid var(--border);
    text-align: center;
}

.service-sidebar-phone {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.service-sidebar-phone:hover {
    color: var(--accent);
}

.service-sidebar-contact p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-sidebar-cta {
    width: 100%;
    display: block;
    text-align: center;
}

/* Certifications block */
.service-sidebar-certs {
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.service-certs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-certs-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-certs-list li:last-child {
    margin-bottom: 0;
}

.service-certs-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Related services block */
.service-sidebar-related {
    background: var(--white);
    border: 1px solid var(--border);
}

.service-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-related-list li {
    border-bottom: 1px solid var(--border);
}

.service-related-list li:last-child {
    border-bottom: none;
}

.service-related-list a {
    display: block;
    padding: 0.625rem 0;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.service-related-list a:hover {
    color: var(--accent);
    padding-left: 0.25rem;
}

/* ----------------------------------------
/* ----------------------------------------
   SERVICE PAGE - Responsive
   ---------------------------------------- */

@media (max-width: 968px) {
    .service-hero {
        min-height: 280px;
        padding: 4rem 0 3.5rem;
    }

    .service-hero h1 {
        font-size: 2.125rem;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .service-sidebar-block {
        margin-bottom: 0;
    }

    /* Contact block spans full width on tablet */
    .service-sidebar-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .service-hero {
        min-height: 240px;
        padding: 3rem 0 2.5rem;
    }

    .service-hero h1 {
        font-size: 1.75rem;
    }

    .service-hero-blurb {
        font-size: 1rem;
    }

    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   ABOUT PAGE (v1.8.0)
   ========================================================================== */

/* About Hero - dark pattern matching other pages */
.about-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d1f35 100%);
    padding: 5rem 0 4.5rem;
    position: relative;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.about-hero-content {
    max-width: 700px;
}

.about-hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.about-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

/* Founder Story */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-story-text h2 {
    margin-bottom: 1.25rem;
}

.about-story-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-story-text a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.about-story-text a:hover {
    border-bottom-color: var(--primary);
}

.about-photo {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* What Sets Us Apart - extends .card-accent */
.about-apart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-apart-card {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.about-apart-card h3 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.about-apart-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.about-apart-card a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.about-apart-card a:hover {
    border-bottom-color: var(--primary);
}

/* Certifications */
.about-certs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.about-cert-item {
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 160px;
}

.about-cert-item strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.about-cert-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* About Capabilities */
.about-capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-capability-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.1875rem;
    color: var(--secondary);
}

.about-capability-card h3 a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.about-capability-card h3 a:hover {
    border-bottom-color: var(--primary);
}

.about-capability-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-capability-list li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 2.1;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.about-capability-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-capability-list a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.about-capability-list a:hover {
    border-bottom-color: var(--primary);
}

/* About Industries */
.about-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.about-industry-card {
    padding: 2rem;
}

.about-industry-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.about-industry-card h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.about-industry-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* About Facility */
.about-facility-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-facility-content h2 {
    margin-bottom: 1.25rem;
}

.about-facility-content > p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-facility-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.about-facility-content a:hover {
    border-bottom-color: var(--primary);
}

.about-facility-details {
    margin-top: 2rem;
    color: var(--text-light);
}

.about-facility-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

/* Team */
.about-team-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-team-content h2 {
    margin-bottom: 1.25rem;
}

.about-team-content > p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-team-tagline {
    margin-top: 1.5rem;
    color: var(--primary);
}

/* Commitment */
.about-commitment-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-commitment-block {
    padding: 3rem;
}

.about-commitment-block h2 {
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.about-commitment-block p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-commitment-block p:last-child {
    margin-bottom: 0;
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d1f35 100%);
    padding: 4rem 0;
}

.about-cta h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.about-cta > .container > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.about-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Responsive */
@media (max-width: 968px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 3.5rem 0 3rem;
    }

    .about-hero-content h1 {
        font-size: 1.75rem;
    }

    .about-apart-grid {
        grid-template-columns: 1fr;
    }

    .about-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-commitment-block {
        padding: 2rem;
    }

    .about-certs-grid {
        gap: 1rem;
    }

    .about-cert-item {
        min-width: 140px;
        padding: 1.25rem 1.5rem;
    }
}
