/* style.css — BMW M Design System Applied */

:root {
    /* BMW M Colors */
    --clr-primary: #ffffff;
    --clr-ink: #ffffff;
    --clr-body: #bbbbbb;
    --clr-body-strong: #e6e6e6;
    --clr-muted: #7e7e7e;
    --clr-hairline: #3c3c3c;
    --clr-hairline-strong: #262626;
    --clr-canvas: #000000;
    --clr-surface-card: #1a1a1a;
    --clr-surface-elevated: #262626;
    --clr-surface-soft: #0d0d0d;
    --clr-on-primary: #000000;
    --clr-on-dark: #ffffff;

    /* M Tricolor */
    --clr-m-blue-light: #0066b1;
    --clr-m-blue-dark: #1c69d4;
    --clr-m-red: #e22718;

    --clr-warning: #f4b400;
    --clr-success: #0fa336;

    /* Typography — Inter as BMW Type Next Latin substitute */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --sp-xxs: 4px;
    --sp-xs: 8px;
    --sp-sm: 12px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 40px;
    --sp-xxl: 64px;
    --sp-section: 96px;

    /* Border Radius — almost always 0 */
    --rounded-none: 0px;
    --rounded-full: 9999px;

    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--clr-body);
    background-color: var(--clr-canvas);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 16px;
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-canvas);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

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

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

.preloader-content .logo {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: pulse 2s infinite alternate;
}

.m-stripe-loader {
    display: flex;
    width: 120px;
    height: 4px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.m-stripe-loader .stripe-segment {
    flex: 1;
}

.loading-bar {
    width: 200px;
    height: 1px;
    background-color: var(--clr-hairline);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--clr-on-dark);
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================
   SCROLL PROGRESS
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-m-blue-light), var(--clr-m-blue-dark), var(--clr-m-red));
    z-index: 10000;
}

/* ==========================================
   M STRIPE DIVIDER
   ========================================== */
.m-stripe-divider {
    display: flex;
    width: 100%;
    height: 4px;
}

.stripe-segment {
    flex: 1;
}

.stripe-blue-light {
    background-color: var(--clr-m-blue-light);
}

.stripe-blue-dark {
    background-color: var(--clr-m-blue-dark);
}

.stripe-red {
    background-color: var(--clr-m-red);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-on-dark);
    text-transform: uppercase;
}

h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

p {
    margin-bottom: 1rem;
    color: var(--clr-body);
    font-weight: 300;
}

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

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: var(--sp-xxl);
}

.section-title h2 {
    margin-bottom: var(--sp-md);
}

.section-title p {
    font-size: 18px;
    font-weight: 300;
    color: var(--clr-body);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   BUTTONS — Rectangular, machined feel
   ========================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--rounded-none);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--clr-on-dark);
    color: var(--clr-canvas);
    border: 1px solid var(--clr-on-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--clr-on-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-on-dark);
    border: 1px solid var(--clr-hairline);
}

.btn-secondary:hover {
    border-color: var(--clr-on-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-on-dark);
    border: 1px solid var(--clr-on-dark);
}

.btn-outline:hover {
    background-color: var(--clr-on-dark);
    color: var(--clr-canvas);
}

.link-arrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--clr-on-dark);
    margin-top: 1.5rem;
    transition: var(--transition-fast);
}

.link-arrow:hover {
    color: var(--clr-m-blue-dark);
    transform: translateX(5px);
}

/* ==========================================
   HEADER & NAV — 64px black bar
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-canvas);
    transition: var(--transition-fast);
    height: 64px;
    display: flex;
    align-items: center;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 1px 0 var(--clr-hairline);
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-on-dark);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}

.nav-links li a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--clr-body);
    text-transform: uppercase;
}

.nav-links li a:not(.btn):hover {
    color: var(--clr-on-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--clr-on-dark);
    transition: var(--transition-fast);
}

/* ==========================================
   HERO — Full-bleed photo band
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--clr-on-dark);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: var(--sp-xxl);
}

.cinematic-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Always-visible animated background (futuristic particles/aurora) */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(ellipse at 15% 75%, rgba(28, 105, 212, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 102, 177, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 65%, rgba(226, 39, 24, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 35% 25%, rgba(28, 105, 212, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 83, 182, 0.15) 0%, transparent 60%),
        var(--clr-canvas);
    animation: auroraShift 12s ease-in-out infinite alternate;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(3px 3px at 80% 10%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(2px 2px at 10% 60%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(3px 3px at 30% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 50%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 15%, rgba(255,255,255,0.3) 0%, transparent 100%);
    animation: particleDrift 20s linear infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(0deg, transparent 95%, rgba(60,60,60,0.08) 95%),
        linear-gradient(90deg, transparent 95%, rgba(60,60,60,0.08) 95%);
    background-size: 80px 80px;
    opacity: 0.4;
}

@keyframes auroraShift {
    0% {
        background:
            radial-gradient(ellipse at 15% 75%, rgba(28, 105, 212, 0.5) 0%, transparent 55%),
            radial-gradient(ellipse at 85% 15%, rgba(0, 102, 177, 0.4) 0%, transparent 55%),
            radial-gradient(ellipse at 60% 65%, rgba(226, 39, 24, 0.25) 0%, transparent 45%),
            radial-gradient(ellipse at 35% 25%, rgba(28, 105, 212, 0.35) 0%, transparent 45%),
            radial-gradient(ellipse at 50% 50%, rgba(6, 83, 182, 0.15) 0%, transparent 60%),
            var(--clr-canvas);
    }
    100% {
        background:
            radial-gradient(ellipse at 75% 20%, rgba(28, 105, 212, 0.5) 0%, transparent 55%),
            radial-gradient(ellipse at 25% 85%, rgba(0, 102, 177, 0.35) 0%, transparent 55%),
            radial-gradient(ellipse at 20% 35%, rgba(226, 39, 24, 0.3) 0%, transparent 45%),
            radial-gradient(ellipse at 80% 65%, rgba(28, 105, 212, 0.25) 0%, transparent 45%),
            radial-gradient(ellipse at 50% 50%, rgba(6, 83, 182, 0.15) 0%, transparent 60%),
            var(--clr-canvas);
    }
}

@keyframes particleDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.cinematic-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: cinematicZoom 30s linear infinite alternate;
}

.video-bg {
    transform: scale(1.05);
}

@keyframes cinematicZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.netflix-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.75) 100%),
        radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero h1 {
    color: var(--clr-on-dark);
    text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.hero p {
    color: var(--clr-body-strong);
    font-size: 18px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto var(--sp-xl);
    text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 6px;
    background-color: var(--clr-on-dark);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================
   ABOUT
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxl);
    align-items: center;
}

.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-m-blue-light), var(--clr-m-blue-dark), var(--clr-m-red));
    z-index: 1;
}

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

.about-text h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.about-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================
   SERVICES
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--sp-lg);
    margin-top: var(--sp-xl);
}

/* Featured Service Card */
.service-card-featured {
    background-color: var(--clr-surface-card);
    border: 1px solid var(--clr-hairline);
    border-radius: var(--rounded-none);
    padding: var(--sp-xl) var(--sp-xxl);
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-lg);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.service-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-m-blue-light), var(--clr-m-blue-dark), var(--clr-m-red));
}

.service-card-featured:hover {
    border-color: var(--clr-hairline-strong);
}

.featured-icon {
    font-size: 4rem;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-surface-soft);
    border: 1px solid var(--clr-hairline);
}

.featured-content h3 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    color: var(--clr-on-dark);
}

.featured-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--clr-body);
}

.featured-content .link-arrow {
    margin-top: var(--sp-lg);
}

/* Service Cards — Magazine Editorial */
.service-card-editorial {
    position: relative;
    overflow: hidden;
    border-radius: var(--rounded-none);
    cursor: pointer;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: inherit;
    background-position: inherit;
    background-image: inherit;
    transition: transform 0.7s ease;
    z-index: 0;
}

.service-card-editorial:hover::before {
    transform: scale(1.08);
}

.service-card-editorial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.6) 35%,
        rgba(0, 0, 0, 0.15) 60%,
        transparent 100%
    );
    z-index: 1;
    transition: background 0.5s ease;
}

.service-card-editorial:hover::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.editorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--sp-xl) var(--sp-lg);
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.editorial-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--clr-m-blue-dark);
    letter-spacing: 2px;
    margin-bottom: var(--sp-sm);
    padding: 4px 10px;
    border: 1px solid rgba(28, 105, 212, 0.4);
    background: rgba(28, 105, 212, 0.1);
}

.editorial-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--clr-on-dark);
    margin-bottom: var(--sp-sm);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.editorial-overlay p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--clr-body);
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.service-card-editorial:hover .editorial-overlay p {
    max-height: 200px;
    opacity: 1;
}

.service-card-editorial:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* M-stripe accent on hover */
.service-card-editorial .editorial-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-m-blue-light), var(--clr-m-blue-dark), var(--clr-m-red));
    transition: width 0.6s ease;
}

.service-card-editorial:hover .editorial-overlay::before {
    width: 100%;
}


/* ==========================================
   PORTFOLIO
   ==========================================*/
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--rounded-none);
    cursor: pointer;
    aspect-ratio: 16/10;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--clr-on-dark);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--sp-xxs);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-overlay p {
    color: var(--clr-body-strong);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s;
}

.portfolio-item:hover h3,
.portfolio-item:hover p {
    transform: translateY(0);
}

/* ==========================================
   MARQUEE GALLERY
   ========================================== */
.marquee-section {
    background-color: var(--clr-surface-soft);
    padding: var(--sp-xxl) 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: var(--sp-lg);
    width: max-content;
    animation: marquee 35s linear infinite;
    align-items: center;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-img {
    height: 360px;
    width: 540px;
    object-fit: cover;
    border-radius: var(--rounded-none);
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.65);
    flex-shrink: 0;
}

.marquee-img:hover {
    filter: brightness(1);
    transform: scale(1.02);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxl);
}

.contact-info h2 {
    font-size: clamp(28px, 3.5vw, 40px);
}

.info-item {
    margin-top: var(--sp-lg);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--clr-hairline);
}

.info-item h4 {
    margin-bottom: var(--sp-xs);
    color: var(--clr-on-dark);
}

.info-item p {
    color: var(--clr-body);
}

.contact-form {
    background-color: var(--clr-surface-card);
    padding: var(--sp-xl);
    border: 1px solid var(--clr-hairline);
    border-radius: var(--rounded-none);
}

.form-group {
    margin-bottom: var(--sp-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--sp-xs);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--clr-body-strong);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--sp-sm) var(--sp-md);
    background-color: var(--clr-surface-soft);
    border: 1px solid var(--clr-hairline);
    color: var(--clr-on-dark);
    border-radius: var(--rounded-none);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    height: 48px;
    transition: border-color 0.3s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-on-dark);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--clr-canvas);
    color: var(--clr-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-lg);
    padding: var(--sp-xxl) var(--sp-lg);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-on-dark);
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--clr-m-red);
}

footer p {
    color: var(--clr-muted);
    font-size: 14px;
    font-weight: 300;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }

    .service-card-featured {
        flex-direction: column;
        text-align: center;
        padding: var(--sp-lg);
        gap: var(--sp-lg);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--clr-canvas);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .service-card-editorial {
        aspect-ratio: 16/10;
    }

    .editorial-overlay p {
        max-height: 200px;
        opacity: 1;
    }

    .service-card-featured {
        padding: var(--sp-lg);
    }

    .featured-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .hero-content {
        padding: var(--sp-xl) var(--sp-lg);
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: clamp(32px, 8vw, 48px);
        word-break: break-word;
    }

    h2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .hero p {
        font-size: 16px;
        padding: 0 var(--sp-xs);
    }

    .hero-content {
        padding: var(--sp-xl) var(--sp-md);
        max-width: 100%;
    }
}

/* Extra small phones (< 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: clamp(28px, 7.5vw, 40px);
        letter-spacing: -1px;
    }

    h2 {
        font-size: clamp(22px, 5.5vw, 32px);
    }

    .hero-content {
        padding: var(--sp-lg) var(--sp-sm);
    }

    .hero p {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--sp-md);
    }

    .contact-info h2 {
        font-size: clamp(20px, 5vw, 28px);
    }

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

    .section-title p {
        font-size: 15px;
        padding: 0 var(--sp-xs);
    }
}
