/*
Theme Name: Salerno Earthworks
Theme URI: https://salernoearth.works
Author: Salerno Earthworks
Author URI: https://salernoearth.works
Description: Custom WordPress theme for Salerno Earthworks — excavation, earthmoving, site preparation, and demolition services.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salerno
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand colors */
    --se-charcoal: #1c1c1c;
    --se-orange: #d47a0a;
    --se-orange-dark: #b5680a;
    --se-orange-light: #e89a3a;
    --se-sand: #f0ebe3;
    --se-sand-dark: #d9d0c2;
    --se-concrete: #4a4a4a;
    --se-steel: #6b7280;
    --se-white: #fafaf8;
    --se-black: #0d0d0d;
    --se-red: #c0392b;
    --se-green: #27ae60;

    /* Typography */
    --font-heading: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Sizing */
    --container-max: 1400px;
    --container-narrow: 900px;
    --gap: 1.5rem;
    --gap-lg: 3rem;
    --radius: 4px;
    --radius-lg: 8px;

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--se-charcoal);
    background: var(--se-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--se-orange);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--se-orange-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--se-black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p + p { margin-top: 1rem; }

/* ==========================================================================
   Layout
   ========================================================================== */

.se-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.se-container--narrow {
    max-width: var(--container-narrow);
}

.se-section {
    padding: 5rem 0;
}

.se-section--dark {
    background: var(--se-charcoal);
    color: var(--se-sand);
}

.se-section--dark h2,
.se-section--dark h3,
.se-section--dark h4 {
    color: var(--se-white);
}

.se-section--sand {
    background: var(--se-sand);
}

.se-section--orange {
    background: linear-gradient(135deg, var(--se-orange) 0%, var(--se-orange-dark) 100%);
    color: var(--se-white);
    position: relative;
    overflow: hidden;
}

.se-section--orange::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
}

.se-section--orange h2,
.se-section--orange h3 {
    color: var(--se-white);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--se-orange);
    transition: background var(--transition);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--se-white);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.site-header__logo img {
    height: 40px;
    width: auto;
}

.site-header__logo span {
    color: var(--se-orange);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 0.25rem;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--se-sand-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--se-white);
    background: rgba(212, 122, 10, 0.15);
}

.main-navigation .current-menu-item a {
    color: var(--se-orange);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--se-white);
    margin: 6px 0;
    transition: all var(--transition);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--se-orange);
    color: var(--se-white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--se-orange-dark);
    color: var(--se-white);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--se-charcoal);
    overflow: hidden;
    margin-top: 72px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(28, 28, 28, 0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 4rem 0;
}

.hero__tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--se-orange);
    color: var(--se-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--se-white);
    margin-bottom: 1.25rem;
}

.hero h1 strong {
    color: var(--se-orange);
}

.hero__text {
    font-size: 1.2rem;
    color: var(--se-sand-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--se-orange-dark);
    border-color: var(--se-orange-dark);
    color: var(--se-white);
    box-shadow: 0 4px 20px rgba(212, 122, 10, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--se-white);
    border-color: var(--se-white);
}

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

.btn--dark {
    background: var(--se-charcoal);
    color: var(--se-white);
    border-color: var(--se-charcoal);
}

.btn--dark:hover {
    background: var(--se-black);
    border-color: var(--se-black);
    color: var(--se-white);
}

.btn--large {
    padding: 1.1rem 2.75rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

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

.service-card {
    background: var(--se-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--se-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--se-sand);
    color: var(--se-orange);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--se-steel);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--se-orange);
}

.service-card__link:hover {
    gap: 0.6rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--se-orange);
}

.stat {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat__icon {
    display: block;
    margin: 0 auto 0.75rem;
    opacity: 0.9;
}

.stat__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--se-white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat:last-child {
    border-right: none;
}

.stat__number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--se-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat__meta {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

.about-grid__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--se-sand);
}

.about-grid__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-grid__content h2 {
    margin-bottom: 1rem;
}

.about-grid__content p {
    color: var(--se-concrete);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.about-feature__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--se-sand);
    color: var(--se-orange);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 800;
}

.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--se-charcoal);
}

.about-story .about-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: start;
}

.about-story__image {
    position: relative;
    margin: 0;
    aspect-ratio: auto;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.08) 0%, rgba(13, 13, 13, 0.78) 100%),
        var(--se-black);
    box-shadow: 0 28px 60px rgba(13, 13, 13, 0.2);
    min-width: 0;
}

.about-story__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.06) 0%, rgba(13, 13, 13, 0.42) 100%),
        linear-gradient(135deg, rgba(212, 122, 10, 0.14) 0%, rgba(13, 13, 13, 0) 38%);
    pointer-events: none;
}

.about-story__image img {
    width: 100%;
    height: auto;
    filter: saturate(0.9) contrast(1.03) brightness(0.9);
}

.about-story__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 640px;
    min-width: 0;
    padding: 1rem 0;
}

.about-story__content h2 {
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.about-story__body p {
    margin-bottom: 0;
    color: var(--se-concrete);
    font-size: 1.02rem;
    line-height: 1.85;
}

.about-story__values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(107, 114, 128, 0.22);
}

.about-story__values li {
    position: relative;
    min-height: 100%;
    padding: 1rem 1rem 1rem 1.2rem;
    border: 1px solid rgba(107, 114, 128, 0.16);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(240, 235, 227, 0.26) 0%, rgba(240, 235, 227, 0.6) 100%);
    color: var(--se-black);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(13, 13, 13, 0.06);
}

.about-story__values li::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 0;
    width: 4px;
    height: calc(100% - 2rem);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--se-orange) 0%, rgba(212, 122, 10, 0.3) 100%);
}

.about-story__closing {
    margin-top: 1.5rem;
    color: var(--se-charcoal);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Projects / Portfolio
   ========================================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--gap);
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--se-concrete);
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all var(--transition);
}

.project-card:hover .project-card__overlay {
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.3) 100%);
}

.project-card__tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--se-orange);
    color: var(--se-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    width: fit-content;
}

.project-card h3 {
    color: var(--se-white);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.project-card p {
    color: var(--se-sand-dark);
    font-size: 0.85rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
    text-align: center;
    padding: 5rem 0;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner__support {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.78;
}

.cta-banner .btn {
    margin: 0 0.5rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
}

.testimonial {
    background: var(--se-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial__stars {
    color: var(--se-orange);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.testimonial__text {
    font-size: 1.05rem;
    color: var(--se-concrete);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--se-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--se-orange);
    font-size: 0.9rem;
}

.testimonial__name {
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial__role {
    font-size: 0.8rem;
    color: var(--se-steel);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 122, 10, 0.1);
    color: var(--se-orange);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 800;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--se-steel);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--se-sand-dark);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--se-white);
    color: var(--se-charcoal);
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--se-orange);
    box-shadow: 0 0 0 3px rgba(212, 122, 10, 0.1);
}

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

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

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--se-concrete);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--se-black);
    color: var(--se-steel);
    padding: 4rem 0 0;
}

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

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--se-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

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

.footer-col ul li a {
    color: var(--se-steel);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--se-orange);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item strong {
    color: var(--se-sand-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--se-steel);
}

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

/* ==========================================================================
   Page Header (Interior pages)
   ========================================================================== */

.page-header {
    background: var(--se-charcoal);
    padding: 6rem 0 3rem;
    margin-top: 72px;
    text-align: center;
}

.page-header h1 {
    color: var(--se-white);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--se-sand-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--se-steel);
}

.breadcrumbs a {
    color: var(--se-orange);
}

/* ==========================================================================
   Content Styles (for WP editor content)
   ========================================================================== */

.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; color: var(--se-concrete); }
.entry-content ul, .entry-content ol { margin: 1rem 0; padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5rem; color: var(--se-concrete); }
.entry-content blockquote {
    border-left: 4px solid var(--se-orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--se-sand);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content blockquote p { color: var(--se-charcoal); font-style: italic; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }

/* WP alignment classes */
.alignwide { max-width: var(--container-max); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }

/* ==========================================================================
   Careers Page
   ========================================================================== */

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--gap);
}

.career-card {
    background: var(--se-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
}

.career-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.career-card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.career-card__content {
    padding: 1.5rem;
}

.career-card__tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 122, 10, 0.1);
    color: var(--se-orange);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.career-card__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.career-card__content p {
    color: var(--se-steel);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.career-card__meta {
    display: block;
    font-size: 0.8rem;
    color: var(--se-steel);
    margin-bottom: 1.25rem;
}

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

.careers-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
}

.careers-list {
    list-style: none;
    padding: 0;
}

.careers-list li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--se-sand-dark);
    font-size: 0.95rem;
}

.careers-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--se-orange);
}

@media (max-width: 768px) {
    .careers-two-col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Fleet Section
   ========================================================================== */

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

.fleet-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap);
    position: relative;
    z-index: 1;
}

.fleet-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.fleet-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.fleet-item__icon {
    margin-bottom: 1rem;
}

.fleet-item__icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--se-orange);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fleet-item h3 {
    color: var(--se-white);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.fleet-item p {
    color: var(--se-steel);
    font-size: 0.85rem;
}

/* ==========================================================================
   Header Phone
   ========================================================================== */

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--se-sand-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.header-phone:hover {
    color: var(--se-white);
}

.header-phone__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--se-orange);
    font-weight: 800;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .se-section {
        padding: 3.5rem 0;
    }

    .se-container {
        padding: 0 1.25rem;
    }

    /* Mobile nav */
    .main-navigation {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--se-charcoal);
        border-bottom: 3px solid var(--se-orange);
        padding: 1rem;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation a {
        padding: 0.75rem 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta,
    .header-phone {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero__content {
        padding: 2rem 0;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    /* Stats */
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Grids */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-story .about-grid {
        align-items: start;
    }

    .about-story__image {
        min-height: 0;
    }

    .about-story__content {
        max-width: none;
        padding: 0;
    }

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

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

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }

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

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

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-orange { color: var(--se-orange); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Section headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--se-steel);
    font-size: 1.05rem;
    max-width: 650px;
}

.section-header--center {
    text-align: center;
}

.section-header--center p {
    margin: 0 auto;
}

/* Screen reader text (WP accessibility) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background: var(--se-white);
    clip: auto !important;
    clip-path: none;
    color: var(--se-charcoal);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
