﻿/* ==========================================================================
   Home page
   ========================================================================== */

/* --- Base page --- */
.page-home {
    background: var(--color-surface);
    color: var(--color-text);
    position: relative;
}

.dark .page-home {
    background: var(--brand-nearblack);
    color: var(--brand-offwhite);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 3rem;
    }
}

.section {
    padding-block: var(--section-padding-y);
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
    .section {
        padding-block: var(--section-padding-y-lg);
    }
}

.section--alt {
    background: var(--gray-50);
}

.dark .section--alt {
    background: #050505;
}

.section--muted {
    background: var(--gray-100);
}

.dark .section--muted {
    background: #050505;
}

.section--dark {
    background: var(--gray-50);
}

.dark .section--dark {
    background: var(--brand-black);
}

.section--surface {
    background: var(--color-surface);
}

.dark .section--surface {
    background: var(--brand-nearblack);
}

/* --- Section labels & headings --- */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.section-label__number {
    color: var(--color-accent);
    font-weight: 700;
}

.dark .section-label__number {
    color: var(--color-accent-400);
}

.section-label__text {
    color: var(--gray-500);
}

.dark .section-label__text {
    color: var(--brand-gray);
}

.section-heading {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: var(--leading-tight);
    color: var(--color-text);
    margin: 0;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
        line-height: var(--leading-tight);
    }
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 3rem;
        line-height: var(--leading-tight);
    }
}

.section-heading--md-only {
    font-size: 1.875rem;
    line-height: var(--lh-text-3xl);
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .section-heading--md-only {
        font-size: 2.25rem;
        line-height: var(--lh-text-4xl);
    }
}

@media (min-width: 1024px) {
    .section-heading--md-only {
        font-size: 2.25rem;
        line-height: var(--lh-text-4xl);
    }
}

.dark .section-heading {
    color: var(--brand-white);
}

.section-heading--center {
    text-align: center;
}

.section-subtitle {
    color: var(--color-text-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: var(--lh-text-base);
    margin: 0;
    margin-top: 10px;
}

.section-subtitle--center {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem;
        line-height: var(--lh-text-lg);
    }
}

.dark .section-subtitle {
    color: var(--brand-graylight);
}



/* Site header, mobile menu, and footer live in areas/public/assets/css/layout.css */


/* --- Hero --- */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
}

.hero--has-bg {
    border-bottom-color: transparent;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--brand-offwhite);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--hero-bg-mobile-light, var(--hero-bg-mobile-dark, none));
}

.dark .hero__bg {
    background-color: var(--brand-nearblack);
    background-image: var(--hero-bg-mobile-dark, var(--hero-bg-mobile-light, none));
}

.hero__visual {
    display: none;
}

.hero__media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top center;
}

.hero__media-img--dark {
    display: none;
}

.dark .hero__media-img--light {
    display: none;
}

.dark .hero__media-img--dark {
    display: block;
}

/* Mobile: natural image height + long fade into hero background */
@media (max-width: 1023px) {
    .hero--has-bg {
        --hero-mobile-fade-color: var(--color-surface);
        --hero-mobile-fade-size: 9rem;
        min-height: auto;
        display: block;
        padding-top: 0;
        padding-bottom: 2rem;
        overflow: hidden;
        background: var(--hero-mobile-fade-color);
    }

    .dark .hero--has-bg {
        --hero-mobile-fade-color: var(--brand-nearblack);
    }

    .hero--has-bg .hero__visual {
        display: block;
        position: relative;
    }

    .hero--has-bg .hero__bg,
    .hero--has-bg .hero__overlay--desktop {
        display: none;
    }

    .hero--has-bg .hero__media {
        position: relative;
        mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 28%,
            rgba(0, 0, 0, 0.82) 52%,
            rgba(0, 0, 0, 0.35) 76%,
            transparent 100%
        );
    }

    .hero--has-bg .hero__overlay--visual {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: calc(var(--hero-mobile-fade-size) * -1);
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 240)) 0%,
            rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 480)) 18%,
            transparent 42%,
            color-mix(in srgb, var(--hero-mobile-fade-color) 35%, transparent) 72%,
            var(--hero-mobile-fade-color) 100%
        );
    }

    .dark .hero--has-bg .hero__overlay--visual {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 200)) 0%,
            rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 380)) 18%,
            transparent 42%,
            color-mix(in srgb, var(--hero-mobile-fade-color) 40%, transparent) 72%,
            var(--hero-mobile-fade-color) 100%
        );
    }

    .hero--has-bg .hero__grid {
        margin-top: calc(var(--hero-mobile-fade-size) * -1);
        padding-inline: 0;
        max-width: none;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .hero--has-bg .hero__content {
        max-width: none;
        width: 100%;
        margin-inline: 0;
        padding: 3.5rem var(--container-padding) 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* Content sits on faded background — use normal text colors on mobile */
    .hero--has-bg .hero__title,
    .dark .hero--has-bg .hero__title {
        color: var(--brand-black);
        text-shadow: none;
    }

    .dark .hero--has-bg .hero__title {
        color: var(--brand-white);
    }

    .hero--has-bg .hero__title-muted,
    .dark .hero--has-bg .hero__title-muted {
        color: var(--gray-500);
        text-shadow: none;
    }

    .dark .hero--has-bg .hero__title-muted {
        color: var(--brand-gray);
    }

    .hero--has-bg .hero__description,
    .dark .hero--has-bg .hero__description {
        color: var(--gray-600);
        text-shadow: none;
    }

    .dark .hero--has-bg .hero__description {
        color: var(--brand-graylight);
    }

    .hero--has-bg .hero__meta,
    .dark .hero--has-bg .hero__meta {
        color: var(--gray-500);
        border-left-color: rgba(249, 115, 22, 0.3);
        text-shadow: none;
    }

    .dark .hero--has-bg .hero__meta {
        color: var(--brand-gray);
    }

    .hero--has-bg .btn--outline,
    .dark .hero--has-bg .btn--outline {
        color: var(--brand-black);
        border-color: var(--gray-300);
        background: transparent;
    }

    .dark .hero--has-bg .btn--outline {
        color: var(--brand-white);
        border-color: #333;
    }

    .hero--has-bg .btn--outline:hover,
    .dark .hero--has-bg .btn--outline:hover {
        border-color: var(--color-accent);
        color: var(--color-accent);
        background: transparent;
    }

    .dark .hero--has-bg .btn--outline:hover {
        color: var(--color-accent-400);
    }

    .hero--has-bg .hero__scroll-hint {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero__bg {
        background-image: var(--hero-bg-desktop-light, var(--hero-bg-desktop-dark, none));
    }

    .dark .hero__bg {
        background-image: var(--hero-bg-desktop-dark, var(--hero-bg-desktop-light, none));
    }
}

/* Hero overlay — desktop full-section */
.hero--has-bg .hero__overlay--desktop {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 100)) 0%, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 140)) 45%, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 100)) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 85)) 0%, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 220)) 55%, rgba(255, 255, 255, calc(var(--hero-overlay, 55) / 120)) 100%);
}

.dark .hero--has-bg .hero__overlay--desktop {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 100)) 0%, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 140)) 45%, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 100)) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 85)) 0%, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 220)) 55%, rgba(0, 0, 0, calc(var(--hero-overlay, 55) / 120)) 100%);
}

.hero--has-bg[style*="--hero-overlay: 0"] .hero__overlay--desktop,
.hero--has-bg[style*="--hero-overlay:0"] .hero__overlay--desktop {
    display: none;
}

@media (max-width: 1023px) {
    .hero--has-bg[style*="--hero-overlay: 0"] .hero__overlay--visual,
    .hero--has-bg[style*="--hero-overlay:0"] .hero__overlay--visual {
        display: none;
    }
}

.hero__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 42rem;
}

/* Dark theme hero text over background image */
.dark .hero--has-bg .hero__title,
.dark .hero--has-bg .hero__description,
.dark .hero--has-bg .hero__meta,
.dark .hero--has-bg .hero__scroll-text {
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.dark .hero--has-bg .hero__title {
    color: #fff;
}

.dark .hero--has-bg .hero__title-muted {
    color: rgba(255, 255, 255, 0.72);
}

.dark .hero--has-bg .hero__description {
    color: rgba(255, 255, 255, 0.88);
}

.dark .hero--has-bg .hero__meta {
    color: rgba(255, 255, 255, 0.72);
    border-left-color: rgba(249, 115, 22, 0.55);
}

.dark .hero--has-bg .btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.dark .hero--has-bg .btn--outline:hover {
    border-color: var(--color-accent);
    color: #fff;
    background: rgba(234, 88, 12, 0.15);
}

/* Light theme hero text over background image */
html:not(.dark) .hero--has-bg .hero__title {
    color: var(--brand-black);
}

html:not(.dark) .hero--has-bg .hero__title-muted {
    color: var(--gray-600);
}

html:not(.dark) .hero--has-bg .hero__description {
    color: var(--gray-600);
}

html:not(.dark) .hero--has-bg .hero__meta {
    color: var(--gray-600);
    border-left-color: rgba(234, 88, 12, 0.35);
}

html:not(.dark) .hero--has-bg .btn--outline {
    color: var(--brand-black);
    border-color: var(--gray-300);
    background: rgba(255, 255, 255, 0.35);
}

html:not(.dark) .hero--has-bg .btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.55);
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero__status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--color-emerald-500);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--color-accent), var(--color-purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dark .hero__tagline {
    background: linear-gradient(to right, var(--color-accent-400), var(--color-purple-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: var(--leading-display);
    color: var(--brand-black);
    margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3.75rem;
        line-height: 1;
    }
}

.dark .hero__title {
    color: var(--brand-white);
}

.hero__title-muted {
    color: var(--gray-500);
}

.dark .hero__title-muted {
    color: var(--brand-gray);
}

.hero__description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 0 2.5rem;
    line-height: var(--leading-relaxed);
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero__description {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.dark .hero__description {
    color: var(--brand-graylight);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        width: auto;
    }
}

.hero__meta {
    margin-top: 3rem;
    display: flex;
    line-height: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-500);
    border-left: 2px solid rgba(249, 115, 22, 0.3);
    padding-left: 1rem;
}

.dark .hero__meta {
    color: var(--brand-gray);
}

.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.hero__meta-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.hero__meta-icon--emerald { color: var(--color-emerald-500); }
.hero__meta-icon--orange { color: var(--color-accent-500); }

.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero__scroll-hint {
        display: flex;
    }
}

.hero__scroll-text {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-black);
}

.dark .hero__scroll-text {
    color: var(--brand-white);
}

.hero--has-bg .hero__scroll-hint {
    opacity: 1;
}

html:not(.dark) .hero--has-bg .hero__scroll-text {
    color: var(--gray-600);
    text-shadow: none;
}

.dark .hero--has-bg .hero__scroll-text {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero__scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--color-accent-500), transparent);
}

html:not(.dark) .hero--has-bg .hero__scroll-line {
    background: linear-gradient(
        to bottom,
        var(--color-accent-600) 0%,
        rgba(234, 88, 12, 0.35) 45%,
        transparent 100%
    );
}

.dark .hero--has-bg .hero__scroll-line {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.35) 45%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* --- Ticker --- */
.ticker {
    width: 100%;
    background: var(--gray-50);
    border-bottom: 1px solid var(--color-border);
    padding-block: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.dark .ticker {
    background: #111;
}

.ticker__track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    font-weight: 700;
}

.dark .ticker__track {
    color: var(--brand-gray);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-inline: 2rem;
}

.ticker__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.ticker__dot--orange { background: var(--color-accent-500); }
.ticker__dot--emerald { background: var(--color-emerald-500); }
.ticker__dot--purple { background: var(--color-purple-500); }
.ticker__dot--amber { background: var(--color-amber-500); }
.ticker__dot--rose { background: var(--color-rose-500); }

/* --- About --- */
.about__grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2.5rem;
    }
}

.about__sidebar {
    position: relative;
}

@media (min-width: 1024px) {
    .about__sidebar {
        grid-column: span 5;
    }
}

.about__sticky {
    position: relative;
}

.about__portrait {
    aspect-ratio: 1;
    width: 100%;
    max-width: 24rem;
    background: var(--gray-100);
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.dark .about__portrait {
    background: #111;
    border-color: #333;
}

.about__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.about__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .about__main {
        grid-column: span 7;
    }
}

.about__sidebar .section-heading {
    margin-bottom: 2rem;
}

.about__prose {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
    .about__prose {
        font-size: 1.25rem;
    }
}

.dark .about__prose {
    color: var(--brand-graylight);
}

.about__prose p {
    margin: 0 0 1.5rem;
}

.about__prose p:last-of-type {
    margin-bottom: 3rem;
}

.about__prose strong {
    color: var(--brand-black);
    font-weight: 500;
}

.dark .about__prose strong {
    color: var(--brand-white);
}

.about__info-grid {
    display: grid;
    gap: 1.5rem 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .about__info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about__info-label {
    display: block;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.dark .about__info-label {
    color: var(--brand-gray);
}

.about__info-value {
    color: var(--brand-black);
    font-weight: 500;
}

.dark .about__info-value {
    color: var(--brand-white);
}

.about__quote {
    margin-top: 3rem;
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    border-left: 3px solid var(--color-accent);
    background: #fff7ed;
    font-size: 1.125rem;
    line-height: var(--lh-text-lg);
    color: var(--brand-black);
    font-weight: 500;
    font-style: italic;
    border-radius: 0 1rem 1rem 0;
}

@media (min-width: 768px) {
    .about__quote {
        font-size: 1.25rem;
        line-height: var(--lh-text-xl);
    }
}

.dark .about__quote {
    background: rgba(234, 88, 12, 0.1);
    color: var(--brand-white);
}

/* --- Services --- */
.services__header {
    margin-bottom: 4rem;
}

.services__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.dark .service-card {
    background: #0a0a0a;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card--orange:hover { border-color: var(--color-accent-500); }
.service-card--emerald:hover { border-color: var(--color-emerald-500); }
.service-card--purple:hover { border-color: var(--color-purple-500); }
.service-card--amber:hover { border-color: var(--color-amber-500); }
.service-card--rose:hover { border-color: var(--color-rose-500); }

.service-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.service-card__icon {
    width: 2rem;
    height: 2rem;
    color: var(--brand-black);
    transition: color var(--transition-base);
}

.dark .service-card__icon {
    color: var(--brand-white);
}

.service-card--orange:hover .service-card__icon { color: var(--color-accent-500); }
.service-card--emerald:hover .service-card__icon { color: var(--color-emerald-500); }
.service-card--purple:hover .service-card__icon { color: var(--color-purple-500); }
.service-card--amber:hover .service-card__icon { color: var(--color-amber-500); }
.service-card--rose:hover .service-card__icon { color: var(--color-rose-500); }

.service-card__number {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.dark .service-card__number {
    color: var(--brand-gray);
}

.service-card--orange:hover .service-card__number { color: var(--color-accent-500); }
.service-card--emerald:hover .service-card__number { color: var(--color-emerald-500); }
.service-card--purple:hover .service-card__number { color: var(--color-purple-500); }
.service-card--amber:hover .service-card__number { color: var(--color-amber-500); }
.service-card--rose:hover .service-card__number { color: var(--color-rose-500); }

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: var(--lh-text-xl);
    color: var(--brand-black);
    margin: 0 0 0.75rem;
}

.dark .service-card__title {
    color: var(--brand-white);
}

.service-card__text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    flex-grow: 1;
    margin: 0;
}

.dark .service-card__text {
    color: var(--brand-graylight);
}

/* --- Work / Projects --- */
.work__header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .work__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.projects-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.project-card {
    cursor: pointer;
}

.project-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--gray-100);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-xl);
    transition: box-shadow var(--transition-base);
}

.dark .project-card__media {
    background: #111;
}

.project-card:hover .project-card__media {
    box-shadow: var(--shadow-lg);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.05);
}

.project-media-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    pointer-events: none;
}

.dark .project-media-empty {
    color: #555;
}

.project-media-empty svg {
    width: 2.75rem;
    height: 2.75rem;
    opacity: 0.7;
}

.project-card--empty .project-card__media {
    box-shadow: none;
}

.project-card--empty:hover .project-card__media {
    box-shadow: var(--shadow-sm);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.dark .project-card__overlay {
    background: rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-card__overlay {
    background: rgba(124, 45, 18, 0.1);
}

.dark .project-card:hover .project-card__overlay {
    background: rgba(124, 45, 18, 0.2);
}

.project-card__play {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    color: var(--brand-black);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: all var(--transition-base);
}

.dark .project-card__play {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--brand-white);
}

.project-card:hover .project-card__play {
    background: var(--color-accent);
    color: var(--brand-white);
    border-color: var(--color-accent);
    transform: scale(1);
}

.project-card__play svg {
    width: 1.5rem;
    height: 1.5rem;
}

.project-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brand-white);
    color: var(--brand-black);
    border: 1px solid var(--gray-200);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-full);
    transition: color var(--transition-base);
}

.dark .project-card__badge {
    background: var(--brand-black);
    border-color: #333;
    color: var(--brand-white);
}

.project-card:hover .project-card__badge {
    color: var(--color-accent);
}

.dark .project-card:hover .project-card__badge {
    color: var(--color-accent-400);
}

.project-card__duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--brand-white);
    color: var(--brand-black);
    border: 1px solid var(--gray-200);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-full);
}

.dark .project-card__duration {
    background: var(--brand-black);
    border-color: #333;
    color: var(--brand-white);
}

.project-card__footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-card__category {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.dark .project-card__category {
    color: var(--color-accent-400);
}

.project-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    color: var(--brand-black);
    margin: 0 0 0.5rem;
    transition: color var(--transition-base);
}

@media (min-width: 768px) {
    .project-card__title {
        font-size: 1.875rem;
        line-height: var(--lh-text-3xl);
    }
}

.dark .project-card__title {
    color: var(--brand-white);
}

.project-card:hover .project-card__title {
    color: var(--color-accent);
}

.dark .project-card:hover .project-card__title {
    color: var(--color-accent-400);
}

.project-card__desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .project-card__desc {
    color: var(--brand-graylight);
}

.project-card__arrow {
    transform: rotate(-45deg);
    width: 1rem;
    height: 1rem;
}

/* --- Process timeline --- */
.process__header {
    margin-bottom: 5rem;
    text-align: center;
}

.process__timeline {
    position: relative;
    max-width: 56rem;
    margin-inline: auto;
}

.process__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

@media (min-width: 768px) {
    .process__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.dark .process__line {
    background: #222;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 3rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: row;
        align-items: center;
    }
}

.process-step__node {
    position: absolute;
    left: 0;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    border: 4px solid var(--gray-50);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform var(--transition-base);
}

@media (min-width: 768px) {
    .process-step__node {
        left: 50%;
        transform: translateX(-50%);
    }
}

.dark .process-step__node {
    background: #0a0a0a;
    border-color: #050505;
}

.process-step:hover .process-step__node {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .process-step:hover .process-step__node {
        transform: translateX(-50%) scale(1.1);
    }
}

.process-step__dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.dark .process-step__dot {
    background: #444;
}

.process-step--orange:hover .process-step__dot {
    background: var(--color-accent-500);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.process-step--purple:hover .process-step__dot {
    background: var(--color-purple-500);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.process-step--amber:hover .process-step__dot {
    background: var(--color-amber-500);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.process-step--blue:hover .process-step__dot {
    background: var(--color-blue-600);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
}

.process-step--rose:hover .process-step__dot {
    background: var(--color-rose-500);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
}

.process-step--emerald:hover .process-step__dot {
    background: var(--color-emerald-500);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.process-step--sky:hover .process-step__dot {
    background: var(--color-sky-500);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.6);
}

.process-step__content {
    width: 100%;
    padding-left: 5rem;
    text-align: left;
}

@media (min-width: 768px) {
    .process-step__content {
        padding-left: 0;
        width: 50%;
    }

    .process-step--left .process-step__content {
        padding-right: 4rem;
        text-align: right;
    }

    .process-step--right .process-step__content {
        margin-left: auto;
        padding-left: 4rem;
    }
}

.process-step__card {
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.dark .process-step__card {
    background: #0a0a0a;
}

.process-step:hover .process-step__card {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.process-step--orange:hover .process-step__card { border-color: var(--color-accent-500); }
.process-step--purple:hover .process-step__card { border-color: var(--color-purple-500); }
.process-step--amber:hover .process-step__card { border-color: var(--color-amber-500); }
.process-step--blue:hover .process-step__card { border-color: var(--color-blue-600); }
.process-step--rose:hover .process-step__card { border-color: var(--color-rose-500); }
.process-step--emerald:hover .process-step__card { border-color: var(--color-emerald-500); }
.process-step--sky:hover .process-step__card { border-color: var(--color-sky-500); }

.process-step__bg-number {
    position: absolute;
    right: -1rem;
    top: -1.5rem;
    font-family: var(--font-mono);
    font-size: 6rem;
    font-weight: 900;
    color: var(--gray-50);
    pointer-events: none;
    user-select: none;
    transition: color var(--transition-base);
}

@media (min-width: 768px) {
    .process-step--left .process-step__bg-number {
        left: -1rem;
        right: auto;
    }
}

.dark .process-step__bg-number {
    color: #111;
}

.process-step--orange:hover .process-step__bg-number { color: #fff7ed; }
.dark .process-step--orange:hover .process-step__bg-number { color: rgba(234, 88, 12, 0.2); }
.process-step--purple:hover .process-step__bg-number { color: #faf5ff; }
.dark .process-step--purple:hover .process-step__bg-number { color: rgba(168, 85, 247, 0.2); }
.process-step--amber:hover .process-step__bg-number { color: #fffbeb; }
.dark .process-step--amber:hover .process-step__bg-number { color: rgba(245, 158, 11, 0.2); }
.process-step--blue:hover .process-step__bg-number { color: #eff6ff; }
.dark .process-step--blue:hover .process-step__bg-number { color: rgba(37, 99, 235, 0.22); }
.process-step--rose:hover .process-step__bg-number { color: #fff1f2; }
.dark .process-step--rose:hover .process-step__bg-number { color: rgba(244, 63, 94, 0.2); }
.process-step--emerald:hover .process-step__bg-number { color: #ecfdf5; }
.dark .process-step--emerald:hover .process-step__bg-number { color: rgba(16, 185, 129, 0.2); }
.process-step--sky:hover .process-step__bg-number { color: #f0f9ff; }
.dark .process-step--sky:hover .process-step__bg-number { color: rgba(14, 165, 233, 0.2); }

.process-step__card-inner {
    position: relative;
    z-index: 10;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: var(--lh-text-xl);
    color: var(--brand-black);
    margin: 0 0 0.75rem;
    transition: color var(--transition-base);
}

.dark .process-step__title {
    color: var(--brand-white);
}

.process-step--orange:hover .process-step__title { color: var(--color-accent); }
.dark .process-step--orange:hover .process-step__title { color: var(--color-accent-500); }
.process-step--purple:hover .process-step__title { color: var(--color-purple-600); }
.dark .process-step--purple:hover .process-step__title { color: var(--color-purple-500); }
.process-step--amber:hover .process-step__title { color: var(--color-amber-600); }
.dark .process-step--amber:hover .process-step__title { color: var(--color-amber-500); }
.process-step--blue:hover .process-step__title { color: var(--color-blue-600); }
.dark .process-step--blue:hover .process-step__title { color: var(--color-blue-400); }
.process-step--rose:hover .process-step__title { color: #e11d48; }
.dark .process-step--rose:hover .process-step__title { color: var(--color-rose-500); }
.process-step--emerald:hover .process-step__title { color: #059669; }
.dark .process-step--emerald:hover .process-step__title { color: var(--color-emerald-500); }
.process-step--sky:hover .process-step__title { color: #0284c7; }
.dark .process-step--sky:hover .process-step__title { color: var(--color-sky-500); }

.process-step__text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    margin: 0;
}

.dark .process-step__text {
    color: var(--brand-graylight);
}

/* --- Skills & Why Me (split) --- */
.split-section__grid {
    display: grid;
    gap: 5rem;
}

@media (min-width: 1024px) {
    .split-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        align-items: start;
    }
}

.skills__grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.skills__grid--stack {
    grid-template-columns: 1fr;
}

.skill-group {
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-border);
    background: var(--color-surface);
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.dark .skill-group {
    background: #0a0a0a;
}

.skill-group--orange { border-left-color: var(--color-accent-500); }
.skill-group--purple { border-left-color: var(--color-purple-500); }
.skill-group--emerald { border-left-color: var(--color-emerald-500); }
.skill-group--amber { border-left-color: var(--color-amber-500); }

.skill-group:hover {
    box-shadow: var(--shadow-sm);
}

.skill-group__title {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.skill-group--orange .skill-group__title { color: var(--color-accent-500); }
.skill-group--purple .skill-group__title { color: var(--color-purple-500); }
.skill-group--emerald .skill-group__title { color: var(--color-emerald-500); }
.skill-group--amber .skill-group__title { color: var(--color-amber-500); }

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    color: var(--brand-black);
    background: var(--gray-50);
    border: 1px solid var(--color-border);
    padding: 0.45rem 0.7rem;
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.dark .skill-tag {
    color: var(--brand-white);
    background: #111;
    border-color: #222;
}

.skill-group--orange:hover .skill-tag { border-color: #fed7aa; }
.dark .skill-group--orange:hover .skill-tag { border-color: rgba(234, 88, 12, 0.45); }
.skill-group--purple:hover .skill-tag { border-color: #e9d5ff; }
.dark .skill-group--purple:hover .skill-tag { border-color: rgba(168, 85, 247, 0.45); }
.skill-group--emerald:hover .skill-tag { border-color: #a7f3d0; }
.dark .skill-group--emerald:hover .skill-tag { border-color: rgba(16, 185, 129, 0.45); }
.skill-group--amber:hover .skill-tag { border-color: #fde68a; }
.dark .skill-group--amber:hover .skill-tag { border-color: rgba(245, 158, 11, 0.45); }

.why__stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.why-card {
    background: var(--gray-50);
    border: 1px solid var(--color-border);
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-xl);
    margin-bottom: 0;
    transition: border-color var(--transition-base);
}

.dark .why-card {
    background: #111;
}

.why-card--orange:hover { border-color: #fed7aa; }
.dark .why-card--orange:hover { border-color: rgba(234, 88, 12, 0.5); }
.why-card--purple:hover { border-color: #e9d5ff; }
.dark .why-card--purple:hover { border-color: rgba(168, 85, 247, 0.5); }
.why-card--emerald:hover { border-color: #a7f3d0; }
.dark .why-card--emerald:hover { border-color: rgba(16, 185, 129, 0.5); }
.why-card--amber:hover { border-color: #fde68a; }
.dark .why-card--amber:hover { border-color: rgba(245, 158, 11, 0.5); }

.why-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: var(--lh-text-lg);
    color: var(--brand-black);
    margin: 0 0 0.4rem;
}

.dark .why-card__title {
    color: var(--brand-white);
}

.why-card__text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    margin: 0;
}

.dark .why-card__text {
    color: var(--brand-graylight);
}

/* --- Testimonials --- */
.testimonials__header {
    max-width: 42rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .testimonials__header {
        margin-bottom: 4rem;
    }
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }
}

.dark .testimonial-card {
    background: #0a0a0a;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card--orange:hover { border-color: var(--color-accent-500); }
.testimonial-card--purple:hover { border-color: var(--color-purple-500); }
.testimonial-card--emerald:hover { border-color: var(--color-emerald-500); }
.testimonial-card--amber:hover { border-color: var(--color-amber-500); }
.testimonial-card--rose:hover { border-color: var(--color-rose-500); }

.testimonial-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-card__quote-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--gray-300);
    transition: color var(--transition-base);
}

.dark .testimonial-card__quote-icon {
    color: #333;
}

.testimonial-card--orange:hover .testimonial-card__quote-icon { color: var(--color-accent-500); }
.testimonial-card--purple:hover .testimonial-card__quote-icon { color: var(--color-purple-500); }
.testimonial-card--emerald:hover .testimonial-card__quote-icon { color: var(--color-emerald-500); }
.testimonial-card--amber:hover .testimonial-card__quote-icon { color: var(--color-amber-500); }
.testimonial-card--rose:hover .testimonial-card__quote-icon { color: var(--color-rose-500); }

.testimonial-card__stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-shrink: 0;
}

.testimonial-card__star {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--color-accent-500);
}

.testimonial-card--purple .testimonial-card__star { color: var(--color-purple-500); }
.testimonial-card--emerald .testimonial-card__star { color: var(--color-emerald-500); }
.testimonial-card--amber .testimonial-card__star { color: var(--color-amber-500); }
.testimonial-card--rose .testimonial-card__star { color: var(--color-rose-500); }

.testimonial-card__quote {
    flex: 1;
    margin: 0 0 1.5rem;
}

.testimonial-card__quote p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: var(--leading-relaxed);
    font-weight: 300;
    color: var(--gray-600);
}

.dark .testimonial-card__quote p {
    color: var(--brand-graylight);
}

.testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--brand-black);
    background: var(--gray-100);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.testimonial-card__avatar--photo {
    display: block;
    object-fit: cover;
    object-position: center top;
    padding: 0;
    background: var(--gray-100);
    transition: none;
}

.dark .testimonial-card__avatar {
    color: var(--brand-white);
    background: #111;
}

.testimonial-card--orange:hover .testimonial-card__avatar:not(.testimonial-card__avatar--photo) {
    border-color: var(--color-accent-500);
    color: var(--color-accent-500);
}

.testimonial-card--purple:hover .testimonial-card__avatar:not(.testimonial-card__avatar--photo) {
    border-color: var(--color-purple-500);
    color: var(--color-purple-500);
}

.testimonial-card--emerald:hover .testimonial-card__avatar:not(.testimonial-card__avatar--photo) {
    border-color: var(--color-emerald-500);
    color: var(--color-emerald-500);
}

.testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.testimonial-card__name {
    font-style: normal;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: var(--lh-text-lg);
    color: var(--brand-black);
}

.dark .testimonial-card__name {
    color: var(--brand-white);
}

.testimonial-card__role {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 400;
    line-height: var(--lh-text-sm);
}

.dark .testimonial-card__role {
    color: var(--brand-gray);
}

.testimonial-card__project {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 0.15rem;
}

.dark .testimonial-card__project {
    color: var(--brand-gray);
}

.testimonial-card--orange:hover .testimonial-card__project { color: var(--color-accent-500); }
.testimonial-card--purple:hover .testimonial-card__project { color: var(--color-purple-500); }
.testimonial-card--emerald:hover .testimonial-card__project { color: var(--color-emerald-500); }

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 1.5rem;
    }
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .stat-card {
        padding: 2rem;
    }
}

.dark .stat-card {
    background: #0a0a0a;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card--orange:hover { border-color: var(--color-accent-500); }
.stat-card--purple:hover { border-color: var(--color-purple-500); }
.stat-card--emerald:hover { border-color: var(--color-emerald-500); }
.stat-card--amber:hover { border-color: var(--color-amber-500); }

.stat-card__value {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    background: linear-gradient(to bottom right, var(--brand-black), var(--gray-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    transition: all var(--transition-base);
}

.dark .stat-card__value {
    background: linear-gradient(to bottom right, var(--brand-white), var(--gray-500));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-card--orange:hover .stat-card__value {
    background: linear-gradient(to bottom right, var(--color-accent-500), var(--color-accent-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-card--purple:hover .stat-card__value {
    background: linear-gradient(to bottom right, var(--color-purple-500), var(--color-purple-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-card--emerald:hover .stat-card__value {
    background: linear-gradient(to bottom right, var(--color-emerald-500), var(--color-emerald-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-card--amber:hover .stat-card__value {
    background: linear-gradient(to bottom right, var(--color-amber-500), var(--color-amber-400));
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-card__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.dark .stat-card__label {
    color: var(--brand-gray);
}

/* --- FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__trigger {
    width: 100%;
    padding-block: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 1rem;
}

.faq-item__question {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: var(--lh-text-lg);
    color: var(--brand-black);
    transition: color var(--transition-base);
}

@media (min-width: 768px) {
    .faq-item__question {
        font-size: 1.25rem;
        line-height: var(--lh-text-xl);
    }
}

.faq-item__trigger:hover .faq-item__question {
    color: var(--color-accent);
}

.dark .faq-item__question {
    color: var(--brand-white);
}

.dark .faq-item__trigger:hover .faq-item__question {
    color: var(--color-accent-400);
}

.faq-item__icon {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
}

.dark .faq-item__icon {
    color: var(--brand-gray);
}

.faq-item__trigger:hover .faq-item__icon {
    color: var(--color-accent-500);
}

.faq-item__icon--open {
    transform: rotate(180deg);
    color: var(--color-accent-500);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: all var(--transition-base);
}

.faq-item__answer--open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item__answer-inner {
    overflow: hidden;
}

.faq-item__answer-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: var(--leading-relaxed);
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    margin: 0;
}

@media (min-width: 768px) {
    .faq-item__answer-text {
        font-size: 1rem;
    }
}

.dark .faq-item__answer-text {
    color: var(--brand-graylight);
}


/* Contact form styles: areas/public/assets/css/components/contact-form.css */

/* --- Project Modal --- */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
}

.dark .project-modal {
    background: rgba(0, 0, 0, 0.9);
}

.project-modal__backdrop {
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .project-modal__backdrop {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .project-modal__backdrop {
        padding: 3rem;
    }
}

.project-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background: var(--gray-100);
    color: var(--brand-black);
    padding: 0.75rem 0.75rem 0.6rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

@media (min-width: 1024px) {
    .project-modal__close {
        position: fixed;
        top: 2rem;
        right: 3rem;
    }
}

.project-modal__close:hover {
    background: var(--color-accent);
    color: var(--brand-white);
}

.dark .project-modal__close {
    background: var(--brand-white);
    color: var(--brand-black);
    border: none;
}

.dark .project-modal__close:hover {
    background: var(--color-accent-500);
    color: var(--brand-white);
}

.project-modal__close svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform var(--transition-base);
}

.project-modal__close:hover svg {
    transform: rotate(90deg);
}

.project-modal__panel {
    max-width: 64rem;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    margin-top: 5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .project-modal__panel {
        margin-top: 0;
    }
}

.dark .project-modal__panel {
    background: #0a0a0a;
}

.project-modal__media {
    aspect-ratio: 16 / 9;
    background: var(--gray-100);
    position: relative;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

#modal-media-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dark .project-modal__media {
    background: var(--brand-black);
}

.project-modal__media--video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

.project-modal__media--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

.project-modal__media--empty .project-media-empty svg {
    width: 3.25rem;
    height: 3.25rem;
}

.project-modal__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.project-modal__still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.project-modal__still img {
    pointer-events: none;
}

.project-modal__duration {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 5;
    padding: 0.25rem 0.75rem;
    pointer-events: none;
    background: var(--brand-white);
    color: var(--brand-black);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-mono);
    font-size: 0.625rem;
}

.dark .project-modal__duration {
    background: var(--brand-black);
    color: var(--brand-white);
    border-color: #333;
}

.project-modal__video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.dark .project-modal__video-overlay {
    background: rgba(0, 0, 0, 0.32);
}

.project-modal__play-btn {
    position: relative;
    z-index: 2;
    width: 4rem;
    height: 4rem;
    background: var(--color-accent);
    color: var(--brand-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.5);
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transition: transform var(--transition-base);
}

.project-modal__play-btn:hover {
    transform: scale(1.05);
}

.project-modal__play-btn svg {
    width: 2rem;
    height: 2rem;
}

.project-modal__video-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 1rem;
    backdrop-filter: blur(4px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
}

.dark .project-modal__video-label {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    border: none;
}

.project-modal__sim-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brand-white);
    color: var(--color-amber-600);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-full);
}

.dark .project-modal__sim-badge {
    background: var(--brand-black);
    color: var(--color-amber-400);
    border-color: #333;
}

.project-gallery {
    position: absolute;
    inset: 0;
    user-select: none;
    touch-action: pan-y;
}

.project-gallery__viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
}

.project-gallery__viewport:active {
    cursor: grabbing;
}

.project-gallery__track {
    display: flex;
    height: 100%;
    width: 100%;
    transform: translateX(0);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-gallery__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    cursor: zoom-in;
}

.project-gallery__slide--video {
    cursor: default;
}

.project-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
    opacity: 1;
    pointer-events: none;
}

.project-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--brand-white);
    color: var(--brand-black);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

.dark .project-gallery__arrow {
    background: var(--brand-black);
    color: var(--brand-white);
    border-color: #333;
}

.project-gallery__arrow:hover:not(:disabled) {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--brand-white);
}

.project-gallery__arrow:disabled {
    opacity: 0.28;
    cursor: default;
}

.dark .project-gallery__arrow:disabled:hover {
    background: var(--brand-black);
    color: var(--brand-white);
    border-color: #333;
}

.project-gallery__arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

.project-gallery__arrow--prev {
    left: 0.85rem;
}

.project-gallery__arrow--next {
    right: 0.85rem;
}

.project-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 3;
    display: flex;
    gap: 0.4rem;
    transform: translateX(-50%);
}

.project-gallery__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform var(--transition-base), background var(--transition-base);
}

.dark .project-gallery__dot {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.project-gallery__dot.is-active {
    background: var(--color-accent);
    transform: scale(1.25);
}

.project-gallery__counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-black);
    background: var(--brand-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    box-shadow: var(--shadow-sm);
}

.dark .project-gallery__counter {
    color: var(--brand-white);
    background: var(--brand-black);
    border-color: #333;
}

@media (max-width: 640px) {
    .project-gallery__arrow {
        width: 2.25rem;
        height: 2.25rem;
    }

    .project-gallery__arrow--prev {
        left: 0.55rem;
    }

    .project-gallery__arrow--next {
        right: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-gallery__track {
        transition: none;
    }
}

.project-modal__body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .project-modal__body {
        padding: 3rem;
    }
}

.project-modal__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .project-modal__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.project-modal__category {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.dark .project-modal__category {
    color: var(--color-accent-400);
}

.project-modal__title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: var(--lh-text-3xl);
    color: var(--brand-black);
    margin: 0 0 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .project-modal__title {
        font-size: 3rem;
        line-height: var(--lh-text-5xl);
    }
}

.dark .project-modal__title {
    color: var(--brand-white);
}

.project-modal__summary {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 300;
    max-width: 42rem;
    line-height: var(--leading-relaxed);
    margin: 0;
}

.dark .project-modal__summary {
    color: var(--brand-graylight);
}

.project-modal__meta {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.project-modal__meta-label {
    display: block;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.dark .project-modal__meta-label {
    color: var(--brand-gray);
}

.project-modal__meta-value {
    color: var(--brand-black);
    font-weight: 500;
}

.dark .project-modal__meta-value {
    color: var(--brand-white);
}

.project-modal__content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .project-modal__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
}

.project-modal__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-black);
    margin: 0 0 1rem;
}

.dark .project-modal__section-title {
    color: var(--brand-white);
}

.project-modal__prose {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
}

.dark .project-modal__prose {
    color: var(--brand-graylight);
}

.project-modal__prose p {
    margin: 0 0 2rem;
}

.project-modal__features-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-black);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.dark .project-modal__features-title {
    color: var(--brand-white);
}

.project-modal__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.dark .project-modal__features {
    color: var(--brand-graylight);
}

.project-modal__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.project-modal__feature-dot {
    margin-top: 0.375rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: var(--radius-full);
    background: var(--color-accent-500);
    flex-shrink: 0;
}

.project-modal__cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.project-modal__cta .btn {
    width: 100%;
}

.project-modal__live[hidden] {
    display: none !important;
}

.project-modal__live-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.project-modal__hint {
    margin-top: 2rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-500);
    padding-bottom: 2rem;
}

.dark .project-modal__hint {
    color: var(--brand-gray);
}

/* Status colors for modal */
.status-text-deployed { color: #059669; }
.dark .status-text-deployed { color: var(--color-emerald-400); }
.status-text-in-dev { color: var(--color-accent); }
.dark .status-text-in-dev { color: var(--color-accent-400); }
.status-text-testing { color: #0284c7; }
.dark .status-text-testing { color: #38bdf8; }
.status-text-completed { color: var(--gray-600); }
.dark .status-text-completed { color: var(--gray-400); }
.status-text-planning { color: var(--gray-600); }
.dark .status-text-planning { color: var(--gray-400); }

/* --- Recommended hosting --- */
.hosting__header {
    width: 100%;
    max-width: none;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .hosting__header {
        margin-bottom: 3.5rem;
    }
}

.hosting__header .section-heading {
    margin-bottom: 1.15rem;
}

.hosting__lead {
    color: var(--color-text-body);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: var(--leading-relaxed);
    margin: 0;
}

@media (min-width: 768px) {
    .hosting__lead {
        font-size: 1.25rem;
    }
}

.dark .hosting__lead {
    color: var(--brand-graylight);
}

.hosting-offer {
    display: grid;
    grid-template-areas: "body" "visual";
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.hosting-offer:hover {
    box-shadow: var(--shadow-md);
}

.dark .hosting-offer {
    background: #0a0a0a;
    border-color: #222;
}

@media (min-width: 1024px) {
    .hosting-offer {
        grid-template-areas: "body visual";
        grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
        min-height: 36rem;
    }
}

.hosting-offer__body {
    grid-area: body;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hosting-offer__body {
        padding: 2.25rem 2.5rem;
    }
}

.hosting-offer__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.hosting-offer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    padding: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.dark .hosting-offer__logo {
    border-color: #2a2a2a;
}

.hosting-offer__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hosting-offer__identity {
    flex: 1 1 10rem;
    min-width: 0;
}

.hosting-offer__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

@media (max-width: 639px) {
    .hosting-offer__title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

.hosting-offer__kicker {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 0 0.3rem;
}

.dark .hosting-offer__kicker {
    color: var(--color-accent-400);
}

.hosting-offer__name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: var(--leading-tight);
    color: var(--brand-black);
    margin: 0;
}

@media (min-width: 768px) {
    .hosting-offer__name {
        font-size: 1.875rem;
    }
}

.dark .hosting-offer__name {
    color: var(--brand-white);
}

.hosting-offer__rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    flex-shrink: 0;
}

.hosting-offer__stars {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    color: var(--color-accent-500);
}

.hosting-offer__star {
    width: 0.95rem;
    height: 0.95rem;
}

.hosting-offer__rating-value {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-black);
}

.dark .hosting-offer__rating-value {
    color: var(--brand-white);
}

.hosting-offer__text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: var(--leading-relaxed);
    margin: 0 0 1.25rem;
}

.dark .hosting-offer__text {
    color: var(--brand-graylight);
}

.hosting-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.hosting-points__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    color: var(--brand-black);
    background: var(--gray-50);
    border: 1px solid var(--color-border);
    padding: 0.45rem 0.7rem 0.45rem 0.5rem;
    border-radius: var(--radius-md);
}

.dark .hosting-points__item {
    color: var(--brand-white);
    background: #111;
    border-color: #222;
}

.hosting-points__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--color-emerald-500);
    color: #fff;
    flex-shrink: 0;
}

.hosting-points__check svg {
    width: 0.62rem;
    height: 0.62rem;
}

.hosting-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.dark .hosting-specs {
    border-color: #222;
}

.hosting-specs__item {
    min-width: 0;
}

.hosting-specs__label {
    display: block;
    color: var(--gray-500);
    margin: 0 0 0.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dark .hosting-specs__label {
    color: var(--brand-gray);
}

.hosting-specs__value {
    margin: 0;
    color: var(--brand-black);
    font-weight: 500;
    word-break: break-word;
}

.dark .hosting-specs__value {
    color: var(--brand-white);
}

.hosting-coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.35rem;
}

.hosting-coupon__copy {
    flex: 1 1 13rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: var(--gray-600);
}

.dark .hosting-coupon__copy {
    color: var(--brand-graylight);
}

.hosting-coupon__copy strong {
    font-weight: 600;
    color: var(--brand-black);
}

.dark .hosting-coupon__copy strong {
    color: var(--brand-white);
}

.hosting-coupon__code {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    width: auto;
    max-width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--brand-black);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.hosting-coupon__code:hover {
    border-color: var(--color-accent-500);
}

.hosting-coupon__code.is-copied {
    border-color: var(--color-emerald-500);
}

.dark .hosting-coupon__code {
    background: #111;
    border-color: #222;
    color: var(--brand-white);
}

.dark .hosting-coupon__code:hover {
    border-color: var(--color-accent-400);
}

.dark .hosting-coupon__code.is-copied {
    border-color: var(--color-emerald-400);
}

.hosting-coupon__value {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
}

.hosting-coupon__action {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    flex-shrink: 0;
}

.dark .hosting-coupon__action {
    color: var(--color-accent-400);
}

.hosting-coupon__code.is-copied .hosting-coupon__action {
    color: var(--emerald-600);
}

.dark .hosting-coupon__code.is-copied .hosting-coupon__action {
    color: var(--color-emerald-400);
}

.hosting-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.hosting-help__text {
    flex: 1 1 12rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: var(--leading-relaxed);
    color: var(--gray-500);
}

.dark .hosting-help__text {
    color: var(--brand-gray);
}

.hosting-help__btn {
    width: auto;
    flex-shrink: 0;
}

.hosting-help__btn--whatsapp:hover,
.hosting-help__btn--whatsapp:focus-visible {
    background: transparent;
    border-color: var(--color-emerald-500);
    color: #059669;
}

.dark .hosting-help__btn--whatsapp:hover,
.dark .hosting-help__btn--whatsapp:focus-visible {
    background: transparent;
    border-color: var(--color-emerald-400);
    color: var(--color-emerald-400);
}

.hosting-offer__visual {
    grid-area: visual;
    position: relative;
    min-height: 22rem;
    background: var(--gray-50);
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .hosting-offer__visual {
        min-height: 26rem;
    }
}

@media (min-width: 1024px) {
    .hosting-offer__visual {
        min-height: 100%;
        border-top: none;
        border-left: 1px solid var(--color-border);
    }
}

.dark .hosting-offer__visual {
    background: #111;
    border-top-color: #222;
}

@media (min-width: 1024px) {
    .dark .hosting-offer__visual {
        border-left-color: #222;
    }
}

.hosting-offer__graphic {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hosting-offer__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.04) 38%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0.42) 68%, rgba(255, 255, 255, 0.92) 100%);
}

.dark .hosting-offer__shade {
    background:
        linear-gradient(180deg, rgba(234, 88, 12, 0.2) 0%, rgba(234, 88, 12, 0.08) 36%, transparent 56%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.55) 68%, rgba(0, 0, 0, 0.82) 100%);
}

.hosting-offer__cta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.5rem 1.35rem 1.4rem;
}

@media (min-width: 768px) {
    .hosting-offer__cta {
        padding: 1.75rem 1.6rem 1.6rem;
    }
}

.hosting-offer__cta-badge {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-white);
    background: var(--color-accent);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-full);
}

.hosting-offer__cta-priceblock {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 100%;
}

.hosting-offer__cta-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.dark .hosting-offer__cta-label {
    color: rgba(255, 255, 255, 0.62);
}

.hosting-offer__cta-price {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--brand-black);
    overflow-wrap: anywhere;
}

.dark .hosting-offer__cta-price {
    color: var(--brand-white);
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hosting-offer__cta-btn {
    width: 100%;
    justify-content: center;
}

/* Stats + FAQ grid */
.stats-faq__grid {
    display: grid;
    gap: 5rem;
}

@media (min-width: 1024px) {
    .stats-faq__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
