/* ═══════════════════════════════════════════════════════════════
   AICONENG — Main CSS Design System
   Bruno Gallo · Studio di Progettazione Meccanica
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
    /* Colors */
    --c-dark:       #ebf3f6;
    --c-dark-2:     #f8fbfc;
    --c-dark-3:     #dfebf1;
    --c-dark-4:     #d2e1e9;
    --c-gray:       #446277;
    --c-gray-mid:   #5f7f90;
    --c-gray-light: #587585;
    --c-border:     rgba(17,45,62,0.14);
    --c-border-2:   rgba(17,45,62,0.24);

    --c-green:      #173647;
    --c-green-lt:   #4b7185;
    --c-green-dk:   #102735;
    --c-green-glow: rgba(23,54,71,0.16);

    --c-white:      #173647;
    --c-white-dim:  rgba(23,54,71,0.82);
    --c-white-faint:rgba(23,54,71,0.58);
    --c-on-accent:  #f3fbfd;

    /* Typography */
    --f-sans:    'Barlow', system-ui, sans-serif;
    --f-cond:    'Barlow Condensed', 'Barlow', sans-serif;
    --f-mono:    'JetBrains Mono', monospace;

    /* Spacing */
    --sp-xs:  0.5rem;
    --sp-sm:  1rem;
    --sp-md:  1.5rem;
    --sp-lg:  2.5rem;
    --sp-xl:  4rem;
    --sp-2xl: 6rem;
    --sp-3xl: 9rem;

    /* Transitions */
    --t-fast:   0.15s ease;
    --t-base:   0.3s ease;
    --t-slow:   0.6s ease;
    --t-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);

    /* Layout */
    --container: 1680px;
    --radius:    4px;
    --radius-lg: 8px;
    --header-h:  72px;
}

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

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

body {
    font-family: var(--f-sans);
    background-color: var(--c-dark);
    background-image:
        radial-gradient(circle at 15% 10%, rgba(75,113,133,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(23,54,71,0.09) 0%, transparent 38%);
    color: var(--c-white);
    line-height: 1.65;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography Scale ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--f-cond);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--c-white);
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--c-white-dim); }

.site-main .single-article-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

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

.page-wrapper { min-height: calc(100vh - var(--header-h)); }

/* Riduce il vuoto sotto hero nelle pagine interne, allineato al blog */
.inner-page > .section:first-of-type {
    padding-top: var(--sp-xl);
}

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--t-base), backdrop-filter var(--t-base), border-bottom var(--t-base);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(235,243,246,0.9);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--c-border);
    box-shadow: 0 10px 30px rgba(17,45,62,0.09);
}

.site-header.menu-open {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

.header-inner {
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
    color: var(--c-green);
    display: flex;
    align-items: center;
    padding-top: 2px;
}

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

.logo-main {
    font-family: var(--f-cond);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--c-white);
}

.logo-accent { color: var(--c-green); }

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
    font-weight: 400;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.nav-link {
    font-family: var(--f-cond);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-white-dim);
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--c-white);
    background: rgba(23,54,71,0.08);
}

.nav-item.active .nav-link { color: var(--c-green-lt); }

.nav-cta {
    background: var(--c-green);
    color: var(--c-on-accent) !important;
    padding: 8px 20px;
}

.nav-cta:hover { background: var(--c-green-lt); }

/* Header on hero (before scroll): force high contrast on transparent background */
.site-header:not(.scrolled) .logo-main,
.site-header:not(.scrolled) .logo-sub,
.site-header:not(.scrolled) .nav-link {
    color: rgba(243, 251, 253, 0.95);
}

.site-header:not(.scrolled) .logo-accent,
.site-header:not(.scrolled) .logo-icon,
.site-header:not(.scrolled) .nav-item.active .nav-link {
    color: rgba(143,170,184,0.98);
}

.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-item.active .nav-link {
    background: rgba(243, 251, 253, 0.14);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-cond);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: all var(--t-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--c-green);
    border-color: var(--c-green);
    color: var(--c-on-accent);
}

.btn-primary:hover {
    background: var(--c-green-lt);
    border-color: var(--c-green-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23,54,71,0.32);
}

.btn-outline {
    background: transparent;
    border-color: var(--c-border-2);
    color: var(--c-white-dim);
}

.btn-outline:hover {
    border-color: var(--c-green);
    color: var(--c-green-lt);
    background: var(--c-green-glow);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('../images/hero-bg.jpg') center / cover no-repeat;
    filter: brightness(0.29) saturate(0.9);
    transform: scale(1.03);
    transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(12,32,45,0.66) 0%,
        rgba(12,32,45,0.44) 48%,
        rgba(16,39,53,0.2) 100%
    );
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16,39,53,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,39,53,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.5) 80%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    width: 100%;
}

.hero-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

@media (min-width: 1024px) {
    .hero {
        min-height: max(100vh, 980px);
    }

    .hero .container {
        max-width: 1860px;
        padding-left: clamp(44px, 5vw, 110px);
        padding-right: clamp(44px, 5vw, 110px);
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
    }

    .hero-subtitle {
        max-width: 1120px;
    }
}

@media (max-width: 1440px) {
    .hero-layout {
        gap: clamp(1.5rem, 3vw, 3rem);
    }

    .hero-title-brand {
        font-size: clamp(3.8rem, 9vw, 7rem);
    }

    .hero-title-name {
        font-size: clamp(2.2rem, 4.4vw, 4rem);
    }

    .hero-stats {
        gap: clamp(1.25rem, 2vw, 2.5rem);
    }

    .hero-premium-card {
        width: min(100%, 500px);
        min-height: 31rem;
    }
}

@media (max-width: 1240px) {
    .hero {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: clamp(1.75rem, 3vw, 2.5rem);
        justify-items: center;
    }

    .hero-copy {
        max-width: 920px;
        width: min(100%, 920px);
        text-align: center;
    }

    .hero-subtitle {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-eyebrow,
    .hero-title,
    .hero-ctas,
    .hero-stats {
        justify-content: center;
    }

    .hero-title-name,
    .stat {
        text-align: center;
    }

    .hero-premium-card {
        width: min(100%, 760px);
        min-height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-layout {
        gap: var(--sp-lg);
    }

    .hero-premium-card {
        width: 100%;
    }
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--f-mono);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(143,170,184,0.95);
    margin-bottom: var(--sp-md);
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(143,170,184,0.9);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: calc(var(--sp-md) + 0.5rem);
}

.hero-title-name {
    font-family: var(--f-cond);
    font-size: clamp(2.4rem, 5vw, 4.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #f3fbfd;
    display: block;
    line-height: 0.95;
}

.hero-title-name strong {
    font-weight: 900;
}

.hero-title-brand {
    font-family: var(--f-cond);
    font-size: clamp(4.2rem, 11vw, 9rem);
    font-weight: 700;
    letter-spacing: 0.13em;
    color: rgba(143,170,184,0.98);
    display: block;
    line-height: 0.92;
}

.hero-title-brand em {
    font-style: normal;
    color: rgba(243,251,253,0.82);
}

.hero-subtitle {
    font-size: clamp(1.08rem, 1.8vw, 1.4rem);
    color: rgba(243,251,253,0.9);
    max-width: 720px;
    margin-bottom: calc(var(--sp-lg) + 0.5rem);
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
    margin-bottom: calc(var(--sp-xl) - 0.5rem);
}

.hero .btn-outline {
    border-color: rgba(243,251,253,0.45);
    color: rgba(243,251,253,0.92);
    background: rgba(12,32,45,0.18);
}

.hero .btn-outline:hover {
    border-color: rgba(143,170,184,0.95);
    color: rgba(143,170,184,0.98);
    background: rgba(12,32,45,0.3);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: calc(var(--sp-xl) - 0.5rem);
}

.hero-premium-card {
    position: relative;
    width: min(100%, 540px);
    margin-left: auto;
    padding: clamp(1.35rem, 1.8vw, 1.7rem);
    min-height: 33rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(143,170,184,0.22);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(15,35,49,0.74) 0%, rgba(10,24,34,0.82) 100%);
    box-shadow:
        0 28px 60px rgba(3,12,18,0.34),
        inset 0 1px 0 rgba(243,251,253,0.08);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.hero-premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(143,170,184,0.14) 0%, transparent 34%),
        linear-gradient(135deg, rgba(243,251,253,0.04) 0%, transparent 55%);
    pointer-events: none;
}

.hero-premium-card > * {
    position: relative;
    z-index: 1;
}

.hero-premium-blueprint {
    position: absolute;
    inset: 16px 14px auto auto;
    width: 190px;
    height: 220px;
    border: 1px solid rgba(143,170,184,0.14);
    border-radius: 20px;
    background-image:
        linear-gradient(rgba(143,170,184,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143,170,184,0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.55;
    pointer-events: none;
}

.hero-premium-blueprint::before,
.hero-premium-blueprint::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(143,170,184,0.18);
}

.hero-premium-blueprint::before {
    inset: 26px 28px auto auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

.hero-premium-blueprint::after {
    left: 28px;
    bottom: 34px;
    width: 112px;
    height: 52px;
}

.blueprint-node {
    position: absolute;
    display: block;
    background: rgba(143,170,184,0.75);
    box-shadow: 0 0 0 6px rgba(143,170,184,0.08);
}

.blueprint-node--top {
    top: 54px;
    left: 36px;
    width: 74px;
    height: 1px;
}

.blueprint-node--mid {
    top: 100px;
    right: 24px;
    width: 1px;
    height: 82px;
}

.blueprint-node--bottom {
    bottom: 58px;
    left: 60px;
    width: 88px;
    height: 1px;
}

.hero-premium-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.hero-premium-topline {
    margin-bottom: 3.4rem;
}

.hero-premium-kicker,
.hero-premium-label,
.hero-premium-code {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-premium-kicker,
.hero-premium-label {
    color: rgba(143,170,184,0.82);
}

.hero-premium-code {
    color: rgba(243,251,253,0.6);
}

.hero-premium-case {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-bottom: 0;
    max-width: 26rem;
}

.hero-premium-case h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: rgba(243,251,253,0.96);
    margin: 0.5rem 0 0.85rem;
}

.hero-premium-text {
    color: rgba(243,251,253,0.78);
    line-height: 1.68;
    max-width: 25rem;
    flex: 1 1 auto;
    text-align: justify;
    text-justify: inter-word;
}

.hero-premium-actions {
    margin-top: auto;
    padding-top: 1.35rem;
    padding-bottom: 0;
}

.hero-premium-actions .btn {
    min-width: 220px;
    justify-content: center;
}

.hero-premium-actions .btn-outline {
    border-color: rgba(143,170,184,0.34);
    background: rgba(243,251,253,0.04);
    color: rgba(243,251,253,0.92);
}

.hero-premium-actions .btn-outline:hover {
    border-color: rgba(143,170,184,0.9);
    background: rgba(243,251,253,0.08);
    color: rgba(243,251,253,0.98);
}

.stat { text-align: left; }

.stat-number {
    display: block;
    font-family: var(--f-cond);
    font-size: 3.35rem;
    font-weight: 700;
    color: rgba(143,170,184,0.95);
    line-height: 1;
}

.stat-label {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    color: rgba(243,251,253,0.76);
    text-transform: uppercase;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--sp-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(243,251,253,0.72);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(143,170,184,0.95), transparent);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Section Headers ───────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: var(--sp-2xl);
}

.section-label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-green-lt);
    margin-bottom: var(--sp-sm);
}

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

.section-desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

.services-preview-intro {
    max-width: 980px;
    margin: 0 auto;
}

.services-preview-label {
    font-size: 0.9rem;
    letter-spacing: 0.24em;
}

.section-cta { text-align: center; margin-top: var(--sp-xl); }

/* ── Services Grid (Home) ──────────────────────────────────────── */
.services-preview { background: var(--c-dark-2); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--c-border);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--c-dark-2);
    padding: var(--sp-xl) var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    transition: background var(--t-base);
    text-decoration: none;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--c-green);
    transform: scaleX(0);
    transition: transform var(--t-base);
    transform-origin: left;
}

.service-card:hover { background: var(--c-dark-3); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    color: var(--c-green-dk);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-green-dk);
    transition: color var(--t-fast);
}

.service-card:hover h3 { color: var(--c-green); }

.service-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
    text-align: justify;
    text-justify: inter-word;
}

.card-arrow {
    color: var(--c-green-dk);
    font-size: 1.2rem;
    margin-top: var(--sp-xs);
    transform: translateX(0);
    transition: transform var(--t-base);
    display: block;
}

.service-card:hover .card-arrow { transform: translateX(6px); }

/* ── About Preview ─────────────────────────────────────────────── */
.about-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
    align-items: center;
}

.about-shape {
    display: flex;
    justify-content: center;
}

.about-shape-inner {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: 50%;
}

.about-preview .about-shape-inner {
    width: 340px;
    height: 340px;
    background: transparent;
    border: none;
}

.about-preview .about-monogram {
    width: 220px;
    height: 220px;
}

.about-preview .about-profile-photo {
    width: 176px;
    height: 176px;
}

.about-tools-badge {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: var(--sp-md);
    justify-content: center;
}

.about-tools-badge span {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    color: var(--c-green-lt);
    padding: 4px 10px;
    border-radius: 2px;
}

.about-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--c-white);
    margin-bottom: var(--sp-sm);
    text-align: justify;
    text-justify: inter-word;
}

.about-preview-content > p {
    text-align: justify;
    text-justify: inter-word;
}

.about-quote {
    border-left: 2px solid var(--c-green);
    padding-left: var(--sp-md);
    margin: var(--sp-md) 0;
    font-style: italic;
    color: var(--c-white-dim);
    font-size: 0.95rem;
}

/* ── Process Steps ─────────────────────────────────────────────── */
.process-section {
    background: var(--c-dark-2);
}

.process-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.process-step {
    flex: 1;
    padding: var(--sp-xl) var(--sp-lg);
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    position: relative;
    transition: background var(--t-base), border-color var(--t-base);
}

.process-step:hover {
    background: var(--c-dark-3);
    border-color: var(--c-green);
}

.process-num {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: var(--c-green-lt);
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-sm);
}

.process-icon {
    width: 46px;
    height: 46px;
    color: var(--c-green-dk);
    margin-bottom: var(--sp-sm);
}

.process-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: var(--sp-xs);
    color: var(--c-green-dk);
}

.process-step p {
    font-size: 0.875rem;
    text-align: justify;
    text-justify: inter-word;
}

.process-connector {
    width: 1px;
    height: 60px;
    background: var(--c-border);
    align-self: center;
    display: none;
}

/* ── CTA Section ───────────────────────────────────────────────── */
.cta-section {
    background: var(--c-dark);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-xl);
    background: linear-gradient(135deg, var(--c-dark-3) 0%, rgba(23,54,71,0.1) 100%);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-green);
    padding: var(--sp-2xl);
    border-radius: var(--radius-lg);
}

.cta-box h2 { margin-bottom: var(--sp-sm); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-box p { max-width: 500px; }
.cta-box-intro {
    max-width: 780px;
    margin-bottom: 0;
}

/* ── Page Hero (inner pages) ───────────────────────────────────── */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: var(--header-h);
    overflow: hidden;
}

.page-hero--short {
    min-height: 260px;
    padding-bottom: var(--sp-xl);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('../images/hero-bg.jpg') center / cover no-repeat;
    filter: brightness(0.22) saturate(0.9);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12,32,45,0.48) 0%,
        rgba(12,32,45,0.62) 100%
    );
}

.page-hero .container { position: relative; z-index: 2; }

.page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-top: 8px;
    color: #f3fbfd;
}

.page-intro {
    font-size: 1.12rem;
    max-width: none;
    margin-bottom: var(--sp-xl);
    color: var(--c-white-dim);
}

.page-intro--lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: var(--c-white);
    font-weight: 300;
}

.page-intro--lead strong {
    color: var(--c-white);
}

@media (min-width: 1024px) {
    .inner-page .page-intro {
        max-width: none;
        width: 100%;
    }
}

/* ── About Full (Chi Sono) ─────────────────────────────────────── */
.about-full-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-2xl);
    align-items: start;
    margin-bottom: var(--sp-lg);
}

.about-full-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--sp-xs);
}

.about-name-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.96rem;
    color: var(--c-gray-mid);
    letter-spacing: 0.05em;
    margin-bottom: var(--sp-md);
}

.about-lead {
    font-size: 1.18rem;
    color: var(--c-white);
    margin-bottom: var(--sp-md);
    font-weight: 300;
    text-align: justify;
    text-justify: inter-word;
}

.about-lead--secondary {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--c-white-dim);
    margin-bottom: var(--sp-sm);
    text-align: justify;
    text-justify: inter-word;
}

.about-lead--secondary strong {
    color: var(--c-white);
}

.about-full-intro p { margin-bottom: var(--sp-sm); }
.about-full-intro p,
.about-block-content p {
    text-align: justify;
}

.about-full-intro p strong,
.about-block-content p strong {
    font-weight: 700;
    color: var(--c-white);
}

.page-intro strong,
.service-full-card p strong {
    font-weight: 700;
    color: #173647;
}

.about-monogram {
    position: relative;
    width: 176px;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    border: 1px solid var(--c-border);
}

.monogram-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--c-green);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse-ring 3s ease-in-out infinite;
}

.monogram-ring--2 {
    inset: -16px;
    opacity: 0.2;
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 0.2; transform: scale(1.04); }
}

.about-blocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-md);
}

.about-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    padding: var(--sp-lg);
    border-radius: var(--radius-lg);
    transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}

.about-block:hover {
    border-color: var(--c-green);
    background: var(--c-dark-3);
    transform: translateY(-4px);
}

.about-block-icon {
    width: 52px;
    height: 52px;
    color: var(--c-green-dk);
}

.about-block-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-block-content {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    width: 100%;
}

.about-block-content h3 {
    font-size: 1.32rem;
    margin-bottom: 0;
    color: var(--c-green-dk);
}

.about-block-content p {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--c-white-dim);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--sp-xs);
}

.tag {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    color: var(--c-gray);
    padding: 4px 10px;
    border-radius: 2px;
}

.tag--green {
    border-color: rgba(23,54,71,0.35);
    background: rgba(23,54,71,0.06);
    color: var(--c-green-dk);
}

/* ── Services Full (Servizi) ───────────────────────────────────── */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    align-items: stretch;
}

.service-full-card {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    height: 100%;
    padding: var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    transition: border-color var(--t-base), transform var(--t-base);
}

.service-full-card:hover {
    border-color: var(--c-green);
    transform: translateY(-4px);
}

.sfc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--sp-sm);
}

.sfc-icon {
    width: 56px;
    height: 56px;
    color: var(--c-green);
}

.sfc-num {
    font-family: var(--f-mono);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--c-border-2);
    line-height: 1;
}

.service-full-card h3 {
    font-size: 1.32rem;
    color: var(--c-white);
    margin-bottom: 4px;
}

.service-full-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

.services-main-section {
    padding-bottom: var(--sp-xl);
}

.services-cta-section {
    padding-top: var(--sp-xl);
}

.sfc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--sp-xs);
}

.sfc-tags span {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    background: rgba(23,54,71,0.1);
    border: 1px solid rgba(23,54,71,0.25);
    color: var(--c-green-lt);
    padding: 3px 8px;
    border-radius: 2px;
}

/* ── Timeline (Esperienza) ─────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--c-green) 0%, var(--c-border) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--sp-xl);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--c-green);
    border-radius: 50%;
    background: var(--c-dark);
    transition: background var(--t-base), transform var(--t-spring);
}

.timeline-item:hover .timeline-marker {
    background: var(--c-green);
    transform: scale(1.3);
}

.timeline-item--current .timeline-marker {
    background: var(--c-green);
    box-shadow: 0 0 0 4px rgba(16,39,53,0.2);
}

.timeline-content {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg) var(--sp-xl);
    transition: border-color var(--t-base);
}

.timeline-item:hover .timeline-content { border-color: var(--c-green); }
.timeline-item--current .timeline-content { border-color: rgba(23,54,71,0.4); }

.timeline-period {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: 8px;
}

.timeline-badge {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

.timeline-badge--active {
    background: rgba(16,39,53,0.2);
    border: 1px solid rgba(23,54,71,0.5);
    color: var(--c-green-lt);
}

.timeline-dates {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    color: var(--c-gray-mid);
}

.timeline-company {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-green-lt);
    margin-bottom: 4px;
}

.timeline-role {
    font-size: 1.28rem;
    margin-bottom: 4px;
    color: var(--c-white);
}

.timeline-location {
    font-size: 0.88rem;
    color: var(--c-gray-mid);
    margin-bottom: var(--sp-sm);
}

.timeline-desc p { font-size: 0.96rem; line-height: 1.75; }

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--sp-sm);
}

.timeline-skills span {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    color: var(--c-gray-light);
    padding: 3px 8px;
    border-radius: 2px;
}

/* ── Contact Page ──────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-2xl);
    align-items: start;
}

.contact-info h2 { margin-bottom: var(--sp-md); font-size: 2rem; }
.contact-info > p { margin-bottom: var(--sp-xl); }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    margin-bottom: var(--sp-xl);
}

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

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-green);
    flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; }

.contact-detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail strong {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--c-white);
    text-transform: uppercase;
    font-family: var(--f-cond);
}

.contact-detail span { font-size: 0.9rem; color: var(--c-white-dim); }

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(23,54,71,0.1);
    border: 1px solid rgba(23,54,71,0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--c-green-lt);
}

.availability-dot {
    width: 8px; height: 8px;
    background: var(--c-green-lt);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Form */
.contact-form-wrap {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-xl);
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: var(--sp-md);
    font-size: 0.9rem;
}

.form-alert--success {
    background: rgba(23,54,71,0.15);
    border: 1px solid rgba(23,54,71,0.4);
    color: var(--c-green-lt);
}

.form-alert--error {
    background: rgba(200,60,60,0.1);
    border: 1px solid rgba(200,60,60,0.3);
    color: #f87171;
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-md); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-family: var(--f-cond);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gray-light);
}

.req { color: var(--c-green); }

.form-group input,
.form-group textarea {
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--c-white);
    font-family: var(--f-sans);
    font-size: 0.9rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--c-gray-mid);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(23,54,71,0.15);
}

/* ── Blog ──────────────────────────────────────────────────────── */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blog-section { padding-top: var(--sp-2xl); }

.blog-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-xl);
}

.blog-toolbar-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.blog-toolbar-copy p { max-width: 700px; }

.blog-search-form {
    display: flex;
    gap: 8px;
    width: min(480px, 100%);
    flex-shrink: 0;
}

.blog-search-form input {
    width: 100%;
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--c-white);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.blog-search-form input:focus {
    border-color: var(--c-green);
    box-shadow: 0 0 0 3px rgba(23,54,71,0.15);
}

.blog-search-form input::placeholder { color: var(--c-gray-mid); }

.blog-search-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-green);
    border-radius: var(--radius-lg);
    padding: var(--sp-md) var(--sp-lg);
    margin-bottom: var(--sp-xl);
}

.blog-search-status p { color: var(--c-white-dim); }

.blog-featured { margin-bottom: var(--sp-2xl); }

.blog-section-head { margin-bottom: var(--sp-lg); }

.blog-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 8px;
    margin-bottom: 6px;
}

.blog-results-count {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
}

.blog-featured-grid,
.blog-grid {
    display: grid;
    gap: var(--sp-md);
}

.blog-featured-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }

.blog-card {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--t-base), transform var(--t-base);
}

.blog-card:hover {
    border-color: var(--c-green);
    transform: translateY(-4px);
}

.blog-card-media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, var(--c-dark-3), var(--c-dark-2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.blog-card:hover .blog-card-media img { transform: scale(1.04); }

.blog-card-placeholder {
    font-family: var(--f-cond);
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: var(--c-green);
}

.blog-card-body {
    padding: var(--sp-md) var(--sp-md) var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
}

.blog-card-cat {
    color: var(--c-green-lt);
    border: 1px solid rgba(23,54,71,0.32);
    padding: 2px 8px;
    border-radius: 2px;
    background: rgba(23,54,71,0.1);
}

.blog-card h3 {
    font-size: 1.22rem;
    line-height: 1.25;
}

.blog-card h3 a { transition: color var(--t-fast); }
.blog-card h3 a:hover { color: var(--c-green-lt); }

.blog-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--c-white-dim);
}

.blog-read-more {
    margin-top: auto;
    font-family: var(--f-cond);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-green-lt);
}

.blog-pagination {
    margin-top: var(--sp-xl);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-page-link a,
.blog-page-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    font-family: var(--f-cond);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-white-dim);
    transition: all var(--t-fast);
}

.blog-page-link a:hover {
    color: var(--c-green-lt);
    border-color: var(--c-green);
}

.blog-page-link .current {
    color: var(--c-white);
    background: rgba(16,39,53,0.2);
    border-color: rgba(23,54,71,0.5);
}

.blog-empty {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-2xl);
    text-align: center;
}

.blog-empty h3 {
    margin-bottom: var(--sp-sm);
    color: var(--c-white);
}

.blog-empty p {
    margin-bottom: var(--sp-md);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Single Post ──────────────────────────────────────────────── */
.single-post-page .page-hero--short {
    min-height: 220px;
    padding-bottom: var(--sp-md);
}

.single-post-page .article-section {
    padding-top: 3.2rem;
}

.article-layout {
    width: 100%;
    margin: 0 auto;
}

.single-article {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
}

.single-article-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: var(--sp-sm);
}

.single-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--sp-md);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
}

.single-article-category { color: var(--c-green-lt); }

.single-article-cover {
    margin-bottom: var(--sp-lg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border);
}

.single-article-cover img {
    width: 100%;
    height: auto;
}

.single-article-content > *:first-child { margin-top: 0; }
.single-article-content > *:last-child { margin-bottom: 0; }

.single-article-content h2,
.single-article-content h3,
.single-article-content h4 {
    margin-top: var(--sp-lg);
    margin-bottom: var(--sp-sm);
}

.single-article-content p,
.single-article-content ul,
.single-article-content ol,
.single-article-content blockquote {
    margin-bottom: var(--sp-md);
    font-size: 1.2rem;
    line-height: 1.9;
}

.single-article-content ul,
.single-article-content ol {
    padding-left: var(--sp-md);
}

.single-article-content ul { list-style: disc; }
.single-article-content ol { list-style: decimal; }

.single-article-content a {
    color: var(--c-green-lt);
    text-decoration: underline;
}

.single-article-content strong,
.single-article-content b {
    font-weight: 800;
    color: var(--c-white);
}

.single-article-content blockquote {
    border-left: 3px solid var(--c-green);
    padding-left: var(--sp-md);
    color: var(--c-white);
    font-style: italic;
}

.single-article-content img {
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
}

.single-article-tags {
    margin-top: var(--sp-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-article-tags span {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    color: var(--c-gray-light);
    padding: 4px 10px;
    border-radius: 2px;
}

.single-related-wrap {
    margin-top: var(--sp-xl);
    margin-left: auto;
    margin-right: auto;
}

.single-related {
    background: var(--c-dark-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
}

.single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

.single-related-card a {
    display: block;
    background: var(--c-dark-3);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-md);
    transition: border-color var(--t-fast);
}

.single-related-card a:hover { border-color: var(--c-green); }

.single-related-card strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--c-white);
    margin-bottom: 8px;
}

.single-related-card time {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
}

.single-related-empty { margin-bottom: var(--sp-md); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--c-dark-2); border-top: 1px solid var(--c-border); }

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-lg);
    display: grid;
    grid-template-columns: 2fr 0.62fr 0.68fr;
    gap: clamp(0.35rem, 1vw, 0.85rem);
}

.footer-logo-text {
    font-family: var(--f-cond);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--c-white);
    display: block;
    margin-bottom: var(--sp-sm);
}

.footer-logo-text span { color: var(--c-green); }

.footer-tagline { font-style: italic; color: var(--c-gray-mid); font-size: 0.9rem; }

.footer-links h4,
.footer-specializations h4,
.footer-contact h4 {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gray-mid);
    margin-bottom: var(--sp-md);
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--c-white-dim);
    transition: color var(--t-fast);
}
.footer-links ul li a:hover { color: var(--c-green-lt); }

.footer-links,
.footer-contact {
    justify-self: end;
    text-align: right;
}

.footer-specializations ul li {
    font-size: 0.85rem;
    color: var(--c-white-dim);
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}
.footer-specializations ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--c-green);
}

.footer-contact p { font-size: 0.9rem; color: var(--c-white-dim); margin-bottom: 6px; }

.footer-cta-btn {
    display: inline-block;
    margin-top: var(--sp-sm);
    font-family: var(--f-cond);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--c-green);
    color: var(--c-on-accent);
    padding: 8px 20px;
    border-radius: var(--radius);
    transition: background var(--t-fast);
}

.footer-cta-btn:hover { background: var(--c-green-lt); }

.footer-bottom { border-top: 1px solid var(--c-border); }

.footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--sp-md) var(--sp-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-md);
}

.footer-copy,
.footer-dev,
.footer-tech {
    font-size: 0.78rem;
    color: var(--c-gray-mid);
}

.footer-dev a {
    color: var(--c-green);
    font-weight: 500;
    text-decoration: none;
}

.footer-dev a:hover {
    text-decoration: underline;
}

/* ── Animations ────────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .services-full-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; row-gap: var(--sp-xl); }
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-preview-inner { grid-template-columns: 1fr; }
    .about-preview-visual { display: none; }
    .about-full-intro { grid-template-columns: 1fr; }
    .about-monogram { display: none; }
    .about-blocks { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .blog-toolbar { flex-direction: column; align-items: stretch; }
    .blog-search-status { flex-direction: column; align-items: flex-start; }
    .single-related-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { flex-direction: column; text-align: center; }
    .process-steps { flex-direction: column; }

    /* Mobile Nav */
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1003;
    }
    .site-header.menu-open {
        transition: none;
    }
    .primary-nav {
        position: fixed;
        inset: 0;
        background: var(--c-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        clip-path: circle(0% at calc(100% - 40px) 36px);
        transition: clip-path 0.5s ease;
        z-index: 1002;
    }
    .primary-nav.open { clip-path: circle(150% at calc(100% - 40px) 36px); }
    .nav-list { flex-direction: column; gap: var(--sp-md); text-align: center; }
    .nav-link { font-size: 1.5rem; }
    .site-header:not(.scrolled) .primary-nav .nav-link:not(.nav-cta) {
        color: var(--c-white);
        background: transparent;
    }
    .site-header:not(.scrolled) .primary-nav .nav-item.active .nav-link {
        color: var(--c-green-lt);
    }
    .site-header:not(.scrolled) .primary-nav .nav-link:not(.nav-cta):hover,
    .site-header:not(.scrolled) .primary-nav .nav-item.active .nav-link:hover {
        background: rgba(23,54,71,0.08);
    }
    .primary-nav .nav-cta {
        background: transparent;
        color: var(--c-white) !important;
        padding: 6px 14px;
    }
    .primary-nav .nav-cta:hover {
        background: rgba(23,54,71,0.08);
    }
}

@media (max-width: 640px) {
    :root { --header-h: 60px; }
    .container { padding: 0 var(--sp-md); }
    .section { padding: var(--sp-2xl) 0; }
    .hero-content {
        padding-top: var(--sp-lg);
        padding-bottom: calc(var(--sp-lg) + 56px);
    }
    .hero-eyebrow {
        justify-content: center;
        text-align: center;
    }
    .hero-layout {
        gap: var(--sp-lg);
    }
    .hero-subtitle {
        text-align: justify;
        text-justify: inter-word;
        max-width: none;
    }
    .hero-subtitle br {
        display: none;
    }
    .hero-ctas {
        justify-content: center;
        margin-bottom: var(--sp-lg);
    }
    .hero .btn {
        padding: 12px 20px;
        font-size: 0.82rem;
    }
    .cta-box {
        padding: var(--sp-xl) var(--sp-md);
    }
    .services-grid { grid-template-columns: 1fr; }
    .services-full-grid { grid-template-columns: 1fr; }
    .blog-featured-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .single-article { padding: var(--sp-lg); }
    .single-related-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        gap: 8px;
    }
    .hero-premium-card {
        width: 100%;
        padding: 1.25rem;
        border-radius: 18px;
    }
    .hero-premium-topline {
        margin-bottom: 2.8rem;
    }
    .hero-premium-case h2 {
        font-size: 1.45rem;
    }
    .hero-premium-blueprint {
        width: 148px;
        height: 180px;
    }
    .stat-divider { display: none; }
    .stat { text-align: center; }
    .stat-label {
        font-size: 0.64rem;
        letter-spacing: 0.04em;
        line-height: 1.35;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .timeline { padding-left: 30px; }
    .timeline-marker { left: -24px; }
}
