/* ========================================
   FRYER MAYFIELD CIVIL ENGINEERING
   Industrial-Premium Design System
   ======================================== */

:root {
    --green: #0f7b3f;
    --green-light: #14a553;
    --green-dark: #0a5c2e;
    --green-glow: rgba(15, 123, 63, 0.3);
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark: #111111;
    --dark-2: #161616;
    --dark-3: #1e1e1e;
    --gray-900: #222222;
    --gray-800: #333333;
    --gray-700: #444444;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #aaaaaa;
    --gray-300: #cccccc;
    --gray-200: #e0e0e0;
    --gray-100: #f0f0f0;
    --white: #fafafa;
    --cream: #f5f4f0;

    --font-display: 'Oswald', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 80px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.text-accent {
    color: var(--green);
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-tag::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--green);
}

.section-tag--light {
    color: var(--green-light);
}

.section-tag--light::before {
    background: var(--green-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -0.01em;
}

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

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

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-line {
    width: 120px;
    height: 3px;
    background: var(--gray-800);
    margin: 0 auto 20px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-line::after {
    content: '';
    position: absolute;
    left: -40%;
    top: 0;
    height: 100%;
    width: 40%;
    background: var(--green);
    animation: preloaderSlide 1s var(--ease-in-out) infinite;
}

@keyframes preloaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo-img {
    width: 40px;
    height: 40px;
}

.nav-logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    display: block;
    line-height: 1.1;
}

.nav-logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link--cta {
    background: var(--green);
    color: var(--white);
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

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

.btn--primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--green-glow);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-600);
}

.btn--outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(15, 123, 63, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(15, 123, 63, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--dark) 50%, var(--black) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px clamp(20px, 5vw, 60px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    border: 1px solid rgba(15, 123, 63, 0.3);
    padding: 8px 20px;
    margin-bottom: 32px;
    background: rgba(15, 123, 63, 0.06);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--green);
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--green);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-400);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-plus {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--green);
    font-weight: 700;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-800);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: clamp(20px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-600);
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: var(--gray-800);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--green);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 100%; }
}

.hero-diagonal {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cream);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 3;
}

/* ===== ABOUT ===== */
.about {
    background: var(--cream);
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.about .section-title {
    color: var(--charcoal);
}

.about-lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-left: 3px solid var(--green);
    transition: transform 0.3s var(--ease-out);
}

.about-feature:hover {
    transform: translateX(6px);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
}

.about-feature strong {
    display: block;
    font-size: 0.9rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ===== SERVICES ===== */
.services {
    background: var(--black);
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
    overflow: hidden;
}

.services-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.015);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.services-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.services-header .section-tag {
    justify-content: center;
}

.services-header .section-tag::before {
    display: none;
}

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

.service-card {
    background: var(--dark-2);
    border: 1px solid var(--gray-900);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--green);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card--tall .service-card-img {
    height: 280px;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.6s;
    filter: grayscale(30%) brightness(0.8);
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(1);
}

.service-card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    letter-spacing: 0.1em;
}

.service-card-content {
    padding: 28px;
}

.service-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.service-card-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.service-list li {
    font-size: 0.78rem;
    color: var(--gray-400);
    padding-left: 14px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 1px;
    background: var(--green);
}

/* ===== FLEET ===== */
.fleet {
    background: var(--charcoal);
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
    overflow: hidden;
}

.fleet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0.3;
}

.fleet-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.fleet-desc {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 36px;
}

.fleet-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fleet-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s var(--ease-out);
}

.fleet-item:hover {
    background: rgba(15, 123, 63, 0.08);
    border-color: rgba(15, 123, 63, 0.2);
    transform: translateX(6px);
}

.fleet-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 123, 63, 0.1);
    color: var(--green-light);
}

.fleet-item-icon svg {
    width: 22px;
    height: 22px;
}

.fleet-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.fleet-item span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.fleet-image-stack {
    position: relative;
    padding: 20px;
}

.fleet-img--main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.85);
}

.fleet-img--accent {
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 50%;
    height: 240px;
    object-fit: cover;
    border: 4px solid var(--charcoal);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.fleet-img-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--green);
    padding: 24px;
    text-align: center;
}

.fleet-img-badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: block;
}

.fleet-img-badge-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

/* ===== PROJECTS ===== */
.projects {
    background: var(--black);
    padding: clamp(80px, 12vw, 140px) 0;
}

.projects-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.projects-header .section-tag {
    justify-content: center;
}

.projects-header .section-tag::before {
    display: none;
}

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

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 320px;
}

.project-card--wide {
    grid-column: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.6s;
    filter: grayscale(30%) brightness(0.7);
}

.project-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(0.9);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.4s;
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(0deg, rgba(15, 123, 63, 0.85) 0%, rgba(0,0,0,0.2) 60%);
}

.project-card-tag {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 8px;
}

.project-card:hover .project-card-tag {
    color: var(--white);
}

.project-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.project-card-overlay p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

/* ===== CLIENTS ===== */
.clients {
    background: var(--dark-2);
    padding: clamp(60px, 8vw, 100px) 0;
    border-top: 1px solid var(--gray-900);
    border-bottom: 1px solid var(--gray-900);
}

.clients-inner {
    text-align: center;
}

.clients-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.2;
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.client-logo-item {
    padding: 16px 32px;
    border: 1px solid var(--gray-800);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
}

.client-logo-item:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(15, 123, 63, 0.05);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--black);
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-800);
    color: var(--green);
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: var(--green);
}

.contact-form-wrap {
    background: var(--dark-2);
    border: 1px solid var(--gray-900);
    padding: clamp(28px, 4vw, 44px);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-3);
    border: 1px solid var(--gray-800);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark-2);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--gray-900);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-900);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    display: block;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.7rem;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--gray-500);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.footer-credit {
    font-size: 0.72rem;
    color: var(--gray-700);
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

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

    .service-card--tall .service-card-img {
        height: 220px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link {
        font-size: 1.2rem;
        color: var(--white);
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .fleet-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fleet-visual {
        order: -1;
    }

    .fleet-img--main {
        height: 350px;
    }

    .fleet-img--accent {
        width: 45%;
        height: 180px;
    }

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

    .project-card--wide {
        grid-column: span 1;
    }

    .project-card {
        height: 260px;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-diagonal {
        height: 40px;
    }

    .clients-logos {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

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