/*
Theme Name: GS-100 Materials
Theme URI: https://example.com/gs100
Description: Custom Industrial Theme for GS-100 Materials
Author: Copilot
Version: 1.0
*/

/* Global Variables & Reset */
:root {
    /* Refined Color Palette - Slate & Vibrant Orange */
    --primary-dark: #0f172a;   /* Deepest Navy */
    --primary-light: #334155;  /* Slate Grey */
    --accent-color: #f97316;   /* Energetic Orange */
    --accent-hover: #ea580c;   /* Darker Orange for actions */
    --bg-surface: #f8fafc;     /* Off-white cool grey */
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1280px;
    --section-spacing: 120px;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300; /* Lighter weight for modern feel */
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--primary-dark);
}

h1 { font-size: clamp(3rem, 5vw, 5rem); } /* Fluid typography */
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; color: var(--primary-light); }

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Buttons - "Crispy" Interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%); /* Adds a slight "cut" corner */
}
/* Slightly rounded buttons (no cut corners) */
.btn,
.btn-mobile {
    clip-path: none;        /* removes the cut corner */
    border-radius: 6px;     /* subtle rounding */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-hover);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    clip-path: none; /* simple border for outline */
    border-radius: 0;
}

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

/* Header - Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 30px 0;
    padding-top: calc(30px + env(safe-area-inset-top, 0px));
    background: transparent;
}
header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    padding-top: calc(15px + env(safe-area-inset-top, 0px));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
    opacity: 0.9;

}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Immersive & Dynamic */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    padding-top: 140px; /* header clearance */
}

.hero.sub-page {
    height: 60vh;
    min-height: 400px;
    align-items: center;
    justify-content: center;
}

.home .hero {
    background:
        linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)),
        url('https://gulfstatesmaterials.com/wp-content/uploads/2026/02/Untitled-design-14.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    color: var(--white);
    max-width: 900px;
    z-index: 2;
    padding-top: 60px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Diagonal Dividers */
.diagonal-box {
    position: relative;
    padding: var(--section-spacing) 0;
    background: var(--white);
    z-index: 10;
}

.diagonal-box.bg-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}
.diagonal-box.bg-dark h2 { color: var(--white); }
.diagonal-box.bg-dark h3 { color: var(--white); }
.diagonal-box.bg-dark p { color: rgba(255,255,255,0.7); }

.diagonal-box.bg-light {
    background-color: var(--bg-surface);
}

/* Clip Path for "Cut" Sections - The "Crispy" Look */
.clip-bot {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding-bottom: calc(var(--section-spacing) + 120px);
}

.clip-top {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(var(--section-spacing) + 50px);
    margin-top: -100px; /* Negative margin to pull it up */
}

/* Combined: both top AND bottom diagonal clips (e.g. GS-100 section) */
.clip-top.clip-bot {
    clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
    padding-top: calc(var(--section-spacing) + 80px);
    padding-bottom: calc(var(--section-spacing) + 180px);
    margin-top: -100px;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 0px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-left: 6px solid var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Feature List - Modern Checkmarks */
.feature-list { list-style: none; }
.feature-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-weight: 500;
}
.feature-list li::before {
     content: "✔";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: var(--accent-color);
    background: var(--white);
    border: 3px solid var(--accent-color);
    border-radius: 0;
}

/* Stats Counter */
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #0b1120; /* Darker than primary */
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    z-index: 20;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-color); padding-left: 5px; }

/* ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered grid animations */
.stagger-grid > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-grid > *:nth-child(1).in-view { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-grid > *:nth-child(2).in-view { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-grid > *:nth-child(3).in-view { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-grid > *:nth-child(4).in-view { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding-top: 140px; text-align: center; }
    .hero-content { margin: 0 auto; }
}


/* Dropdown Menu Styles - Added for Navigation */
.dropdown {
    position: relative;
    padding-bottom: 0; 
}

/* Base Dropdown (Hidden Strict) */
nav ul li.dropdown ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(15, 23, 42, 0.98);
    padding: 15px 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    list-style: none;
    z-index: 99999;
    
    display: none !important; /* Force hide */
    opacity: 0;
    visibility: hidden;
    
    /* Grid Setup */
    grid-template-columns: 1fr; /* Default to 1 col for fallback */
}

/* Desktop 2-Column Layout */
@media (min-width: 993px) {
    nav ul li.dropdown ul.dropdown-menu {
        width: 550px; /* Wide enough for 2 cols */
        grid-template-columns: 1fr 1fr;
    }

    /* Arrow-controlled open state (desktop) */
    nav ul li.dropdown.open > ul.dropdown-menu {
        display: grid !important;
        opacity: 1;
        visibility: visible;
        animation: dropdownSlideIn 0.3s ease forwards;
    }
}

/* Mobile Fix ensuring visibility */
@media (max-width: 992px) {
    /* REMOVED HOVER RULE TO PREVENT STICKING */
    /* Interaction is 100% JS controlled via .is-open class now */
}
@keyframes dropdownSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .home .hero {
        background:
            linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)),
            url('https://gulfstatesmaterials.com/wp-content/uploads/2026/02/Untitled-design-14.jpg');
		background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .home .gs100-bg {
        background-attachment: scroll !important;
    }
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem; /* Slightly smaller for sub-items */
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    color: var(--accent-color);
    background: rgba(255,255,255,0.05);
    padding-left: 25px; /* Slide effect */
}

/* Remove the main nav underline effect for dropdown items */
.dropdown-menu li a::after {
    display: none;
}



/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-only { display: none; }
.desktop-only { display: inline-flex; }

@media (max-width: 992px) {
    /* Mobile Header Adjustments */
    header {
        padding: 15px 0;
        padding-top: calc(15px + env(safe-area-inset-top, 0px));
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1.6rem; /* Prevent wrapping on small screens */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .desktop-only { display: none; }
    
    .nav-links {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        /* Scrollable Menu Logic */
        max-height: 80vh; /* Leave room for header */
        overflow-y: auto; /* Enable vertical scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scroll ios */
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: rgba(255,255,255,0.05); /* Lighter bg for contrast */
        margin-top: 10px;
        display: none; /* Hidden by default in mobile, can toggle or just show */
    }
    
    /* Removed .dropdown:hover rule for proper click toggles on mobile */

    .dropdown > a i {
        transform: rotate(0deg);
        transition: transform 0.3s;
    }
    
    .dropdown:hover > a i {
        transform: rotate(180deg);
    }

    .mobile-only { display: block; }
    .btn-mobile {
        display: block;
        background: var(--accent-color);
        color: white;
        padding: 12px;
        border-radius: 0px;
        font-weight: bold;
    }
    
    /* Hamburger Animation when active */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}



/* === AWARD WINNING UPGRADES === */

/* 1. Grain Texture Overlay — DISABLED (caused grainy header/footer) */
/*
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,...');
}
*/

/* 2. Premium Button Shine Effect */
.btn {
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: none;
    z-index: -1;
}

.btn:hover::after {
    animation: shine 0.75s cubic-bezier(0.19, 1, 0.22, 1);
    left: 200%;
}

@keyframes shine {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

/* 3. Text Selection Color */
::selection {
    background: var(--accent-color);
    color: var(--white);
}

/* 4. Enhanced Typography */
p {
    line-height: 1.8; /* Relaxed reading */
    font-size: 1.125rem; /* Slightly larger base size */
}

/* 5. Modern Card Interactions */
.card {
    border: 1px solid rgba(0,0,0,0.03); /* Subtle border */
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.01); /* Subtle lift and grow */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); /* Warmer, diffuse shadow */
    border-color: rgba(249, 115, 22, 0.2); /* Orange tint on hover border */
}

/* 6. Hero Animation Refinement */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero {
    overflow: hidden; /* Contain the zoom */
}
/* Note: Since hero bg is on .hero, we can't zoom just the bg without separate element. 
   We will move the hero image to a pseudo element in CSS or a div in PHP later if needed. 
   For now, strictly improving CSS content. */

/* 7. Scroll Bar Polishing */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* 8. Utility: Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 9. Image Hover Effects */
img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* If images are in a container with overflow hidden */
.img-wrapper {
    overflow: hidden;
    border-radius: 8px;
}
.img-wrapper:hover img {
    transform: scale(1.05);
}




/* === FULL MOBILE OPTIMIZATION SUITE === */
.hero-btn-container {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

@media (min-width: 769px) {
    .hero-btn-container {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    /* 1. Hero Content & Padding Tweaks */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px !important;
        background-position: center top;
        min-height: auto;
    }

    .home .hero {
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 15px;
        padding-top: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Scale down from massive desktop size */
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    /* 2. Button Optimization for Mobile */
    .hero-btn-container {
        justify-content: center; /* Center buttons */
        flex-direction: column; /* Stack them */
        width: 100%;
        gap: 15px;
        margin-bottom: 0;
    }

    .btn {
        width: 100%; /* Full width buttons for easier tapping */
        text-align: center;
        padding: 18px 20px; /* Taller tap target */
        font-size: 1.1rem;
    }

    .btn:hover {
        transform: none; /* Disable shift on touch to prevent weirdness */
    }

    /* 3. Section Adjustments */
    .diagonal-box {
        padding: 40px 0;
    }

    /* Fix strict clip paths overlapping content */
    .clip-bot {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); /* Much shallower angle */
    }
    
    .clip-top {
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); /* Shallower angle */
        margin-top: -50px;
        padding-top: 60px;
    }

    /* Combined top+bottom clip on mobile */
    .clip-top.clip-bot {
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
        margin-top: -30px;
        padding-top: 80px;
        padding-bottom: 140px;
    }

    /* 4. Grid Stacking */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* 5. Typography Scaling */
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* Very Small Screens (iPhone SE etc) */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-btn-container .btn { font-size: 1rem; padding: 14px; }
}



/* === CRITICAL MOBILE HEADER FIXES === */

/* 1. Prevent Horizontal Scrolling (The 'Wide' Issue) */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
}

/* 2. Header & Logo Optimization */
@media (max-width: 500px) {
    /* Shrink logo further on very small phones to prevent wrapping */
    .logo {
        font-size: 1.35rem; 
        line-height: 1.1; 
        max-width: 75%; /* Allow some space for menu button */
    }
    
    /* Ensure Header doesn't overflow */
    header .container {
        padding: 0 15px; /* Tighter padding for mobile header */
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Reduce Header Grid/Height */
    header {
        padding: 10px 0; /* Slimmer profile */
    }
}

/* 3. Global Padding Fix for Fixed Header */
/* Ensures no content hides behind the fixed header on any page */
body {
    padding-top: 0; /* Clear previous */
}
/* All Hero sections get explicit top padding to push content down */
section.hero {
    padding-top: 200px !important; /* Force content below header */
}
@media (max-width: 768px) {
    .home section.hero {
        padding-top: 100px !important;
        min-height: auto !important;
    }
}

/* 4. Fix Sub-Page Hero Heights on Mobile */
@media (max-width: 768px) {
    .hero.sub-page {
        height: auto; /* Allow content to dictate height + padding */
        min-height: 250px;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    /* Ensure hero content (Titles) don't overflow */
    .hero-content h1 {
        word-wrap: break-word;
        overflow-wrap: break-word; /* Break long words if needed */
        font-size: 2.2rem; /* Keep it manageable */
    }
}



/* === FINAL HEADER LAYOUT & MOBILE MENU FIXES === */

/* 1. Header Flex Layout (Fixing the burger alignment) */
header .container nav {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Burger right */
    align-items: center;
}

/* Ensure Nav Links don't interfere with potential space calculation on mobile */
@media (max-width: 992px) {
    .nav-links {
        width: 100%; /* When absolute, take full width */
    }
}

/* 2. Submenu Toggle Logic for Mobile */
/* When the parent 'Materials' link is clicked (href='#'), we need a class to show the menu */
nav ul li.dropdown.is-open > ul.dropdown-menu {
    display: block !important;
    position: static; /* Stack naturally on mobile */
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding-left: 20px; /* Indent for hierarchy */
    background: transparent;
    width: 100%;
}

/* 3. Materials Home Link Styling */
.dropdown-menu li a[href*='/materials/'] {
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid var(--accent-color);
}

/* 4. Home Page Hero Content Spacing (Fixing the Blocked Text) */
/* Targeted specifically at the front-page hero content wrapper */
.home .hero-content {
    padding-top: 0; /* Controlled by hero padding-top instead */
}

/* 5. Mobile Menu Button Formatting */
/* Only apply flex display on mobile devices */
@media (max-width: 992px) {
    .mobile-menu-btn {
        margin-left: auto; /* Force right */
        display: flex; /* Flex container */
        flex-direction: column; /* Stack bars vertically */
        justify-content: space-between; /* Spread them out */
        width: 30px; /* Explicit width */
        height: 22px; /* Explicit height ensures spacing works */
    }
}
/* Ensure it is hidden on desktop */
@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none !important;
    }
}



/* === CRITICAL HEADER BLOCK FIX === */
/* Force all pages to start their background hero content lower */
.hero.sub-page {
    /* 140px ensures it clears the 100-120px header + some breathing room */
    padding-top: 200px !important; 
    align-items: flex-start !important; /* Stop centering, start from top */
    height: auto !important; /* letting padding dictate size + min-height */
    min-height: 50vh; 
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .hero.sub-page {
        padding-top: 160px !important; /* Even more safe space on mobile */
    }
}


/* ===== MERGED FROM additional.css ===== */
.hero h3 {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 2rem;

        padding: 6px 14px;
        background: rgba(15, 23, 42, 0.65);
        color: #e5e7eb;

        letter-spacing: 3px;
        font-weight: 500;

        border-radius: 4px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(1px);
}

header nav .nav-links > li > a {
        font-size: 25px !important;
}

header nav .nav-links > li.dropdown .dropdown-link {
    font-size: 25px !important;
}
@media (max-width: 768px) {
        .hero {
                background-repeat: no-repeat;
                background-size: cover;
                background-position: 55% center;
        }
}
@media (max-width: 768px) {
    /* Stop the next section from overlapping the hero on mobile */
    .clip-top {
        margin-top: 0 !important;
    }

    /* Combined clip sections need a slight pull-up even on mobile */
    .clip-top.clip-bot {
        margin-top: -20px !important;
    }

    /* Materials categories needs its own pull-up on mobile */
    .home .materials-categories.clip-top {
        margin-top: -60px !important;
    }

    /* Then add the gap you want */
    .hero {
        margin-bottom: 0px !important;
    }
}
/* WHAT WE DO stats grid fixes */
.stats-grid {
    align-items: start; /* prevents weird vertical centering */
    gap: 30px !important; /* ensure your intended gap wins */
}

/* Force logo to occupy full row (both columns) */
.stats-logo-wrap {
    grid-column: 1 / -1 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px; /* space under logo before stat cards */
}

/* Make logo bigger + centered */
.stats-logo {
    width: 100%;
    max-width: 420px; /* increase/decrease to taste */
    height: auto;
    display: block;
}

/* Make sure the two stat cards sit side-by-side on the row under the logo */
.stats-grid > .stat-item.card:nth-of-type(1),
.stats-grid > .stat-item.card:nth-of-type(2) {
    grid-column: auto;
}

/* Optional: tiny nudge down if you want more drop under the logo */
.stats-grid > .stat-item.card {
    margin-top: 0;
}
/* Reduce space below WHAT WE DO section (targeted — not all diagonal-box) */
.what-we-do-section {
        padding-bottom: calc(var(--section-spacing) - 60px);
}
/* Add space above the "What We Do" heading on the homepage */
.home section.diagonal-box h2 {
    margin-top: 10px !important;
}
/* Add space below the GS-100 Flexible Road Base section */
.home .diagonal-box:has(a[href*="gs-100"]) {
    padding-bottom: calc(var(--section-spacing) + 200px);
}
/* Force GS-100 image to be a square box (override everything) */
.gs100-media {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;   /* square */
    height: 0 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.gs100-media .gs100-img {
    position: absolute !important;
    inset: 0 !important;            /* top:0 right:0 bottom:0 left:0 */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;   /* crop */
    display: block !important;
    max-width: none !important;
}
.gs100-media .gs100-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
border-radius: 15px;
    transform: scale(0.9); /* 👈 makes image ~10% smaller */
transform: scale(0.9) translateY(-30px);
}
.gs100-section .grid-2 {
    align-items: flex-start;
}

/* Fine-tune GS-100 image crop position */
.gs100-media .gs100-img {
    object-position: 50% 50%;  /* shift image slightly left */
}
/* GS-100 background: stronger overlay (image less visible) + slightly zoomed out */
.gs100-bg {
    background-image:
        linear-gradient(
            rgba(15, 23, 42, 0.95),
            rgba(15, 23, 42, 0.95)
        ),
        url("https://gulfstatesmaterials.wpcomstaging.com/wp-content/uploads/2026/02/Untitled-design-8.jpg") !important;

    background-size: 100% !important;      /* shows a bit more of the image */
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Keep content above */
.gs100-bg > .container {
    position: relative;
    z-index: 2;
}
/* GS-100 background stays fixed while you scroll (parallax effect) */
.gs100-bg {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 112% !important;
}
/* Materials Categories: clip-top matches GS-100 clip-bot slope for seamless transition */
.home .materials-categories {
    position: relative;
    z-index: 11;
    padding-bottom: 30px !important;
}

/* Override the generic clip-top for materials — match GS-100 bottom clip (12% slope) */
.home .materials-categories.clip-top {
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(var(--section-spacing) + 60px);
    margin-top: -160px;
}

/* Mobile: match the shallower mobile GS-100 bottom clip (4% slope) */
@media (max-width: 768px) {
    .home .materials-categories.clip-top {
        clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
        margin-top: -60px;
        padding-top: 60px;
    }
}

/* Move content up INSIDE the Service Area section (no overlap with section above) */
.home .service-area-section .container {
    padding-top: 0 !important;
    margin-top: 0;              /* no pull-up — let content breathe */
    padding-bottom: 40px;       /* tighter bottom after map/text */
}

/* Service Area: reduce clip-bot's massive bottom padding */
.home .service-area-section.clip-bot {
    padding-bottom: 100px !important;
    padding-top: 50px !important;
}
/* Move only the "Where We Serve" label down */
.home .service-area-section div[style*="padding-left: 20px"] > span:first-child {
    display: inline-block;
    transform: translateY(0);
    margin-bottom: 8px;
}
/* Move ONLY the "Our Flagship Material" label down */
.home .gs100-section span:first-child {
    display: inline-block;
    transform: translateY(15px);
}
/* GS-100 section container — keep content clear of the top clip edge */
.home .gs100-section .container {
    transform: translateY(0);
}
/* Service Area map should fill left column */
.home .service-area-section .service-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 5px solid var(--primary-dark);
}

/* iframe fills container */
.home .service-area-section .service-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}



/* Ensure grid columns match height */
.home .service-area-section .grid-2 {
    align-items: stretch;
}
/* Slightly reduce Service Area map size without affecting layout */
.home .service-area-section .service-map {
    max-width: 92%;
    margin: 0 auto;
}
/* Move ALL content up inside the Why Choose Us section */
.home .why-choose-section {
    padding-top: 50px !important; /* 150 - 45 */
padding-bottom: 85px
}
/* GS-100 action buttons spacing */
.gs100-actions {
    display: flex;
    gap: 20px;
}
@media (max-width: 768px) {
    .home .what-we-do-section .stats-grid {
        display: none !important;
    }
}
/* WHAT WE DO: make text span full width on mobile */
@media (max-width: 768px) {

    /* Turn the main grid into a single column */
    .home .what-we-do-section .grid-2.animate-on-scroll {
        display: block !important;
    }

    /* Make the text column full width */
    .home .what-we-do-section .grid-2.animate-on-scroll > div:first-child {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure no leftover grid constraints */
    .home .what-we-do-section .grid-2.animate-on-scroll > div {
        grid-column: 1 / -1 !important;
    }
}
.page-template-page-about .about-company-inner{
    transform: translateY(-60px);
}
.page-template-page-about .about-differentiator-section{
    padding-top: 160px;
    padding-bottom: 80px;
}
.page-template-page-about .about-differentiator-image{
    border-radius: 12px; /* slightly more rounded */
    border: 3px solid var(--accent-color); /* orange border */
}
.page-template-page-about .about-differentiator-image-wrapper{
    text-align: left; /* change to center if you prefer */
}

.page-template-page-about .about-differentiator-caption{
    margin-top: 12px;
    font-size: 0.95rem;
    color: #cbd5e1; /* matches your muted dark-section text */
    letter-spacing: 1px;
}
.page-template-page-about .about-differentiator-inner{
    transform: translateY(20px);
}
/* About page – Facilities section content adjustment */
.page-template-page-about .about-facilities-inner{
    transform: translateY(-50px);
}
/* About page – Customer Commitment section */
.page-template-page-about .about-commitment-inner{
    transform: translateY(-50px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.footer-copyright{
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-credit{
    font-weight: 700;
    margin-left: 8px;
}

.footer-credit a{
    color: inherit;
    text-decoration: none;
}

.footer-credit a:hover{
    color: var(--accent-color);
}
/* Footer mobile simplification */
@media (max-width: 768px){

    /* Hide Materials and Company columns */
    .footer-grid .footer-col:nth-child(2),
    .footer-grid .footer-col:nth-child(3){
        display: none;
    }

    /* Keep layout clean */
    .footer-grid{
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Let the remaining sections breathe */
    .footer-grid .footer-col{
        width: 100%;
    }

    /* Optional: center contact content */
    .footer-grid .footer-col:last-child{
        text-align: center;
    }

    .footer-grid .footer-col:last-child h4::after{
        left: 50%;
        transform: translateX(-50%);
    }
}
/* ===== Mobile footer: tighter top, centered, clean stack ===== */
@media (max-width: 768px){

    /* Reduce space ABOVE the footer without squashing the footer itself */
    footer{
        padding-top: 55px;  /* desktop is 100px; this is tighter but not weird */
        padding-bottom: 30px;
    }

    /* Stack footer columns on mobile */
    .footer-grid{
        grid-template-columns: 1fr;
        gap: 14px; /* tighter vertical rhythm */
        text-align: center;
    }

    /* Hide Materials + Company on mobile (keep Brand + Contact only) */
    .footer-grid .footer-col:nth-child(2),
    .footer-grid .footer-col:nth-child(3){
        display: none;
    }

    /* Kill the inline padding-right on the brand column */
    .footer-grid .footer-col:first-child{
        padding-right: 0 !important;
    }

    /* Tighten the inline logo margin on mobile */
    .footer-grid .footer-col:first-child .logo{
        margin-bottom: 12px !important;
    }

    /* Center headings and underline accent */
    .footer-col h4{
        display: inline-block;
        margin-bottom: 10px;
    }
    .footer-col h4::after{
        left: 50%;
        transform: translateX(-50%);
    }

    /* Tighten list spacing */
    .footer-col ul li{
        margin-bottom: 6px;
    }

    /* Make contact links easier to tap */
    .footer-col a{
        display: inline-block;
        padding: 4px 0;
    }

    /* Copyright block spacing */
    .footer-copyright{
        margin-top: 18px;
        padding-top: 12px;
        text-align: center;
    }

    /* Credit sits nicely on a new line */
    .footer-credit{
        display: block;
        margin-top: 6px;
        font-weight: 700;
    }
}
/* Center GS-100 logo on mobile */
@media (max-width: 768px){

    .footer-col .logo{
        display: block;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}
/* Hide service area map on mobile */
@media (max-width: 768px){
    .service-area-section .grid-2 > div:first-child{
        display: none;
    }
}
/* Move Service Area section down 10px on mobile */
@media (max-width: 768px){
    .service-area-section{
        transform: translateY(30px);
    }
}
/* Materials dropdown toggle button */
.dropdown{
    position: relative;
}

.dropdown-toggle{
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
}

.dropdown-toggle i{
    transition: transform 0.2s ease;
}

.dropdown-trigger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dropdown-trigger > .dropdown-link{
    position: relative;
    z-index: 2;
}

.dropdown-trigger > .dropdown-toggle{
    position: relative;
    z-index: 3;
    margin-left: 6px;
}

@media (min-width: 993px){
    .nav-links > li.dropdown > .dropdown-trigger > .dropdown-toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 992px){
    .nav-links.active,
    .nav-links.open{
        max-height: calc(100dvh - 82px) !important;
        overflow-y: auto !important;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-links.active::-webkit-scrollbar,
    .nav-links.open::-webkit-scrollbar{
        display: none;
    }

    .nav-links > li.dropdown{
        display: block;
        position: relative;
        text-align: center;
    }

    .nav-links > li.dropdown > .dropdown-trigger{
        display: inline-grid;
        grid-template-columns: 16px auto 16px;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .nav-links > li.dropdown > .dropdown-trigger::before{
        content: '';
        width: 16px;
        height: 1px;
    }

    .nav-links > li.dropdown > .dropdown-trigger > .dropdown-link{
        display: inline-block;
        grid-column: 2;
        width: auto;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-links > li.dropdown > .dropdown-trigger > .dropdown-toggle{
        grid-column: 3;
        position: static;
        transform: none;
        width: auto;
        height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .nav-links > li.dropdown.open > .dropdown-menu{
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links > li.dropdown > .dropdown-menu{
        max-height: none;
        overflow: visible;
        margin-top: 8px;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        display: none !important;
    }

    .nav-links > li.dropdown.open > .dropdown-menu li{
        margin: 0;
    }

    .nav-links > li.dropdown.open > .dropdown-menu li a{
        display: block;
        text-align: center;
        padding: 10px 0 !important;
        border-bottom: none !important;
        background: transparent !important;
    }

    .nav-links > li.dropdown.open > .dropdown-menu li a:hover{
        background: transparent !important;
        padding-left: 0 !important;
    }
}
/* About page: hero background position – show bottom of image (machine) */
.page-template-page-about .hero.sub-page {
    background-position: center 85% !important;
}
/* About page: shorten hero on mobile */
@media (max-width: 768px){
    .page-template-page-about .hero.sub-page{
        height: auto !important;
        min-height: 260px !important;   /* adjust: 220–320 depending on taste */
        padding-top: 120px !important;  /* clears fixed header */
        padding-bottom: 70px !important;
        align-items: flex-start !important;
    }

    .page-template-page-about .hero.sub-page .hero-content p{
        margin-bottom: 0; /* prevents extra vertical stretch */
    }
}
/* About page – move Company Overview content down 10px (mobile only) */
@media (max-width: 768px){
    .page-template-page-about .diagonal-box .grid-2{
        transform: translateY(10px);
    }
}
/* About page: "What Makes GS-100 Different" section mobile tweaks */
@media (max-width: 768px){

    /* Move ALL content inside up by 30px (won't conflict with transforms) */
    .page-template-page-about .about-differentiator-inner{
        position: relative;
        top: -30px;
    }
}
@media (max-width: 768px){
    .page-template-page-about .about-differentiator-section{
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
}
/* About page – tighten Facilities & Distribution spacing on mobile */
@media (max-width: 768px){

    .page-template-page-about 
    .diagonal-box.bg-light 
    .grid-2{
        gap: 0px !important;   /* reduce from 80px */
    }
}
/* About page – reduce bottom padding on Facilities section (mobile only) */
@media (max-width: 768px){

    .page-template-page-about 
    .diagonal-box.bg-light{
        padding-bottom: 0px !important;  /* adjust lower if needed */
    }
}
/* About page – move Commitment content down 20px (mobile only) */
@media (max-width: 768px){

    .page-template-page-about 
    .about-commitment-section 
    .container{
        position: relative;
        top: 30px;
    }
}
/* Materials page – tighten intro heading spacing */
.materials-intro h2{
        margin-top: -50px;
        margin-bottom: -40px;
}

.materials-intro{
        margin-bottom: 40px; /* reduced from 60px */
}
/* Materials page – make hero subtext full width */
.materials-hero .hero-content p{
        max-width: 110% !important;
        width: 150%;
}
.cat1,
.cat2 {
        margin-top: -20px;
}
.mainsec {
        padding-bottom: 120px;
}
/* Materials hero: +20% height */
.hero.sub-page.materials-hero{
    min-height: 71vh !important;  /* 60vh * 1.2 = 72vh */
}
/* MOBILE – Materials Hero Adjustments */
@media (max-width: 768px) {

    /* 2. Make text span full width */
    .hero.sub-page.materials-hero .hero-content {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}
/* MOBILE: Materials hero — shorter + full-width text */
@media (max-width: 768px){

    /* Beat the strong .hero.sub-page + .clip-bot rules */
    section.hero.sub-page.materials-hero{
        height: auto !important;
        min-height: 42vh !important;     /* shorter hero */
        padding-top: 110px !important;   /* reduce top padding */
        padding-bottom: 30px !important; /* reduce bottom padding */
        align-items: flex-start !important;
    }

    /* clip-bot is adding a huge bottom padding; override it */
    section.hero.sub-page.materials-hero.clip-bot{
        padding-bottom: 30px !important;
    }

    /* Remove width constraints so text can span the full container width */
    section.hero.sub-page.materials-hero .hero-content{
        max-width: none !important;
        width: 100% !important;
    }

    section.hero.sub-page.materials-hero .hero-content p{
        max-width: none !important;
        width: 100% !important;
    }
}
@media (max-width: 768px){

    section.hero.sub-page.materials-hero{
        height: auto !important;
        min-height: 45vh !important;     /* slightly taller */
        padding-top: 110px !important;
        padding-bottom: 60px !important; /* add more space below */
    }

    section.hero.sub-page.materials-hero.clip-bot{
        padding-bottom: 65px !important;
    }
}
@media (max-width: 768px){

    .mainsec{
        margin-top: 20px !important;
    }

}
@media (max-width: 768px){

    /* Stack layout */
    .materials-gs100-feature .grid-2{
        grid-template-columns: 1fr !important;
    }

    /* Remove heavy desktop padding */
    .materials-gs100-feature .grid-2 > div:first-child{
        padding: 30px 20px !important;   /* balanced left/right padding */
    }

    /* Make text full width but controlled */
    .materials-gs100-feature p,
    .materials-gs100-feature h2,
    .materials-gs100-feature span{
        max-width: 100% !important;
        width: 100% !important;
    }

}
.maincontent {
        padding-bottom: 150px;
}
.servarea .container {
        transform: translateY(-80px);
}
.addnotes .container {
        transform: translateY(-30px);
}

/* Contact page desktop: tighten Service Area section height */
@media (min-width: 769px) {
    .page-template-page-contact .servarea {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .page-template-page-contact .servarea .container {
        transform: none;
    }
}

/* Contact page: hero – match About page hero exactly */
.page-template-page-contact .hero.sub-page {
    background-position: center 85% !important;
    padding-bottom: calc(var(--section-spacing) + 50px) !important;
}

/* Contact page: pull content up closer to hero */
.page-template-page-contact .maincontent .container {
    transform: translateY(-60px);
}

/* Contact page: shorten hero on mobile (matches About page) */
@media (max-width: 768px){
    .page-template-page-contact .hero.sub-page{
        height: auto !important;
        min-height: 260px !important;
        padding-top: 120px !important;
        padding-bottom: 70px !important;
        align-items: flex-start !important;
    }

    .page-template-page-contact .hero.sub-page .hero-content p{
        margin-bottom: 0;
    }

    /* Close the gap between hero and content on mobile */
    .page-template-page-contact .maincontent {
        margin-top: 0 !important;
        padding-top: 40px !important;
    }

    /* Cancel desktop pull-up so text doesn't crowd header */
    .page-template-page-contact .maincontent .container {
        transform: none;
    }
}
/* MOBILE – Reduce bottom padding of main contact */
@media (max-width: 768px){

    .maincontent{
        padding-bottom: 60px !important;
    }

    /* Stack contact form grid fields on mobile */
    .page-template-page-contact .maincontent .grid-2 > div:last-child div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Tighter form spacing */
    .page-template-page-contact .maincontent .grid-2 > div:last-child {
        padding: 20px !important;
        border-radius: 8px !important;
    }

    /* Form labels smaller */
    .page-template-page-contact .maincontent label {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
    }

    /* Form inputs consistent */
    .page-template-page-contact .maincontent input,
    .page-template-page-contact .maincontent textarea {
        padding: 10px 12px !important;
        font-size: 0.95rem !important;
    }

    /* Form heading tighter */
    .page-template-page-contact .maincontent .grid-2 > div:last-child h3 {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
    }

    /* Reduce spacing between form groups */
    .page-template-page-contact .maincontent .grid-2 > div:last-child div[style*="margin-bottom: 20px"],
    .page-template-page-contact .maincontent .grid-2 > div:last-child div[style*="margin-bottom: 30px"] {
        margin-bottom: 12px !important;
    }

}
@media (max-width: 768px){
    .servarea .container {
            transform: translateY(0px);
    }
}
/* MOBILE – Add bottom padding to Service Area section */
@media (max-width: 768px){

    .servarea{
        padding-bottom: 100px !important;
    }
}
/* MOBILE – Add bottom padding to top Additional Notes */
@media (max-width: 768px){

    .addnotes{
        padding-top: 100px !important;
    }
}
/* MOBILE – Add bottom padding to top Additional Notes */
@media (max-width: 768px){

    .addnotes{
        padding-bottom: 20px !important;
    }
}

/* Button hover contrast fix (prevents orange text on orange hover) */
.btn:hover {
        color: var(--white) !important;
}

.btn.btn-outline:hover {
        color: var(--primary-dark) !important;
}

/* Desktop home hero – slight downward bias so header doesn't overlap */
@media (min-width: 769px) {
    .home .hero {
        align-items: center !important;
        padding-top: 120px !important;
        padding-bottom: 80px !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-attachment: fixed !important;
    }

    .home .gs100-bg {
        background-attachment: fixed !important;
    }
}

/* ===== Migrated from additional.css ===== */
/* Move ALL content inside the Product Overview section up 15px */
.prodoverview .container {
    transform: translateY(-70px);
}

/* Hide default icon */
.prodoverview .feature-list li i {
    display: none;
}

/* Industrial-style check box */
.prodoverview .feature-list li {
    position: relative;
    padding-left: 42px !important;
}

.prodoverview .feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: #ea580c;
    background: #ffffff;
    border: 3px solid #ea580c;
    border-radius: 0;
}

.prodoverview {
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    section.hero.sub-page.ccbhero {
        min-height: 0 !important;
        height: auto !important;
    }

    section.prodoverview {
        margin-top: 50px !important;
    }

    section.prodoverview,
    section.prodoverview .container,
    section.prodoverview.diagonal-box,
    section.prodoverview .grid-2 {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    section.prodoverview .grid-2 > div:last-child,
    section.prodoverview .grid-2 > div:last-child > *:last-child,
    section.prodoverview .grid-2 > div:first-child > *:last-child,
    section.prodoverview p:last-child,
    section.prodoverview ul:last-child,
    section.prodoverview .card:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .ccbhero.hero.sub-page {
        padding-top: 90px !important;
        padding-bottom: 20px !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .ccbhero .container,
    .ccbhero .hero-content {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .ccbhero .hero-content p {
        margin-bottom: 0 !important;
    }

    .ccbhero .hero-content a {
        margin-bottom: 12px !important;
    }

    .ccbhero .hero-content h1 {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 768px) {
    section.hero.sub-page.ccbhero {
        min-height: 38vh !important;
        height: auto !important;
        padding-top: 105px !important;
        padding-bottom: 28px !important;
        align-items: flex-start !important;
    }
    section.hero.sub-page.ccbhero.clip-bot {
        padding-bottom: 40px !important;
    }

    section.hero.sub-page.ccbhero .hero-content p {
        margin-bottom: 0 !important;
    }
}

/* Reduce space between hero and maincontent */
.maincontent {
    margin-top: -150px !important;
}

/* === HERO BACKGROUND CONSISTENCY OVERRIDES === */
/* Keep all hero images fixed across pages (home, about, contact, materials, product pages) */
.hero,
.hero.sub-page,
.home .hero,
.materials-hero {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.contact-hero {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Keep large home GS-100 background consistent too */
.gs100-bg {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* iOS Safari / touch fallback: fixed background attachments can fail to render */
@supports (-webkit-touch-callout: none) {
    .hero,
    .hero.sub-page,
    .home .hero,
    .materials-hero,
    .gs100-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    .contact-hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .hero,
    .hero.sub-page,
    .home .hero,
    .materials-hero,
    .contact-hero,
    .gs100-bg {
        background-attachment: scroll !important;
    }
}
/* Default = Desktop */
.hero-call-mobile{
  display: none;
}
.hero-call-desktop{
  display: inline;
}

/* Mobile behavior */
@media (max-width: 768px){

  .hero-call-desktop{
    display: none;
  }

  .hero-call-mobile{
    display: inline;
  }

  .hero-call-bar{
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
  }

  .hero-call-number{
    font-size: 1.2rem; /* optional: slightly larger for tap clarity */
    border-bottom: none;
  }
}

/* Spec sheet mini download button */
.spec-download-btn{
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.spec-download-btn:hover{
    background: var(--accent-hover);
    transform: translateY(-2px);
}
/* CCB hero: move background down */
section.hero.sub-page.ccbhero{
  background-position: center 70% !important; /* 50% is center, 70% pushes image down */
}
.gs-image-card{
    background: var(--white);
    padding: 0;
}

.gs-image{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 3px solid var(--primary-dark); /* dark blue */
    box-shadow: var(--card-shadow);
}

.gs-image-caption{
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}
/* Mobile Sales Contacts (between Hero and What We Do) */
.mobile-sales-contacts{
  display: none;                 /* hidden by default (desktop/tablet) */
  padding: 18px 0 40px;          /* 👈 extra space at bottom */
  background: transparent;
  position: relative;
  z-index: 30;
}

/* Mobile-only */
@media (max-width: 768px){
  .mobile-sales-contacts{
    display: block;
                                                                                                                                padding-top: 10px;
                                                                                                                                padding-bottom: 48px;
  }

    .home .mobile-sales-contacts{
        margin-top: -28px;
    }

        .home .mobile-sales-contacts .container{
                transform: none !important;
        }

        .home .mobile-sales-contacts .msc-card{
                transform: none !important;
    }

  /* Prevent the next section from pulling up over it */
  .what-we-do-section{
    margin-top: 0 !important;
  }
}

.mobile-sales-contacts .msc-card{
  background: var(--bg-surface);
  border: 2px solid var(--primary-dark);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--card-shadow);
}

.mobile-sales-contacts .msc-header{
  margin-bottom: 18px;
}

.mobile-sales-contacts .msc-kicker{
  display: inline-block;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--primary-light);
}

.mobile-sales-contacts .msc-title{
  margin: 6px 0 0;
  color: var(--primary-dark);
  font-size: 1.6rem;
}

.mobile-sales-contacts .msc-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mobile-sales-contacts .msc-person{
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
}

.mobile-sales-contacts .msc-name{
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin: 0 0 2px;
}

.mobile-sales-contacts .msc-role{
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mobile-sales-contacts .msc-sub{
  margin: 2px 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Buttons: full-width single column (since you removed texting option) */
.mobile-sales-contacts .msc-actions{
  display: block;
}

.mobile-sales-contacts .msc-btn{
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 8px;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.mobile-sales-contacts .msc-btn:hover{
  background: var(--accent-hover);
  color: #fff;
}

/* Optional note text */
.mobile-sales-contacts .msc-note{
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
@media (max-width: 768px){

  .hero .hero-content p{
    max-width: 100%;
  }

  .hero .hero-content{
    padding-left: 10px;
    padding-right: 10px;
  }

}
@media (max-width: 768px){
  .home .what-we-do-section h2{
    font-size: 2.3rem;  /* adjust to taste */
  }
}
@media (min-width: 992px) {
    .site-header .logo {
        font-size: 2.5rem;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .site-header .logo {
        font-size: 2.1rem;
    }
}
@media (max-width: 991px) {
    .site-header .logo {
        font-size: 1.8rem; /* adjust as needed */
        line-height: 1.1;
    }
}

/* ===== Migrated from additional.css ===== */
/* GS-100 image: stop vertical shifting + add breathing room (mobile) */
@media (max-width: 768px) {
  section.gs100-section .gs100-media {
    margin-top: 24px !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }

  section.gs100-section img.gs100-img {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }
}
/* Add more spacing below GS-100 title on mobile */
@media (max-width: 768px) {
  section.gs100-section .section-title {
    margin-bottom: 10px !important;
  }
}

/* ===== Language Toggle Button ===== */
.lang-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: var(--accent-color, #ea580c);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
    background: var(--primary-dark, #0f172a);
    border-color: rgba(255, 255, 255, 0.4);
}
.lang-toggle-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    pointer-events: none;
}

/* Hide Google Translate top bar & branding */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
html.translated-ltr body { top: 0 !important; }
.skiptranslate { display: none !important; }

/* Global <font> neutralizer — even after translated-ltr is removed.
   Google Translate may leave orphaned <font> tags in the DOM. */
font {
    display: inline !important;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    line-height: inherit;
    vertical-align: baseline;
}

/* ===========================================================
   TRANSLATED-STATE FIXES  (html.translated-ltr)
   Google Translate wraps every text node in <font> tags,
   which breaks flex layouts, stacking contexts, and
   pseudo-element effects. These rules neutralize that.
   =========================================================== */

/* ---- 1. Neutralize <font> tags globally ---- */
html.translated-ltr font {
    display: inline !important;
    box-sizing: border-box;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    line-height: inherit;
}

/* ---- 2. BUTTONS — the #1 breakage source ---- */
/* The ::before (hover sweep) and ::after (shine) use z-index:-1
   which pokes through when <font> creates a new stacking context.
   Fix: disable pseudo-element effects entirely when translated,
   use a simple background-color transition instead. */
html.translated-ltr .btn,
html.translated-ltr .btn-outline,
html.translated-ltr .btn-mobile {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    height: auto;
    min-width: 0;
    overflow: hidden;     /* keep shape clean */
    isolation: isolate;   /* contain stacking context */
}

html.translated-ltr .btn::before,
html.translated-ltr .btn::after {
    display: none !important;   /* kill sweep + shine effects */
}
html.translated-ltr .btn:hover {
    background-color: var(--accent-hover);   /* simple color change instead */
}

/* Outline variant */
html.translated-ltr .btn-outline::before,
html.translated-ltr .btn-outline::after {
    display: none !important;
}

/* ---- 3. HEADER / NAV ---- */
/* Prevent <font> tags from becoming flex children in nav */
html.translated-ltr .site-header nav,
html.translated-ltr .site-nav {
    flex-wrap: nowrap;
}
html.translated-ltr .nav-links {
    gap: 20px;
}
html.translated-ltr .nav-links > li > a,
html.translated-ltr .nav-links > li .dropdown-link {
    white-space: nowrap;
}
html.translated-ltr .site-header .btn.desktop-only {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: clamp(0.85rem, 1.2vw, 1.3rem);
}
/* Logo — keep on one line */
html.translated-ltr .logo {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- 4. HERO SECTION ---- */
/* HOME hero needs to be taller in Spanish to fit the longer heading + buttons.
   Sub-page heroes keep their normal 60vh size. */
html.translated-ltr .home .hero {
    min-height: 100vh;
    height: auto !important;
    padding-top: 220px;
}
html.translated-ltr .home .hero.clip-bot {
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    padding-bottom: calc(var(--section-spacing) + 160px);
}
/* Sub-page heroes — keep compact, just add word-wrap safety */
html.translated-ltr .hero.sub-page {
    height: 60vh;
    min-height: 400px;
}
html.translated-ltr .hero-content h1 {
    line-height: 1.08;
    word-break: break-word;
    overflow-wrap: break-word;
}
html.translated-ltr .hero-content p {
    word-break: break-word;
    overflow-wrap: break-word;
}
html.translated-ltr .home .hero-btn-container {
    position: relative;
    z-index: 5;
    margin-bottom: 40px;
}

/* ---- 5. CARDS & GRIDS ---- */
html.translated-ltr .card {
    overflow: visible;
    height: auto;
}
html.translated-ltr .card h3,
html.translated-ltr .card p {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---- 6. FOOTER ---- */
html.translated-ltr .footer-col h4,
html.translated-ltr .footer-col a,
html.translated-ltr .footer-col li {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---- 7. PRODUCT PAGES ---- */
html.translated-ltr .feature-list li,
html.translated-ltr .prodoverview h2,
html.translated-ltr table td,
html.translated-ltr table th {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---- 8. MOBILE-SPECIFIC TRANSLATED FIXES ---- */
@media (max-width: 768px) {
    html.translated-ltr .home .hero {
        padding-top: 180px;
    }
    html.translated-ltr .home .hero.clip-bot {
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
        padding-bottom: 280px !important;
    }
    html.translated-ltr .hero-btn-container {
        flex-direction: column;
    }
}

/* ============================================================
   HOME PAGE – MOBILE SPACING AUDIT FIXES
   Consolidated overrides for consistent section spacing on mobile.
   ============================================================ */
@media (max-width: 768px){

    /* 1. What We Do: more breathing room from hero (inline was 25px) */
    .home .what-we-do-section {
        padding-top: 45px !important;
        padding-bottom: 30px !important;
    }

    /* 2. GS-100: kill absurd 320px bottom padding from desktop :has() rule */
    .home .gs100-section {
        padding-bottom: 80px !important;
    }

    /* 3. GS-100: tighter internal spacing */
    .home .gs100-section.clip-top.clip-bot {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }

    /* 4. GS-100 "Our Flagship Material" label: remove desktop push-down */
    .home .gs100-section .section-title span:first-child {
        transform: none !important;
    }

    /* 5. Service Area: remove the 30px downward shift (map hidden on mobile) */
    .home .service-area-section {
        transform: none !important;
    }

    /* 6. Service Area: container pull-up not needed when map is hidden */
    .home .service-area-section .container {
        margin-top: 0 !important;
        padding-bottom: 24px !important;
    }

    /* 7. Service Area: stop "Where We Serve" label smooshing into heading */
    .home .service-area-section div[style*="padding-left"] > span:first-child {
        transform: none !important;
        margin-bottom: 6px;
    }

    /* 8. Service Area: remove left padding on stacked text column */
    .home .service-area-section div[style*="padding-left"] {
        padding-left: 0 !important;
    }

    /* 9. Why Choose Us: tighten vertical spacing for mobile */
    .home .why-choose-section {
        margin-top: -30px !important;
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }

    /* 10. CTA section: proportional sizing on mobile */
    .home .why-choose-section + section {
        padding: 50px 20px !important;
    }
    .home .why-choose-section + section h2 {
        font-size: 2rem !important;
    }

    /* 11. Home "Our Materials" – reduce bottom whitespace */
    .home .materials-categories {
        padding-bottom: 30px !important;
    }
    .home .materials-categories .text-center.mt-2 {
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
    }

    /* 12. Materials page – push overview below hero */
    .mainsec {
        margin-top: 20px !important;
        padding-top: 30px !important;
        padding-bottom: 60px !important;
    }

    /* 13. Materials page – heading closer since no orange kicker above it */
    .materials-intro h2 {
        margin-top: -20px !important;
        margin-bottom: 10px !important;
    }

    /* 14b. Materials page – close gap between heading and body text */
    .materials-intro {
        margin-bottom: 10px !important;
    }

    /* 14. About page – stop company overview from pulling up into hero */
    .page-template-page-about .about-company-inner {
        transform: none !important;
    }
    .page-template-page-about .about-company-section {
        padding-top: 40px !important;
    }
}
/* GS-100 section: reduce vertical padding (desktop/tablet) */
.home section.gs100-section.clip-top.clip-bot{
  padding-top: 110px !important;     /* was 200px */
  padding-bottom: 140px !important;  /* was 300px */
}
/* GS-100 section: reduce vertical padding (mobile) */
@media (max-width: 768px){
  .home section.gs100-section.clip-top.clip-bot{
    padding-top: 120px !important;     /* was 80px */
    padding-bottom: 150px !important;  /* was 140px */
  }
}
/* Slightly smaller header logo text on mobile */
@media (max-width: 768px) {
  .site-header .logo {
    font-size: 1.5em;
  }
}
/* Make hero heading wider on desktop */
@media (min-width: 1024px) {
  .hero h1 .text-gradient {
    display: inline-block;
    min-width: 1500px; /* adjust as needed */
  }
}
.hero-product-list {
  margin-top: 30px;

  /* Align with hero content */
  text-align: left;

  /* Layout */
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;

  /* Typography */
  font-weight: 900;
font-size: 24px;
letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
}

/* Spacing between items */
.hero-product-list span {
  display: inline-flex;
  align-items: center;
}

/* Circle divider */
.hero-product-list span:not(:last-child)::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 28px;
  border-radius: 50%;
  background-color: #f97316; /* accent */
}
/* ===== MOBILE ONLY: checkmark list ===== */
@media (max-width: 768px) {

  .hero-product-list {
    flex-direction: column;
    align-items: flex-start;   /* align with headline */
    gap: 4px;                  /* tighter vertical spacing */
    white-space: normal;
    font-size: 16px;
    font-weight: 800;
  }

  /* Remove desktop circles */
  .hero-product-list span::after {
    display: none !important;
    content: none;
  }

  /* Add checkmarks */
  .hero-product-list span {
    position: relative;
    padding-left: 22px;
    line-height: 1.2;
  }

  .hero-product-list span::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316; /* GSM accent */
    font-weight: 900;
  }
}
/* Desktop only */
@media (min-width: 769px) {

  /* Make CONTACT column wider (works for grid OR flex layouts) */
  .site-footer .footer-col-contact {
    flex: 0 0 38%;
    max-width: 38%;
  }
  /* If your footer is grid-based, this helps too */
  .site-footer .footer-col-contact {
    grid-column: auto;
  }

  /* Put rep info on one line */
  .site-footer .footer-col-contact .footer-rep {
    display: flex;
    align-items: center;
    gap: 0;              /* we'll control spacing with dots */
    margin-top: 14px;
    white-space: nowrap; /* keep it on one line */
  }

  .site-footer .footer-col-contact .footer-rep-name {
    font-weight: 700;
    color: #fff;
  }

  .site-footer .footer-col-contact .footer-rep-email,
  .site-footer .footer-col-contact .footer-rep-phone {
    color: #94a3b8;
    font-weight: 500;
    text-decoration: none;
  }

  /* Orange circle separators */
  .site-footer .footer-col-contact .footer-rep-email::before,
  .site-footer .footer-col-contact .footer-rep-phone::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color);
    display: inline-block;
    margin: 0 12px 2px;
  }

  /* Hide the Spanish note on desktop so the row stays clean */
  .site-footer .footer-col-contact .footer-rep-note {
    display: none;
  }
}

@media (max-width: 768px) {
    html body.home section.hero {
        min-height: 80vh !important;
        padding-bottom: 40px !important;
    }

    html body.home section.hero.clip-bot {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 97.8%, 0 100%) !important;
        clip-path: polygon(0 0, 100% 0, 100% 97.8%, 0 100%) !important;
        padding-bottom: 86px !important;
    }

    html body.home section.diagonal-box.clip-top.materials-categories {
        margin-top: -105px !important;
        padding-top: 42px !important;
        -webkit-clip-path: polygon(0 1.5%, 100% 0, 100% 100%, 0 100%) !important;
        clip-path: polygon(0 1.5%, 100% 0, 100% 100%, 0 100%) !important;
    }

    html body.home section.diagonal-box.clip-top.materials-categories h2 {
        margin-top: 12px !important;
    }

    html body.home section.gs100-section.clip-top.clip-bot {
        padding-top: 102px !important;
    }

    html body.home section.gs100-section .section-title {
        margin-top: -22px !important;
    }

    html body.home section.gs100-section .section-title span:first-child {
        margin-bottom: 2px !important;
    }

    html body.home section.diagonal-box.clip-bot.service-area-section {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 97.5%, 0 100%) !important;
        clip-path: polygon(0 0, 100% 0, 100% 97.5%, 0 100%) !important;
        padding-bottom: 40px !important;
    }
}
/* Base Layout */
.footer-rep {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  white-space: normal;
}

/* Name + Email wrapper (desktop behavior) */
.footer-rep-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* Name styling */
.footer-rep-name {
  font-weight: 600;
  line-height: 1.2;
}

/* Email styling */
.footer-rep-email {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
}

/* Phone + note remain block */
.footer-rep-phone,
.footer-rep-note {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
}

/* ========================= */
/* Mobile Centering Behavior */
/* ========================= */

@media (max-width: 768px) {
  .footer-rep {
    align-items: center;
    text-align: center;
  }

  .footer-rep-header {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}
}

/* small hover affordance, won't change layout */
.footer-rep-email:hover,
.footer-rep-phone:hover {
  text-decoration: underline;
}