/* ============================================
   Advantage Precision Plastics — Stylesheet
   Bold editorial design · Burgundy + Blush
   ============================================ */

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

:root {
    --color-burgundy: #7B2D3B;
    --color-burgundy-dark: #5C1F2B;
    --color-burgundy-light: #9A3D4E;
    --color-blush: #F5E6D3;
    --color-blush-light: #FBF5EF;
    --color-blush-dark: #E8D1BC;
    --color-cream: #FDF8F4;
    --color-charcoal: #1A1A1A;
    --color-text: #2C2C2C;
    --color-text-muted: #6B6B6B;
    --color-border: #E8E0D8;
    --color-white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 32px rgba(123, 45, 59, 0.10);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-burgundy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-burgundy);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-lg);
}

.text-accent {
    color: var(--color-burgundy);
    font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-ghost:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 0.9375rem;
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-burgundy);
    text-decoration: none;
}

.logo-mark {
    color: var(--color-burgundy);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-burgundy);
}

.logo-secondary {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ---------- Navigation ---------- */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-burgundy);
    transition: width var(--transition-base);
}

.nav-list a:hover::after,
.nav-list a:focus::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--color-burgundy);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-burgundy);
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-burgundy-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-charcoal);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--color-cream);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.hero-asym-left {
    padding-right: var(--space-xl);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    color: var(--color-charcoal);
}

.hero-accent {
    color: var(--color-burgundy);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Image Stack */
.hero-asym-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-img-primary {
    width: 360px;
    height: 480px;
    top: 0;
    right: 0;
}

.hero-img-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-secondary {
    width: 260px;
    height: 195px;
    bottom: 40px;
    left: 0;
    border: 4px solid var(--color-cream);
}

.hero-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-badge {
    position: absolute;
    bottom: 280px;
    left: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero-img-badge svg {
    opacity: 0.8;
}

.hero-img-badge span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    background: var(--color-cream);
}

.service-card:hover {
    border-color: var(--color-burgundy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-blush);
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-image-col {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--color-cream);
    box-shadow: var(--shadow-md);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content-col {
    padding-top: var(--space-xl);
}

.about-body {
    margin-bottom: var(--space-xl);
}

.about-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.value-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.value-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-charcoal);
}

/* ---------- Capabilities / Process ---------- */
.capabilities {
    padding: var(--space-4xl) 0;
    background: var(--color-burgundy);
    color: var(--color-white);
}

.capabilities .section-eyebrow {
    color: var(--color-blush);
}

.capabilities .section-heading {
    color: var(--color-white);
}

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

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.process-step {
    position: relative;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
}

.process-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-blush);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.process-title {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.process-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(245, 230, 211, 0.7);
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-connector::before {
    content: '';
    width: 40px;
    height: 1px;
    background: rgba(245, 230, 211, 0.3);
}

.capabilities-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.capability-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.capability-item:hover img {
    transform: scale(1.05);
}

.capability-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.7));
}

/* ---------- Industries ---------- */
.industries {
    padding: var(--space-2xl) 0;
    background: var(--color-blush);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.industries-eyebrow {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.industry-tag {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

.industry-tag:hover {
    border-color: var(--color-burgundy);
    color: var(--color-burgundy);
    background: var(--color-cream);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.cta-content {
    flex: 1;
}

.cta-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info-col {
    padding-top: var(--space-sm);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-blush);
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-text a {
    color: var(--color-charcoal);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--color-burgundy);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-top: var(--space-lg);
}

/* ---------- Contact Form ---------- */
.contact-form-col {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    text-align: center;
}

/* Form Success */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-burgundy);
}

.form-success h4 {
    font-size: 1.5rem;
    margin: var(--space-md) 0 0.75rem;
    color: var(--color-charcoal);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 320px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-charcoal);
    color: var(--color-blush);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(245, 230, 211, 0.12);
}

.footer-brand .logo {
    color: var(--color-blush);
    margin-bottom: var(--space-md);
}

.footer-brand .logo-primary {
    color: var(--color-blush);
}

.footer-brand .logo-secondary {
    color: rgba(245, 230, 211, 0.5);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(245, 230, 211, 0.6);
    max-width: 300px;
}

.footer-nav-title {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: var(--space-md);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(245, 230, 211, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact a {
    color: rgba(245, 230, 211, 0.6);
    font-size: 0.875rem;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.copyright {
    font-size: 0.8125rem;
    color: rgba(245, 230, 211, 0.4);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-asym-left {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-asym-right {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image-stack {
        height: 450px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-accent {
        right: 0;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-connector {
        display: none;
    }
    
    .capabilities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-slow);
        z-index: 100;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav-list a {
        font-size: 1.125rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-2xl);
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    .hero-image-stack {
        height: 380px;
    }
    
    .hero-img-primary {
        width: 240px;
        height: 320px;
    }
    
    .hero-img-secondary {
        width: 170px;
        height: 128px;
        bottom: 20px;
    }
    
    .hero-img-badge {
        bottom: 180px;
        left: -10px;
        padding: 0.75rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .capabilities-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-image-stack {
        height: 320px;
    }
    
    .hero-img-primary {
        width: 200px;
        height: 270px;
    }
    
    .hero-img-secondary {
        width: 140px;
        height: 105px;
    }
    
    .hero-img-badge {
        display: none;
    }
    
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-sm);
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .contact-form-col {
        padding: var(--space-md);
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    z-index: 99;
}

.nav-overlay.active {
    display: block;
}
