/* ============================================
   SF FOTO — Pico CSS Overrides + BEM
   ============================================ */

/* --- Pico Theme Overrides --- */
:root[data-theme="dark"] {
    --pico-background-color: #050505;
    --pico-color: #d4d4d4;
    --pico-h1-color: #f0f0f0;
    --pico-h2-color: #f0f0f0;
    --pico-h3-color: #f0f0f0;
    --pico-h4-color: #f0f0f0;
    --pico-primary: #ff5757;
    --pico-primary-hover: #ff751f;
    --pico-card-background-color: #111111;
    --pico-card-border-color: rgba(255, 255, 255, 0.04);
    --pico-muted-color: #666666;
    --pico-muted-border-color: rgba(255, 255, 255, 0.06);
    --pico-block-spacing-vertical: 0;
    --pico-block-spacing-horizontal: 0;
    --pico-border-radius: 0;
}

/* --- Custom Variables --- */
:root {
    --color-bg: #050505;
    --color-bg-alt: #0c0c0c;
    --color-bg-card: #111111;
    --color-text: #f0f0f0;
    --color-text-muted: #d4d4d4;
    --color-text-dim: #666666;
    --color-red: #ff5757;
    --color-orange: #ff751f;
    --color-accent-gradient: linear-gradient(135deg, #ff5757, #ff751f);
    --color-accent-gradient-h: linear-gradient(90deg, #ff5757, #ff751f);
    --font-heading: 'Sora', -apple-system, sans-serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --section-pad: clamp(80px, 10vw, 140px);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Base Overrides --- */
body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-muted);
    background-color: var(--color-bg);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li, ol li {
    padding: 0;
    margin: 0;
}

/* Override Pico link underlines */
a:not([role]) {
    --pico-text-decoration: none;
}

/* Override Pico nav styles */
nav ul {
    padding: 0;
    margin: 0;
}

nav ul li {
    padding: 0;
    margin: 0;
}

address {
    font-style: normal;
}

::selection {
    background: var(--color-red);
    color: #fff;
}

/* Remove Pico's default container padding on sections */
section {
    padding: 0;
    margin: 0;
}

/* Override Pico's article styles */
article {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
}


/* ============================================
   SITE-HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header--scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-header__nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-header__logo img {
    height: auto;
    width: 140px;
    transition: opacity var(--transition);
}

.site-header__logo:hover img {
    opacity: 0.8;
}

.site-header__links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.site-header__link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition);
    position: relative;
}

.site-header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-gradient-h);
    transition: width var(--transition);
}

.site-header__link:hover,
.site-header__link--active {
    color: var(--color-text);
}

.site-header__link:hover::after,
.site-header__link--active::after {
    width: 100%;
}

/* --- Dropdown --- */
.site-header__dropdown {
    position: relative;
}

.site-header__chevron {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform var(--transition);
}

.site-header__dropdown:hover .site-header__chevron {
    transform: rotate(180deg);
}

.site-header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.site-header__dropdown:hover .site-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.site-header__dropdown-menu li {
    display: block;
    width: 100%;
}

.site-header__dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    transition: color var(--transition), background var(--transition);
}

.site-header__dropdown-menu a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
}

/* --- Mobile Toggle --- */
.site-header__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.site-header__toggle-bar {
    width: 28px;
    height: 1.5px;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

.site-header__toggle--active .site-header__toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.site-header__toggle--active .site-header__toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ============================================
   SECTION-HERO
   ============================================ */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(60px, 8vw, 120px);
    overflow: hidden;
}

.section-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.section-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(5, 5, 5, 0.3) 0%,
            rgba(5, 5, 5, 0.1) 30%,
            rgba(5, 5, 5, 0.6) 70%,
            rgba(5, 5, 5, 0.95) 100%
        ),
        linear-gradient(90deg,
            rgba(5, 5, 5, 0.5) 0%,
            transparent 60%
        );
}

.section-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-hero__accent {
    width: 60px;
    height: 3px;
    background: var(--color-accent-gradient-h);
    margin-bottom: 28px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineReveal 0.8s 0.3s ease-out forwards;
}

@keyframes lineReveal {
    to { opacity: 1; transform: scaleX(1); }
}

.section-hero__title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 24px;
}

.section-hero__title-line {
    display: block;
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.5s ease-out forwards;
}

.section-hero__title-line--em {
    font-weight: 300;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.7s;
}

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

.section-hero__subtitle {
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s ease-out forwards;
}

.section-hero .btn {
    opacity: 0;
    animation: fadeUp 0.8s 1.1s ease-out forwards;
}

.section-hero__scroll {
    position: absolute;
    bottom: 40px;
    right: clamp(20px, 4vw, 60px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 1.4s ease-out forwards;
}

.section-hero__scroll span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
}

.section-hero__scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-text-dim);
    position: relative;
    overflow: hidden;
}

.section-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent-gradient);
    animation: scrollLine 2s ease-in-out infinite;
}

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


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn--primary {
    background: var(--color-accent-gradient);
    color: #fff;
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.btn--primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 87, 87, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn--lg {
    padding: 20px 48px;
    font-size: 14px;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


/* ============================================
   SECTION-IMAGE-TEXT
   ============================================ */
.section-image-text {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-image-text--alt {
    background: var(--color-bg-alt);
}

.section-image-text__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.section-image-text--reversed .section-image-text__content {
    order: 2;
}

.section-image-text--reversed .section-image-text__media {
    order: 1;
}

.section-image-text__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-image-text__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-image-text__text {
    margin-bottom: 20px;
    max-width: 580px;
}

.section-image-text__list {
    margin-bottom: 24px;
    padding-left: 0 !important;
    list-style: none !important;
}

.section-image-text__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    list-style: none;
}

.section-image-text__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1px;
    background: var(--color-accent-gradient-h);
}

.section-image-text__image {
    position: relative;
    overflow: hidden;
}

.section-image-text__image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Stagger variant */
.section-image-text__stagger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.section-image-text__stagger-item {
    overflow: hidden;
    position: relative;
}

.section-image-text__stagger-item--offset {
    margin-top: 60px;
}

.section-image-text__stagger-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.section-image-text__stagger-item:hover img {
    transform: scale(1.04);
}

/* Mosaic variant */
.section-image-text__mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 520px;
}

.section-image-text__mosaic-item {
    overflow: hidden;
    position: relative;
}

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

.section-image-text__mosaic-item:hover img {
    transform: scale(1.05);
}

.section-image-text__mosaic-item--tall {
    grid-row: 1 / 3;
}


/* ============================================
   SECTION-GALLERY
   ============================================ */
.section-gallery {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-gallery--alt {
    background: var(--color-bg-alt);
}

.section-gallery__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-gallery__header {
    text-align: center;
    margin-bottom: 48px;
}

.section-gallery__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-gallery__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

.section-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.section-gallery__item {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1;
}

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

.section-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.section-gallery__item-overlay span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color var(--transition);
}

.section-gallery__item:hover img {
    transform: scale(1.08);
}

.section-gallery__item:hover .section-gallery__item-overlay {
    opacity: 1;
}

.section-gallery__item:hover .section-gallery__item-overlay span {
    border-color: var(--color-red);
}

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


/* ============================================
   SECTION-TESTIMONIAL
   ============================================ */
.section-testimonial {
    padding: var(--section-pad) 0;
    overflow: hidden;
    background: var(--color-bg-card);
    position: relative;
}

.section-testimonial__bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background:
        radial-gradient(ellipse at 20% 50%, var(--color-red), transparent 60%),
        radial-gradient(ellipse at 80% 50%, var(--color-orange), transparent 60%);
}

.section-testimonial__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-testimonial__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.section-testimonial__mark {
    font-family: var(--font-heading);
    font-size: 120px;
    line-height: 0.8;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    opacity: 0.4;
}

.section-testimonial__quote {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.8vw, 32px);
    font-style: normal;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 32px;
    border: none;
    padding: 0;
}

.section-testimonial__attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-testimonial__line {
    width: 40px;
    height: 1px;
    background: var(--color-accent-gradient-h);
}

.section-testimonial__attribution cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}


/* ============================================
   SECTION-PROCESS
   ============================================ */
.section-process {
    padding: var(--section-pad) 0;
    text-align: center;
}

.section-process__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-process__header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-process__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-process__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-process__intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.section-process__step {
    padding: 40px 24px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    text-align: left;
    transition: border-color var(--transition), transform var(--transition);
}

.section-process__step:hover {
    border-color: rgba(255, 87, 87, 0.2);
    transform: translateY(-4px);
}

.section-process__step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent-gradient-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.section-process__step:hover::before {
    transform: scaleX(1);
}

.section-process__step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.section-process__step-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-process__step p {
    font-size: 15px;
    line-height: 1.6;
}

.section-process__note {
    max-width: 600px;
    margin: 0 auto 32px;
    text-align: center;
}


/* ============================================
   SECTION-CTA
   ============================================ */
.section-cta {
    position: relative;
    padding: clamp(100px, 12vw, 180px) 0;
    text-align: center;
    overflow: hidden;
}

.section-cta__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-cta__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.section-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(5, 5, 5, 0.7);
}

.section-cta__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.section-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-cta__text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
}


/* ============================================
   SECTION-SERVICES (Homepage cards)
   ============================================ */
.section-services {
    padding: var(--section-pad) 0;
}

.section-services__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-services__header {
    text-align: center;
    margin-bottom: 56px;
}

.section-services__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-services__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-services__text {
    max-width: 620px;
    margin: 0 auto;
}

.section-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.section-services__card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
}

.section-services__card:hover {
    border-color: rgba(255, 87, 87, 0.25);
    transform: translateY(-6px);
}

.section-services__card-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

.section-services__card:hover .section-services__card-image img {
    transform: scale(1.06);
}

.section-services__card-body {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.section-services__card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-services__card-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.section-services__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    transition: color var(--transition);
}

.section-services__card:hover .section-services__card-link {
    color: var(--color-red);
}

.section-services__card-link svg {
    transition: transform var(--transition);
}

.section-services__card:hover .section-services__card-link svg {
    transform: translateX(4px);
}


/* ============================================
   SECTION-CLIENTS (Logo slider)
   ============================================ */
.section-clients {
    background: var(--color-bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 0 28px;
    overflow: hidden;
}

.section-clients__label {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.section-clients__slider {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.section-clients__track {
    display: flex;
    gap: 56px;
    align-items: center;
    width: max-content;
    animation: clientScroll 30s linear infinite;
}

.section-clients__track:hover {
    animation-play-state: paused;
}

@keyframes clientScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-clients__logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
}

.section-clients__logo span {
    font-weight: 300;
}


/* ============================================
   SITE-FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-card);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.site-footer__logo {
    height: 58px;
    width: auto;
    margin-bottom: 16px;
}

.site-footer__tagline {
    font-size: 14px;
    color: var(--color-text-dim);
    max-width: 280px;
}

.site-footer__heading {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 20px;
}

.site-footer__nav li {
    margin-bottom: 10px;
}

.site-footer__nav a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.site-footer__nav a:hover {
    color: var(--color-red);
}

.site-footer__contact p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.site-footer__contact a {
    transition: color var(--transition);
}

.site-footer__contact a:hover {
    color: var(--color-red);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
}

.site-footer__bottom p {
    font-size: 13px;
    color: var(--color-text-dim);
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.lightbox--active {
    opacity: 1;
    visibility: visible;
}

.lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: none;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox--active .lightbox__image {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition);
}

.lightbox__close:hover {
    border-color: var(--color-red);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition);
}

.lightbox__nav:hover {
    border-color: var(--color-red);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    white-space: nowrap;
}


/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up { transform: translateY(40px); }

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed {
    opacity: 1;
    transform: translate(0);
}

.section-process__step.reveal-up {
    transition-delay: calc(var(--delay, 0) * 0.15s);
}

.section-services__card.reveal-up {
    transition-delay: calc(var(--delay, 0) * 0.12s);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .section-image-text__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-image-text--reversed .section-image-text__content,
    .section-image-text--reversed .section-image-text__media {
        order: unset;
    }

    .section-image-text__mosaic {
        height: 400px;
    }

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

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

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

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .site-header__toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .site-header__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 40px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .site-header__links--open {
        opacity: 1;
        visibility: visible;
    }

    .site-header__links > li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .site-header__links--open > li {
        opacity: 1;
        transform: translateY(0);
    }

    .site-header__links--open > li:nth-child(1) { transition-delay: 0.1s; }
    .site-header__links--open > li:nth-child(2) { transition-delay: 0.15s; }
    .site-header__links--open > li:nth-child(3) { transition-delay: 0.2s; }
    .site-header__links--open > li:nth-child(4) { transition-delay: 0.25s; }
    .site-header__links--open > li:nth-child(5) { transition-delay: 0.3s; }
    .site-header__links--open > li:nth-child(6) { transition-delay: 0.35s; }

    .site-header__link {
        font-size: 28px;
        font-family: var(--font-heading);
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: none;
        padding: 14px 0;
        display: block;
    }

    .site-header__link::after {
        display: none;
    }

    .site-header__dropdown {
        text-align: center;
    }

    .site-header__dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        min-width: 0;
        text-align: center;
        transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .site-header__dropdown--open .site-header__dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        pointer-events: auto;
        padding: 4px 0 8px 0;
    }

    .site-header__dropdown-menu a {
        padding: 8px 0;
        font-size: 16px;
        color: var(--color-text-dim);
    }

    .site-header__chevron {
        transition: transform 0.3s ease;
    }

    .site-header__dropdown--open .site-header__chevron {
        transform: rotate(180deg);
    }

    .section-hero__scroll {
        display: none;
    }

    .section-hero__content {
        margin-left: 20px;
        padding: 0 20px;
    }

    .section-image-text__mosaic {
        height: 320px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .section-image-text__mosaic-item--tall {
        grid-row: auto;
    }

    .section-image-text__mosaic-item:nth-child(3) {
        display: none;
    }

    .section-image-text__stagger {
        grid-template-columns: 1fr;
    }

    .section-image-text__stagger-item--offset {
        margin-top: 0;
    }

    .section-process__steps {
        grid-template-columns: 1fr;
    }

    .section-services__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .btn-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }

    .site-header__nav { height: 64px; }

    .section-hero { min-height: 90vh; }

    .section-image-text__stagger-item img {
        aspect-ratio: 4 / 3;
    }

    .section-process__step {
        padding: 28px 20px;
    }

    .section-services__card-body {
        padding: 20px 20px 24px;
    }
}


/* ============================================
   GRAIN OVERLAY
   ============================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
