/* ============================================
   BRAND HARBOR MARKETING LLC
   Glassmorphic · Reddish-Black · DM Sans Bold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    /* Core palette – reddish/black */
    --bg-deep: #0a0507;
    --bg-dark: #110a0d;
    --bg-card: rgba(255, 255, 255, 0.04);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);

    /* Accent reds */
    --red-primary: #e63946;
    --red-soft: #ff6b6b;
    --red-glow: rgba(230, 57, 70, 0.35);
    --red-muted: #c2414d;

    /* Neutrals */
    --white: #ffffff;
    --text-primary: #f8f0f0;
    --text-secondary: rgba(248, 240, 240, 0.6);
    --text-muted: rgba(248, 240, 240, 0.4);

    /* Typography */
    --font: 'DM Sans', sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1200px;

    /* Glassmorphism */
    --blur: blur(20px);
    --blur-heavy: blur(40px);

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 57, 70, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

ul {
    list-style: none;
}

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

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── Container ── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Buttons ── */
.btn {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 32px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--red-primary);
    color: var(--white);
    box-shadow: 0 4px 30px var(--red-glow);
}

.btn-primary:hover {
    background: var(--red-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--red-glow);
}

.btn-ghost {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur);
}

.btn-ghost:hover {
    background: var(--glass-hover);
    border-color: var(--red-primary);
    color: var(--red-soft);
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(10, 5, 7, 0.7);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--red-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

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

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.mobile-only {
    display: none;
}

.btn-nav-desktop {
    padding: 12px 24px !important;
    font-size: 0.78rem !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

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

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

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

/* ── Section Utilities ── */
section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red-primary);
    margin-bottom: 24px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--red-primary);
}

.section-intro {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-intro h2 {
    margin-bottom: 20px;
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.hero h1 span.highlight {
    color: var(--red-primary);
}

.hero-sub {
    max-width: 520px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    z-index: 2;
    pointer-events: none;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 5, 7, 0.6));
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 48px 32px;
    border-right: 1px solid var(--glass-border);
    text-align: center;
}

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

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-value span {
    color: var(--red-primary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* ── Glass Cards ── */
.glass-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px 36px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.service-card:hover {
    background: var(--glass-hover);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.service-num {
    font-weight: 700;
    font-size: 5rem;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.04;
    color: var(--white);
    pointer-events: none;
    letter-spacing: -0.05em;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ── Process / Roadmap ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.process-step:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-4px);
}

.step-number {
    font-weight: 700;
    font-size: 3rem;
    color: var(--red-primary);
    opacity: 0.3;
    display: block;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.process-step h3 {
    margin-bottom: 12px;
}

/* ── About / Leadership Layout ── */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.6s var(--ease);
}

.split-image:hover img {
    transform: scale(1.03);
}

.split-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.split-content h2 {
    margin-bottom: 8px;
}

.split-content h2 span {
    color: var(--red-primary);
}

.split-content p {
    max-width: 520px;
}

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.3);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--red-primary);
    opacity: 0.5;
    margin-bottom: 16px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.8;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--red-primary);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    color: var(--white);
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── clients / Industries Grid ── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.industry-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.industry-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.industry-card span:last-child {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* ── Image Cards for Dispatches ── */
.dispatches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dispatch-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.dispatch-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.3);
}

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

.dispatch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.dispatch-body {
    padding: 28px;
}

.dispatch-date {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-primary);
    margin-bottom: 12px;
    display: block;
}

.dispatch-body h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.dispatch-body p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
    text-align: center;
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-box p {
    max-width: 550px;
    font-size: 1.1rem;
}

/* ── Page Hero (Inner pages) ── */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow), transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.page-hero-content h1 {
    margin-bottom: 20px;
}

.page-hero-content p {
    font-size: 1.15rem;
    max-width: 550px;
}

.page-hero-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.page-hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
}

.page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
}

/* ── Contact Form ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
}

.contact-info-card h4 {
    margin-bottom: 12px;
    color: var(--red-primary);
}

.contact-info-card p {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* ── Results / Case Study Cards ── */
.case-study-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.case-study-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.case-study-img {
    height: 240px;
    overflow: hidden;
}

.case-study-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.case-study-body {
    padding: 36px;
}

.case-study-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-primary);
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.case-study-body h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.case-study-body p {
    font-size: 0.95rem;
}

.case-study-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.case-stat {
    text-align: left;
}

.case-stat-value {
    display: block;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--red-primary);
    letter-spacing: -0.02em;
}

.case-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ── Philosophy Cards ── */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease);
}

.philosophy-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-4px);
}

.philosophy-card .phi-icon {
    width: 52px;
    height: 52px;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.philosophy-card h3 {
    margin-bottom: 12px;
}

/* ── Feature List ── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    font-size: 0.75rem;
    margin-top: 2px;
}

.feature-item p {
    font-size: 0.95rem;
}

/* ── Full-Width Image Banner ── */
.image-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 24px;
    margin: 60px 0;
}

.image-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 5, 7, 0.3), rgba(10, 5, 7, 0.7));
    border-radius: 24px;
}

.image-banner-text {
    position: absolute;
    bottom: 48px;
    left: 48px;
    z-index: 2;
    max-width: 500px;
}

.image-banner-text h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* ── Footer ── */
.main-footer {
    background: rgba(17, 10, 13, 0.8);
    backdrop-filter: var(--blur);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand>p {
    font-size: 0.9rem;
    max-width: 300px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.3s var(--ease);
}

.social-links a:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-grid h4 {
    color: var(--text-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-grid ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-grid ul a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-grid ul a:hover {
    color: var(--red-primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid var(--glass-border);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.bottom-links a:hover {
    color: var(--red-primary);
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeUp 0.8s forwards var(--ease);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-left {
    opacity: 0;
    animation: slideInLeft 0.8s forwards var(--ease);
}

/* Scroll-reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease);
}

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

/* ══════════════════════════════════════════════
   RESPONSIVE – Desktop Enhancement + All Mobile
   ══════════════════════════════════════════════ */

/* ── Large Desktop (1440px+) ── */
@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }

    .hero-grid {
        gap: 100px;
    }

    .hero-image img {
        height: 580px;
    }

    .stats-grid {
        max-width: 100%;
    }

    .split-image img {
        height: 560px;
    }

    .page-hero-image img {
        height: 420px;
    }

    .case-study-img {
        height: 280px;
    }
}

/* ── Standard Desktop tweaks (1025px – 1440px) ── */
@media (min-width: 1025px) {
    /* Enlarge touch-target for nav links on desktop */
    .nav-links a {
        padding: 8px 0;
    }

    /* Hover polish for desktop only */
    .glass-card:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .dispatch-card:hover,
    .process-step:hover,
    .philosophy-card:hover,
    .industry-card:hover,
    .case-study-card:hover {
        transform: translateY(-6px);
    }
}

/* ── Tablet (769px – 1024px) ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image img {
        height: 380px;
    }

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

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

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

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

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

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .page-hero-grid {
        grid-template-columns: 1fr;
    }

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

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

    .container {
        padding: 0 32px;
    }

    section {
        padding: 100px 0;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .page-hero {
        padding: 140px 0 60px;
    }

    .cta-box h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    }
}

/* ── Small Tablet / Large Phone landscape (601px – 768px) ── */
@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    nav {
        padding: 0 20px;
        height: 70px;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .logo {
        order: 1;
        font-size: 1.1rem;
    }

    .logo svg {
        width: 26px;
        height: 26px;
    }

    .btn-nav-desktop {
        display: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: 100%;
        background: rgba(10, 5, 7, 0.98);
        backdrop-filter: var(--blur-heavy);
        -webkit-backdrop-filter: var(--blur-heavy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease);
        z-index: 1000;
        display: flex;
    }

    .nav-active .nav-links {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.4rem;
        padding: 12px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-image {
        border-radius: 16px;
    }

    .hero-image img {
        height: 280px;
        border-radius: 16px;
    }

    .hero-image::before,
    .hero-image::after {
        border-radius: 16px;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-bg-glow {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }

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

    .stat-cell {
        padding: 28px 16px;
        text-align: center;
    }

    .stat-cell:nth-child(odd):last-child {
        grid-column: span 2;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    /* Grids collapse to 1 column */
    .services-grid,
    .testimonials-grid,
    .dispatches-grid,
    .process-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Cards */
    .service-card,
    .glass-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .service-num {
        font-size: 3.5rem;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .testimonial-card {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .dispatch-card {
        border-radius: 16px;
    }

    .dispatch-img {
        height: 180px;
    }

    .dispatch-body {
        padding: 20px;
    }

    .process-step {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .step-number {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .industry-card {
        padding: 28px 16px;
        border-radius: 12px;
    }

    .industry-icon {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .philosophy-card {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .philosophy-card .phi-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    /* Split Layout */
    .split-layout {
        gap: 28px;
    }

    .split-image {
        border-radius: 16px;
    }

    .split-image img {
        height: 260px;
        border-radius: 16px;
    }

    .split-image::before {
        border-radius: 16px;
    }

    .split-content {
        gap: 16px;
    }

    .feature-list {
        gap: 12px;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 110px 0 50px;
    }

    .page-hero-grid {
        gap: 24px;
    }

    .page-hero-image {
        border-radius: 16px;
    }

    .page-hero-image img {
        height: 240px;
        border-radius: 16px;
    }

    .page-hero-image::before {
        border-radius: 16px;
    }

    .page-hero-glow {
        width: 350px;
        height: 350px;
        top: -50px;
        right: -50px;
        opacity: 0.3;
    }

    /* Case Studies */
    .case-study-card {
        border-radius: 16px;
    }

    .case-study-img {
        height: 200px;
    }

    .case-study-body {
        padding: 24px;
    }

    .case-study-body h3 {
        font-size: 1.3rem;
    }

    .case-study-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .case-stat-value {
        font-size: 1.3rem;
    }

    /* Image Banner */
    .image-banner {
        height: 240px;
        border-radius: 16px;
        margin: 40px 0;
    }

    .image-banner::after {
        border-radius: 16px;
    }

    .image-banner-text {
        bottom: 24px;
        left: 24px;
    }

    .image-banner-text h3 {
        font-size: 1.4rem;
    }

    /* CTA */
    .cta-box {
        gap: 20px;
    }

    .cta-box p {
        font-size: 1rem;
    }

    /* Contact Form */
    .contact-form {
        gap: 16px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .contact-info-card {
        padding: 24px;
        border-radius: 16px;
    }

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

    .footer-grid h4 {
        margin-bottom: 16px;
    }

    .footer-grid ul {
        gap: 10px;
    }

    .footer-brand>p {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 24px 0;
    }

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

    .bottom-links {
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .section-label {
        font-size: 0.68rem;
        margin-bottom: 16px;
    }

    .section-intro {
        margin-bottom: 40px;
    }
}

/* ── Mobile Portrait (max-width: 480px) ── */
@media (max-width: 480px) {
    :root {
        --section-pad: 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .container {
        padding: 0 16px;
    }

    nav {
        height: 64px;
        padding: 0 16px;
    }

    .logo {
        font-size: 1rem;
        gap: 8px;
    }

    .logo svg {
        width: 22px;
        height: 22px;
    }

    .hero {
        padding: 84px 0 48px;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    .hero-image img {
        height: 220px;
    }

    .hero-sub {
        font-size: 0.92rem;
    }

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

    .stat-cell {
        padding: 20px 12px;
    }

    .stat-value {
        font-size: 1.7rem;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    /* Cards */
    .service-card,
    .glass-card,
    .testimonial-card,
    .process-step,
    .philosophy-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .dispatch-body {
        padding: 16px;
    }

    .dispatch-body h3 {
        font-size: 1.05rem;
    }

    .industry-card {
        padding: 20px 12px;
        border-radius: 10px;
    }

    .industry-icon {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .industry-card span:last-child {
        font-size: 0.68rem;
    }

    /* Split layout */
    .split-image img {
        height: 220px;
    }

    /* Page Hero */
    .page-hero {
        padding: 90px 0 40px;
    }

    .page-hero-image img {
        height: 200px;
    }

    .page-hero-content p {
        font-size: 0.95rem;
    }

    /* Case Study */
    .case-study-img {
        height: 160px;
    }

    .case-study-body {
        padding: 20px;
    }

    .case-study-body h3 {
        font-size: 1.15rem;
    }

    .case-study-body p {
        font-size: 0.88rem;
    }

    .case-study-stats {
        gap: 12px;
    }

    .case-stat {
        min-width: calc(50% - 12px);
    }

    .case-stat-value {
        font-size: 1.15rem;
    }

    .case-stat-label {
        font-size: 0.62rem;
    }

    /* Image Banner */
    .image-banner {
        height: 200px;
        margin: 24px 0;
        border-radius: 14px;
    }

    .image-banner::after {
        border-radius: 14px;
    }

    .image-banner-text {
        bottom: 16px;
        left: 16px;
    }

    .image-banner-text h3 {
        font-size: 1.15rem;
    }

    .image-banner-text p {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-section {
        padding: 48px 0;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.92rem;
    }

    /* Contact */
    .contact-info-card {
        padding: 20px;
        border-radius: 14px;
    }

    .contact-info-card h4 {
        font-size: 1rem;
    }

    /* Feature items */
    .feature-check {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 0.65rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    /* Testimonial */
    .testimonial-quote {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .testimonial-name {
        font-size: 0.82rem;
    }

    .testimonial-role {
        font-size: 0.7rem;
    }

    /* Footer */
    .footer-grid {
        gap: 28px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .bottom-flex {
        font-size: 0.72rem;
    }

    .bottom-links {
        gap: 20px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.78rem;
    }

    .section-label::before {
        width: 20px;
    }
}

/* ── Very Small Phones (max-width: 360px) ── */
@media (max-width: 360px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 12px;
    }

    nav {
        padding: 0 12px;
    }

    .hero-image img {
        height: 180px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .page-hero-image img {
        height: 160px;
    }

    .split-image img {
        height: 180px;
    }

    .industries-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .industry-card {
        padding: 16px 8px;
    }

    .case-study-img {
        height: 140px;
    }

    .image-banner {
        height: 160px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.74rem;
    }
}

/* ── Touch device optimizations ── */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover transforms on touch devices for performance */
    .glass-card:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .dispatch-card:hover,
    .process-step:hover,
    .philosophy-card:hover,
    .industry-card:hover,
    .case-study-card:hover {
        transform: none;
    }

    /* Ensure tap targets are at least 44px */
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
    }

    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }

    .footer-grid ul a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    /* Prevent text selection on interactive elements */
    .btn,
    .hamburger,
    .nav-links a {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
}

/* ── Landscape phone fix ── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 6px 0;
    }

    .page-hero {
        padding: 90px 0 30px;
    }
}

/* ── Print styles ── */
@media print {
    nav,
    .hamburger,
    .hero-bg-glow,
    .page-hero-glow,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    body::before {
        display: none;
    }

    .glass-card,
    .service-card,
    .testimonial-card {
        border: 1px solid #ccc;
        background: white;
    }
}