/* =============================================
   Journee Labs — Modern Redesign
   Color Palette:
     Primary:    #0F2E2A (Deep Forest / Pine)
     Secondary:  #2E3438 (Slate / Warm Charcoal)
     Accent:     #B46A3C (Muted Copper / Clay)
     Background: #FAF9F6 (Soft Warm White)
     Borders:    #D8D6D1 (Stone Gray)
   Fonts:
     Body: Inter
     Headlines: Fraunces (serif accent)
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #0F2E2A;
    --color-primary-light: #1a4a44;
    --color-primary-lighter: #245e56;
    --color-secondary: #2E3438;
    --color-accent: #B46A3C;
    --color-accent-light: #c9834e;
    --color-accent-dark: #9a5730;
    --color-bg: #FAF9F6;
    --color-bg-alt: #F3F1EC;
    --color-border: #D8D6D1;
    --color-text: #3a3d40;
    --color-text-light: #6b7075;
    --color-text-lighter: #9a9ea3;
    --color-white: #ffffff;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Fraunces', 'Georgia', serif;

    --container-max: 1200px;
    --section-padding: 120px;
    --header-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 46, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 46, 42, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 46, 42, 0.10);
    --shadow-xl: 0 16px 48px rgba(15, 46, 42, 0.12);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 500;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-secondary);
}

em {
    font-style: italic;
    color: var(--color-accent);
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn i {
    font-size: 0.85em;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

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

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

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

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

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    background-color: transparent;
}

.site-header.is-scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary);
}

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

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--color-primary);
    background-color: rgba(15, 46, 42, 0.05);
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-bg) 0%, #f0efe9 50%, #e8ede7 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

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

/* Hero graphic */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-graphic {
    width: 420px;
    height: 420px;
    position: relative;
}

.graphic-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
}

.graphic-ring-1 {
    width: 100%;
    height: 100%;
    border-color: var(--color-border);
    top: 0;
    left: 0;
    animation: spin-slow 30s linear infinite;
}

.graphic-ring-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(180, 106, 60, 0.3);
    top: 15%;
    left: 15%;
    animation: spin-slow 20s linear infinite reverse;
}

.graphic-ring-3 {
    width: 40%;
    height: 40%;
    border-color: var(--color-primary);
    top: 30%;
    left: 30%;
    background: rgba(15, 46, 42, 0.03);
    animation: spin-slow 15s linear infinite;
}

.graphic-dot {
    position: absolute;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.graphic-dot-1 {
    width: 12px;
    height: 12px;
    top: 0;
    left: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.graphic-dot-2 {
    width: 8px;
    height: 8px;
    bottom: 15%;
    right: 5%;
    background-color: var(--color-primary);
    animation: pulse 3s ease-in-out infinite 1s;
}

.graphic-dot-3 {
    width: 10px;
    height: 10px;
    top: 40%;
    left: 5%;
    background-color: var(--color-primary-light);
    animation: pulse 3s ease-in-out infinite 2s;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
    max-width: 640px;
}

.section-header-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- About Section --- */
.section-about {
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

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

.stat-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(15, 46, 42, 0.06);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* --- Values Section --- */
.section-values {
    background-color: var(--color-bg-alt);
}

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

.value-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

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

.value-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Stagger animation for value cards */
.value-card:nth-child(1) { transition-delay: 0ms; }
.value-card:nth-child(2) { transition-delay: 60ms; }
.value-card:nth-child(3) { transition-delay: 120ms; }
.value-card:nth-child(4) { transition-delay: 180ms; }
.value-card:nth-child(5) { transition-delay: 240ms; }
.value-card:nth-child(6) { transition-delay: 300ms; }
.value-card:nth-child(7) { transition-delay: 360ms; }

/* --- Projects Section --- */
.section-projects {
    background-color: var(--color-bg);
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-bottom: 40px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

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

.project-card:last-child {
    margin-bottom: 0;
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.project-card-reverse {
    direction: rtl;
}

.project-card-reverse > * {
    direction: ltr;
}

.project-badge {
    display: inline-block;
    padding: 4px 14px;
    background-color: rgba(15, 46, 42, 0.06);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.project-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.project-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 12px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 32px;
}

.project-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--color-bg-alt);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
}

.project-feature i {
    color: var(--color-accent);
    font-size: 0.8rem;
}

/* Project visuals */
.project-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.project-graphic {
    width: 100%;
    height: 280px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-graphic-1 {
    background: linear-gradient(145deg, #0F2E2A 0%, #1a4a44 100%);
}

.pg-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(180, 106, 60, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.pg-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1px;
}

.pg-line-1 {
    width: 60%;
    top: 30%;
    left: 20%;
}

.pg-line-2 {
    width: 40%;
    top: 50%;
    left: 30%;
}

.pg-line-3 {
    width: 50%;
    top: 70%;
    left: 25%;
}

.pg-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.pg-dot-1 {
    top: 29%;
    left: 19%;
    animation: pulse 3s ease-in-out infinite;
}

.pg-dot-2 {
    top: 49%;
    right: 28%;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

.project-graphic-2 {
    background: linear-gradient(145deg, #2E3438 0%, #3d444a 100%);
}

.pg-map-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
}

.pg-map-dot-1 {
    top: 30%;
    left: 25%;
    animation: pulse 3s ease-in-out infinite;
}

.pg-map-dot-2 {
    top: 55%;
    left: 60%;
    animation: pulse 3s ease-in-out infinite 1s;
}

.pg-map-dot-3 {
    top: 40%;
    right: 20%;
    animation: pulse 3s ease-in-out infinite 2s;
}

.pg-map-line {
    position: absolute;
    height: 1px;
    background: rgba(180, 106, 60, 0.4);
    transform-origin: left center;
}

.pg-map-line-1 {
    width: 200px;
    top: 34%;
    left: 27%;
    transform: rotate(20deg);
}

.pg-map-line-2 {
    width: 120px;
    top: 56%;
    left: 62%;
    transform: rotate(-30deg);
}

/* CarsBySize project graphic */
.project-graphic-3 {
    background: linear-gradient(145deg, #1a3a2e 0%, #0F2E2A 40%, #2E3438 100%);
}

.pg-car-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1px;
}

.pg-car-line-1 {
    width: 70%;
    top: 40%;
    left: 15%;
}

.pg-car-line-2 {
    width: 50%;
    top: 55%;
    left: 25%;
}

.pg-car-line-3 {
    width: 30%;
    top: 70%;
    left: 35%;
}

.pg-car-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 3s ease-in-out infinite;
}

.pg-car-dot-1 {
    top: 38%;
    left: 14%;
}

.pg-car-dot-2 {
    top: 53%;
    right: 24%;
    animation-delay: 1.5s;
}

.pg-ruler {
    position: absolute;
    background: rgba(180, 106, 60, 0.5);
}

.pg-ruler-h {
    width: 60%;
    height: 1px;
    top: 82%;
    left: 20%;
}

.pg-ruler-h::before,
.pg-ruler-h::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 8px;
    background: rgba(180, 106, 60, 0.5);
    top: -3px;
}

.pg-ruler-h::before { left: 0; }
.pg-ruler-h::after { right: 0; }

.pg-ruler-v {
    width: 1px;
    height: 50%;
    top: 20%;
    right: 12%;
}

.pg-ruler-v::before,
.pg-ruler-v::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: rgba(180, 106, 60, 0.5);
    left: -3px;
}

.pg-ruler-v::before { top: 0; }
.pg-ruler-v::after { bottom: 0; }

/* --- Contact Section --- */
.section-contact {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
}

.section-contact .section-label {
    color: var(--color-accent-light);
}

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

.section-contact p {
    color: rgba(255, 255, 255, 0.7);
}

.section-contact a:not(.btn):not(.social-link) {
    color: var(--color-accent-light);
}

.section-contact a:not(.btn):not(.social-link):hover {
    color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

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

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.contact-detail h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
    transition-delay: 150ms;
}

.contact-form-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(4px);
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(180, 106, 60, 0.2);
}

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

.contact-form .btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    margin-top: 4px;
}

.contact-form .btn-primary:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo-mark {
    background-color: var(--color-accent);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--color-white);
}

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

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* --- Scroll reveal animations --- */
.about-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

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

/* Stagger stat cards */
.stat-card:nth-child(1) { transition-delay: 0ms; }
.stat-card:nth-child(2) { transition-delay: 100ms; }
.stat-card:nth-child(3) { transition-delay: 200ms; }
.stat-card:nth-child(4) { transition-delay: 300ms; }

/* --- Responsive --- */

/* Tablet */
@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .project-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .project-card-reverse {
        direction: ltr;
    }

    .project-card-visual {
        min-height: 200px;
    }

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

/* Mobile */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --header-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-xl);
        padding: 100px 32px 32px;
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

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

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

    .project-card {
        padding: 28px;
    }

    .project-features {
        gap: 8px;
    }

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

    .contact-form {
        padding: 28px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

@media screen and (max-width: 480px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .project-graphic {
        height: 200px;
    }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .value-card,
    .stat-card,
    .project-card,
    .about-text,
    .contact-info,
    .contact-form-wrapper {
        opacity: 1;
        transform: none;
    }
}
