/* ============================================
   Weber Concrete Services - Dubuque, Iowa
   Est. 1973 — Built on Hard Work
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary - Dark Slate */
    --primary: #2C3E50;
    --primary-light: #34495E;
    --primary-dark: #1a252f;

    /* Secondary - Steel Blue */
    --secondary: #2d5f8a;
    --secondary-light: #3a7ab5;
    --secondary-dark: #1e4a6e;

    /* Accent - Amber/Gold (family heritage) */
    --accent: #c8882e;
    --accent-light: #daa54a;
    --accent-dark: #a06d1e;

    /* Concrete Tones */
    --concrete-light: #d4d0c8;
    --concrete-mid: #9e9a90;
    --concrete-dark: #4a4740;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #f5f5f0;
    --light-gray: #e8e5de;
    --medium-gray: #7a7670;
    --dark-gray: #3a3832;
    --near-black: #1c1f26;

    /* Functional */
    --success: #2d7a4f;
    --error: #c0392b;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 64px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--secondary-light); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utilities --- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 90px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--near-black); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--primary { background: var(--primary); color: var(--white); }
.section--primary h2, .section--primary h3 { color: var(--white); }

.text-center { text-align: center; }

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

.section--dark .section-subtitle { color: var(--concrete-light); }

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn--outline-dark:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--small { padding: 10px 20px; font-size: 0.85rem; }

/* --- Header --- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #111;
    height: var(--header-height);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header--scrolled {
    height: var(--header-height-scrolled);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    background: #0a0a0a;
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo img {
    height: 52px;
    width: auto;
    transition: all var(--transition-normal);
}

.header--scrolled .header__logo img { height: 40px; padding: 4px 10px; }

.header__phone {
    display: none;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.header__phone svg { width: 16px; height: 16px; }

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav__link:hover, .nav__link--active {
    color: var(--accent-light);
    background: rgba(255,255,255,0.06);
}

.nav__cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger__line {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger--active .hamburger__line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger--active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--active .hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Hero loader */
.hero__loader {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dark);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.hero__loader--hidden {
    opacity: 0;
    pointer-events: none;
}

.hero__loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero__split {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero__text {
    max-width: 620px;
    flex: 1;
}

.hero__logo-wrap {
    flex-shrink: 0;
}

.hero__logo {
    width: 360px;
    height: auto;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 136, 46, 0.2);
    color: var(--accent-light);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 136, 46, 0.3);
}

.hero__title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.05;
}

.hero__title-accent {
    color: var(--accent-light);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--concrete-light);
    margin-bottom: 36px;
    max-width: 550px;
    line-height: 1.7;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Stats Bar --- */

.stats {
    padding: 56px 0;
    background: var(--primary);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.stat__value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--concrete-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* --- About --- */

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content h2 { margin-bottom: 20px; }
.about__content p { color: var(--medium-gray); font-size: 1.05rem; }

.about__image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 4/3;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 40px;
    text-align: center;
}

.about__image-placeholder svg { width: 60px; height: 60px; margin-bottom: 16px; opacity: 0.5; }
.about__image-placeholder p { font-size: 0.85rem; opacity: 0.6; }

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about__highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(200, 136, 46, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.about__highlight-icon svg { width: 20px; height: 20px; }
.about__highlight h4 { font-size: 0.9rem; margin-bottom: 2px; text-transform: none; }
.about__highlight p { font-size: 0.82rem; color: var(--medium-gray); margin: 0; }

/* --- Service Cards --- */

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(200, 136, 46, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.service-card__icon svg { width: 26px; height: 26px; }
.service-card h4 { margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.service-card p { color: var(--medium-gray); font-size: 0.9rem; line-height: 1.6; }

/* --- Equipment/Tech Cards --- */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.equipment-card {
    background: var(--primary-light);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.05);
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.equipment-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(200, 136, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-light);
}

.equipment-card__icon svg { width: 30px; height: 30px; }
.equipment-card h3, .equipment-card h4 { color: var(--white); margin-bottom: 10px; font-size: 1.3rem; text-transform: none; }
.equipment-card p { color: var(--concrete-light); font-size: 0.9rem; }

/* --- Portfolio Gallery --- */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--white);
    color: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn--active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--light-gray);
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--concrete-mid) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    padding: 20px;
}

.project-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
    transition: all var(--transition-normal);
}

.project-card__category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent);
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.project-card h4 {
    color: var(--white);
    font-size: 1.15rem;
    text-transform: none;
    margin-bottom: 2px;
}

.project-card__location {
    font-size: 0.85rem;
    color: var(--concrete-light);
}

/* --- Application Wizard --- */

.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.wizard-progress__step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    border-radius: 4px;
    transition: all 0.3s;
}

.wizard-progress__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--medium-gray);
    font-size: 0.8rem;
    font-weight: 700;
}

.wizard-progress__step--active {
    color: var(--primary);
}

.wizard-progress__step--active span {
    background: var(--accent);
    color: white;
}

.wizard-progress__step--done span {
    background: var(--secondary);
    color: white;
}

.wizard-progress__step--done {
    color: var(--secondary);
}

.wizard-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.wizard-step { display: none; }
.wizard-step--active { display: block; }

.wizard-step h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    text-transform: none;
}

.form-row--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.radio-group {
    display: flex;
    gap: 20px;
    padding-top: 6px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.radio-group.error { outline: 2px solid var(--error); border-radius: 4px; padding: 4px; }

.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    color: var(--medium-gray);
}

.checkbox-label input { margin-top: 4px; flex-shrink: 0; }
.checkbox-label.error { outline: 2px solid var(--error); border-radius: 4px; padding: 8px; }

input.error, select.error, textarea.error { border-color: var(--error); }

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    gap: 16px;
}

.wizard-nav .btn { min-width: 140px; justify-content: center; }

@media (max-width: 600px) {
    .wizard-form { padding: 24px 16px; }
    .form-row--3 { grid-template-columns: 1fr; }
    .wizard-progress__step { font-size: 0; padding: 6px 10px; }
    .wizard-progress__step span { font-size: 0.8rem; }
}

/* --- Notable Work --- */

.notable-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 48px;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.notable-item {
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
    background: var(--off-white);
    border-radius: 0 6px 6px 0;
}

.notable-item h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 2px;
    text-transform: none;
}

.notable-item span {
    color: var(--medium-gray);
    font-size: 0.85rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .notable-grid { grid-template-columns: 1fr; }
}

/* --- Lightbox --- */

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox--open {
    display: flex;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    text-align: center;
}

.lightbox__content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-top: 12px;
    opacity: 0.85;
}

.lightbox__close {
    position: absolute;
    top: 20px; right: 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 3.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; }

.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }

/* --- Video Grid --- */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.video-card video {
    width: 100%;
    display: block;
    background: #000;
}

.video-card h4 {
    padding: 16px;
    font-size: 1rem;
    color: var(--primary);
}

@media (max-width: 540px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* --- Footer Social --- */

.footer__social {
    margin-top: 16px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--concrete-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer__social-link:hover {
    color: var(--accent);
}

/* --- Sectors Grid --- */

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.sector-card {
    background: var(--white);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.sector-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.sector-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(45, 95, 138, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--secondary);
}

.sector-card__icon svg { width: 22px; height: 22px; }
.sector-card h4 { font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: var(--dark-gray); }

/* --- CTA --- */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--concrete-light); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }

/* --- Page Hero --- */

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary-dark) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Animated diagonal concrete lines */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 42px
    );
    animation: heroSlide 20s linear infinite;
    pointer-events: none;
}

/* Noise/grit texture */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes heroSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(58px); }
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: 3rem; }
.page-hero p { color: var(--concrete-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Service Timeline --- */

.tab-switcher {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 16px 40px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--light-gray);
    color: var(--medium-gray);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:first-child { border-radius: 6px 0 0 6px; }
.tab-btn:last-child { border-radius: 0 6px 6px 0; }

.tab-btn--active {
    background: var(--secondary);
    color: var(--white);
}

.tab-content { display: none; }
.tab-content--active { display: block; }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--light-gray);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    padding-bottom: 40px;
    padding-left: 32px;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-step__number {
    position: absolute;
    left: -36px;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(45, 95, 138, 0.3);
    z-index: 1;
}

.timeline-step h3 {
    margin-bottom: 8px;
    text-transform: none;
    font-size: 1.35rem;
}

.timeline-step p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Contact --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-gray);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 95, 138, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 16px;
    display: none;
}

.form-message--success {
    background: rgba(45, 122, 79, 0.08);
    color: var(--success);
    border: 1px solid rgba(45, 122, 79, 0.2);
    display: block;
}

.form-message--error {
    background: rgba(192, 57, 43, 0.08);
    color: var(--error);
    border: 1px solid rgba(192, 57, 43, 0.2);
    display: block;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(200, 136, 46, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-info-card__icon svg { width: 22px; height: 22px; }
.contact-info-card h4 { margin-bottom: 4px; text-transform: none; letter-spacing: 0; }
.contact-info-card p, .contact-info-card a { color: var(--medium-gray); font-size: 0.95rem; }
.contact-info-card a:hover { color: var(--secondary); }

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--light-gray);
}

.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* --- Careers Perks --- */

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.perk-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    text-align: center;
}

.perk-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(200, 136, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}

.perk-card__icon svg { width: 26px; height: 26px; }
.perk-card h4 { margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.perk-card p { color: var(--medium-gray); font-size: 0.9rem; }

/* --- Footer --- */

.footer {
    background: var(--near-black);
    color: var(--concrete-mid);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand img, .footer__logo img { max-width: 180px; height: auto; }
.footer__brand p, .footer__text { font-size: 0.9rem; line-height: 1.7; color: var(--concrete-mid); margin-top: 16px; }

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--concrete-mid); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--white); }

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--concrete-mid);
}

.footer__contact-item svg { width: 16px; height: 16px; min-width: 16px; margin-top: 3px; color: var(--accent); }
.footer__contact-item a { color: var(--concrete-mid); }
.footer__contact-item a:hover { color: var(--white); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--concrete-mid);
}

/* --- Admin --- */

.admin-login {
    max-width: 400px;
    margin: 120px auto 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.admin-login h2 { text-align: center; margin-bottom: 24px; }

.admin-dashboard {
    max-width: 1000px;
    margin: 100px auto 60px;
    padding: 0 24px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    text-align: center;
}

.admin-stat-card .value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.admin-stat-card .label { color: var(--medium-gray); font-size: 0.85rem; margin-top: 4px; }

.contact-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.contact-table th, .contact-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-table th {
    background: var(--off-white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-table tr.unread { background: rgba(45, 95, 138, 0.03); font-weight: 600; }

.contact-table .actions { display: flex; gap: 8px; }

.contact-table .actions button {
    padding: 6px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.contact-table .actions button:hover { border-color: var(--secondary); color: var(--secondary); }
.contact-table .actions button.delete:hover { border-color: var(--error); color: var(--error); }

/* --- Scroll Animations --- */

.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Concrete Themed Effects --- */

/* Gritty texture + animated lines on dark sections */
.section--primary,
.cta-section { position: relative; overflow: hidden; }

.section--primary > .container,
.cta-section > .container { position: relative; z-index: 1; }

.section--primary::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 42px
    );
    animation: heroSlide 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.section--primary::after,
.cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Industrial accent line under section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-top: 12px;
    border-radius: 2px;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* Service card lift + accent border on hover */
.service-card {
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    border-bottom-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Stat counter "stamp" effect */
.stat__value {
    text-shadow: 2px 2px 0 rgba(0,0,0,0.08);
}

/* Equipment card glow on hover */
.equipment-card:hover {
    box-shadow: 0 0 30px rgba(200, 136, 46, 0.15), var(--shadow-lg);
}

/* Project card image shine sweep on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    z-index: 2;
    transition: left 0.6s ease;
    pointer-events: none;
}

.project-card:hover::before {
    left: 125%;
}

/* Smooth heavy "pour" entrance for hero content */
@keyframes pourIn {
    0% { opacity: 0; transform: translateY(-30px); }
    60% { opacity: 1; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero__logo-wrap {
    animation: pourIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__badge {
    animation: slideUp 0.7s ease 0.6s both;
}

.hero__title {
    animation: pourIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero__subtitle {
    animation: slideUp 0.7s ease 1.1s both;
}

.hero__actions {
    animation: slideUp 0.7s ease 1.3s both;
}

/* Pulsing CTA button */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(200, 136, 46, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(200, 136, 46, 0.5); }
}

.cta-section .btn--primary,
.hero__actions .btn--primary {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Sector cards rotate icon on hover */
.sector-card:hover .sector-card__icon {
    transform: rotateY(180deg);
    transition: transform 0.5s ease;
}

.sector-card__icon {
    transition: transform 0.5s ease;
}

/* --- Nav Overlay --- */

.nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.nav-overlay--visible { opacity: 1; pointer-events: auto; }

/* --- Responsive --- */

@media (min-width: 1024px) {
    .header__phone { display: flex; }
}

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .equipment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.9rem; }
    .section { padding: 60px 0; }

    .hamburger { display: flex; }

    .nav {
        position: fixed;
        top: 0; right: -300px;
        width: 300px; height: 100vh;
        background: #111;
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        gap: 0;
        align-items: stretch;
    }

    .nav--open { right: 0; }
    .nav__link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1rem; }
    .nav__cta { margin-left: 0; margin-top: 16px; text-align: center; }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero__split { flex-direction: column; text-align: center; }
    .hero__logo { width: 220px; }
    .hero__logo-wrap { order: -1; }
    .hero__actions { justify-content: center; }
    .hero__title { font-size: 2.5rem; }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__image { order: -1; }
    .about__highlights { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat__value { font-size: 2.2rem; }
    .services__grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .tab-btn { padding: 12px 24px; font-size: 0.95rem; }
    .timeline { padding-left: 50px; }
    .timeline::before { left: 18px; }
    .timeline-step__number { left: -32px; width: 40px; height: 40px; font-size: 1rem; }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .admin-stats { grid-template-columns: 1fr; }
    .page-hero { padding: 120px 0 40px; }
    .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .sectors-grid { grid-template-columns: 1fr 1fr; }
    .services__grid { grid-template-columns: 1fr; }
}

/* ============================================
   Skip Link
   ============================================ */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0.5rem; }

/* ============================================
   Focus Visible
   ============================================ */

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   Wave Divider
   ============================================ */

.wave-divider {
    position: relative;
    line-height: 0;
    margin: 0;
}
.wave-divider svg {
    width: 100%;
    height: 40px;
    display: block;
}
@media (max-width: 768px) {
    .wave-divider svg { height: 30px; }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
