/**
 * FCG Main Stylesheet
 *
 * Architettura Digitale: Fusione Linear/Stripe + Razionalismo Italiano
 * Dark Mode First. Zero Decorazioni. Ogni Pixel ha uno Scopo.
 *
 * @package FCG
 */

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID SECTION
   Celle modulari ispirate a Linear.app
   ═══════════════════════════════════════════════════════════════ */
.bento-section {
    padding: var(--space-16) var(--space-4);
}

.bento-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }

    /* Celle grandi */
    .bento-cell--large {
        grid-column: span 2;
    }

    .bento-cell--stats {
        grid-row: span 1;
    }

    .bento-cell--founder {
        grid-row: span 2;
    }
}

/* Singola Cella Bento */
.bento-cell {
    position: relative;
    padding: var(--space-6);
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.bento-cell:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Cell Content */
.cell-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Cell Glow Effect */
.cell-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: var(--fcg-monza);
    filter: blur(60px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.bento-cell:hover .cell-glow {
    opacity: 0.15;
}

/* Border Glow for Service Cells */
.cell-border-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cell-border-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--grad-brand);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    padding: 1px;
}

.bento-cell:hover .cell-border-glow {
    opacity: 1;
}

/* ─── Stats Cells ─── */
.bento-cell--stats .cell-content,
.bento-cell--experience .cell-content,
.bento-cell--clients .cell-content {
    justify-content: center;
    align-items: flex-start;
}

.stat-icon {
    margin-bottom: var(--space-3);
    color: var(--fcg-volt);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    margin-top: var(--space-2);
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-primary);
}

.stat-sublabel {
    font-size: var(--text-micro);
    color: var(--text-secondary);
}

/* Experience Cell */
.experience-number {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.experience-label {
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-2);
}

.experience-detail {
    font-size: var(--text-small);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

/* Clients Cell */
.clients-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--fcg-volt);
    line-height: 1;
}

.clients-label {
    font-size: var(--text-small);
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

/* ─── Service Cells ─── */
.bento-cell--service {
    cursor: pointer;
}

.cell-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    color: var(--fcg-ivrea);
    background: rgba(231, 139, 95, 0.1);
    border-radius: var(--radius-md);
}

.service-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.service-desc {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--fcg-monza);
}

.service-cta svg {
    transition: transform var(--transition-fast);
}

.bento-cell--service:hover .service-cta svg {
    transform: translateX(4px);
}

/* ─── Founder Cell ─── */
.bento-cell--founder {
    background: var(--fcg-carbon);
}

.bento-cell--founder .cell-content {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.founder-image {
    margin-bottom: var(--space-4);
}

.founder-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--fcg-stone);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--text-secondary);
}

.founder-name {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
}

.founder-role {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* ─── Quote Cell ─── */
.bento-cell--quote {
    display: flex;
    align-items: center;
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    font-style: normal; /* MAI corsivo */
    color: var(--text-primary);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   WHY FCG SECTION
   ═══════════════════════════════════════════════════════════════ */
.why-section {
    padding: var(--space-20) var(--space-4);
    background: var(--fcg-carbon);
}

.why-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

/* Section Header (riutilizzabile) */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header--left {
    text-align: left;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header--left .section-subtitle {
    margin: 0;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-block {
    text-align: center;
    padding: var(--space-6);
}

.why-icon {
    margin-bottom: var(--space-4);
}

.why-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.why-desc {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION (FINALE)
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    position: relative;
    padding: var(--space-24) var(--space-4);
    overflow: hidden;
}

.cta-container {
    position: relative;
    max-width: var(--container-lg);
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: var(--text-h1);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Glow Orb Behind CTA - Subtle breathing */
.cta-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(217, 43, 43, 0.12) 0%, rgba(231, 139, 95, 0.06) 40%, transparent 65%);
    filter: blur(100px);
    pointer-events: none;
    animation: breathe 5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (Service Pages)
   ═══════════════════════════════════════════════════════════════ */
.page-hero--service {
    min-height: 60vh;
}

.page-hero--contact {
    min-height: 40vh;
}

.hero-subtitle--large {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--fcg-stone);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--fcg-volt);
    line-height: 1;
}

.hero-stat .stat-label {
    display: block;
    margin-top: var(--space-1);
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS SECTION (Google Ads)
   ═══════════════════════════════════════════════════════════════ */
.process-section {
    padding: var(--space-20) var(--space-4);
    background: var(--fcg-carbon);
}

.process-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
}

.step-number {
    position: relative;
    margin-bottom: var(--space-4);
}

.number-value {
    font-family: var(--font-mono);
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--fcg-monza);
}

.number-line {
    display: none;
}

@media (min-width: 1024px) {
    .number-line {
        display: block;
        position: absolute;
        top: 50%;
        left: 100%;
        width: calc(100% - 40px);
        height: 1px;
        background: linear-gradient(90deg, var(--fcg-monza), transparent);
        margin-left: var(--space-4);
    }
}

.step-content {}

.step-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.step-desc {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.step-list {
    list-style: none;
}

.step-list li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-2);
    font-size: var(--text-small);
    color: var(--text-secondary);
}

.step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--fcg-ivrea);
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════
   RESULTS SECTION (Google Ads)
   ═══════════════════════════════════════════════════════════════ */
.results-section {
    padding: var(--space-20) var(--space-4);
}

.results-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.result-card {
    padding: var(--space-6);
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    border-radius: var(--radius-lg);
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    background: rgba(231, 139, 95, 0.1);
    border-radius: var(--radius-md);
    color: var(--fcg-ivrea);
}

.result-icon--volt {
    background: rgba(204, 255, 0, 0.1);
    color: var(--fcg-volt);
}

.result-title {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.result-desc {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   SPEED SECTION (Siti Web)
   ═══════════════════════════════════════════════════════════════ */
.speed-section {
    padding: var(--space-16) var(--space-4);
    background: var(--fcg-carbon);
}

.speed-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.speed-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-10);
}

@media (min-width: 768px) {
    .speed-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.speed-stat {
    text-align: center;
    padding: var(--space-6);
    background: var(--fcg-void);
    border-radius: var(--radius-lg);
}

.speed-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-h1);
    font-weight: 800;
    color: var(--fcg-volt);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.speed-label {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* PageSpeed Badge */
.pagespeed-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-4);
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
}

.badge-score {
    position: relative;
    width: 48px;
    height: 48px;
}

.score-ring {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--fcg-stone);
    stroke-width: 3;
}

.score-fill {
    fill: none;
    stroke: var(--fcg-volt);
    stroke-width: 3;
    stroke-linecap: round;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 800;
    color: var(--fcg-volt);
}

.badge-label {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   DEV PROCESS TIMELINE (Siti Web)
   ═══════════════════════════════════════════════════════════════ */
.dev-process-section {
    padding: var(--space-20) var(--space-4);
}

.dev-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--space-6);
    padding-bottom: var(--space-10);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--fcg-monza);
    border-radius: 50%;
    flex-shrink: 0;
}

.marker-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--fcg-monza), var(--fcg-stone));
    margin-top: var(--space-2);
}

.timeline-content {
    flex: 1;
    padding-bottom: var(--space-2);
}

.timeline-label {
    display: inline-block;
    margin-bottom: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--fcg-ivrea);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.timeline-desc {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   STACK SECTION (Siti Web)
   ═══════════════════════════════════════════════════════════════ */
.stack-section {
    padding: var(--space-20) var(--space-4);
    background: var(--fcg-carbon);
}

.stack-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.stack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stack-card {
    padding: var(--space-6);
    background: var(--fcg-void);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.stack-icon {
    margin-bottom: var(--space-4);
    color: var(--fcg-concrete);
}

.stack-name {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.stack-desc {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   INCLUDES SECTION (Siti Web)
   ═══════════════════════════════════════════════════════════════ */
.includes-section {
    padding: var(--space-16) var(--space-4);
}

.includes-container {
    max-width: var(--container-lg);
    margin: 0 auto;
}

.includes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.includes-list {
    list-style: none;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--fcg-stone);
}

.includes-list li:last-child {
    border-bottom: none;
}

.includes-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.includes-list li span {
    font-size: var(--text-body);
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   CONSULTING SERVICES (Consulenza)
   ═══════════════════════════════════════════════════════════════ */
.consulting-services-section {
    padding: var(--space-8) var(--space-4) var(--space-20);
}

.services-container {
    max-width: var(--container-lg);
    margin: 0 auto;
}

.consulting-block {
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--fcg-stone);
}

.consulting-block:last-child {
    border-bottom: none;
}

.consulting-content {
    position: relative;
}

.consulting-number {
    font-family: var(--font-mono);
    font-size: var(--text-h1);
    font-weight: 700;
    color: var(--fcg-stone);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.consulting-title {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.consulting-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 700px;
}

.consulting-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
    .consulting-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

.detail-block {}

.detail-title {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.detail-list {
    list-style: none;
}

.detail-list li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-3);
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--fcg-ivrea);
    border-radius: 50%;
}

.consulting-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--fcg-carbon);
    border-radius: var(--radius-lg);
}

.pricing-label {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-value {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 800;
    color: var(--fcg-volt);
}

.pricing-note {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION (Consulenza)
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
    padding: var(--space-16) var(--space-4);
    background: var(--fcg-carbon);
}

.faq-container {
    max-width: var(--container-lg);
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    padding: var(--space-6);
    background: var(--fcg-void);
    border-radius: var(--radius-lg);
}

.faq-question {
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.faq-answer {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION (Contatti)
   ═══════════════════════════════════════════════════════════════ */
.contact-section {
    padding: var(--space-4) var(--space-4) var(--space-20);
}

.contact-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-16);
    }
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.info-block {}

.info-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--fcg-ivrea);
    margin-bottom: var(--space-2);
}

.info-value {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.info-value:hover {
    color: var(--fcg-monza);
}

.info-phone {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
}

.info-email {
    font-size: var(--text-h3);
    font-weight: 600;
}

.info-note {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* Response Card */
.response-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--fcg-carbon);
    border-radius: var(--radius-lg);
}

.response-icon {
    flex-shrink: 0;
    color: var(--fcg-ivrea);
}

.response-text {
    font-size: var(--text-small);
    line-height: 1.5;
}

.response-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.response-text span {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    padding: var(--space-8);
    background: var(--fcg-carbon);
    border-radius: var(--radius-xl);
}

.form-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-subtitle {
    font-size: var(--text-body);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

/* Form Elements */
.fcg-contact-form,
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--fcg-monza);
}

.form-input,
.form-textarea,
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
    background: var(--fcg-void);
    border: 1px solid var(--fcg-stone);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--fcg-concrete);
}

.form-input:focus,
.form-textarea:focus,
.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--fcg-monza);
    box-shadow: 0 0 0 3px rgba(217, 43, 43, 0.15);
}

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

/* Checkbox */
.form-group--privacy {
    margin-top: var(--space-2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--fcg-void);
    border: 1px solid var(--fcg-stone);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.form-checkbox input:checked + .checkbox-mark {
    background: var(--fcg-monza);
    border-color: var(--fcg-monza);
}

.form-checkbox input:checked + .checkbox-mark::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    margin: 3px auto;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: var(--text-small);
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--fcg-ivrea);
    text-decoration: underline;
}

/* CF7 Overrides */
.wpcf7-response-output {
    margin-top: var(--space-4) !important;
    padding: var(--space-4) !important;
    border-radius: var(--radius-md) !important;
    font-size: var(--text-small) !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
    border-color: var(--fcg-monza) !important;
    background: rgba(217, 43, 43, 0.1) !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: var(--fcg-volt) !important;
    background: rgba(204, 255, 0, 0.1) !important;
    color: var(--fcg-volt) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    padding: var(--space-16) var(--space-4) var(--space-8);
    background: var(--fcg-carbon);
    border-top: 1px solid var(--fcg-stone);
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Footer Brand */
.footer-brand {}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
}

.footer-tagline {
    font-size: var(--text-body);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.footer-experience {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.experience-number {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--fcg-monza);
}

.experience-label {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

/* Footer Links */
.footer-links,
.footer-contact {}

.footer-heading {
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--space-3);
}

.footer-menu a {
    font-size: var(--text-body);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--text-primary);
}

/* Footer Contact */
.footer-phone,
.footer-email {
    display: block;
    margin-bottom: var(--space-3);
    font-size: var(--text-body);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--fcg-ivrea);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--fcg-stone);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

.footer-copyright p {
    margin-bottom: var(--space-1);
}

.footer-legal {
    display: flex;
    gap: var(--space-2);
}

.legal-label {
    color: var(--fcg-concrete);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-3);
}

.footer-legal-links a {
    font-size: var(--text-small);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

.footer-legal-links .separator {
    color: var(--fcg-stone);
}

/* Footer Trace */
.footer-trace {
    margin-top: var(--space-8);
    height: 2px;
}

.footer-trace svg {
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTIONS (Blog, Pages)
   ═══════════════════════════════════════════════════════════════ */
.content-section,
.page-content-section {
    padding: var(--space-8) var(--space-4) var(--space-20);
}

.content-container,
.page-content-container {
    max-width: var(--container-lg);
    margin: 0 auto;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Post Card */
.post-card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
}

.post-thumbnail {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--space-6);
}

.post-date {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    color: var(--fcg-ivrea);
    margin-bottom: var(--space-2);
}

.post-title {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-3);
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.post-title a:hover {
    color: var(--fcg-monza);
}

.post-excerpt {
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--fcg-monza);
    text-decoration: none;
}

.post-link svg {
    transition: transform var(--transition-fast);
}

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

/* Pagination */
.navigation.pagination {
    margin-top: var(--space-12);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--fcg-carbon);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.page-numbers:hover,
.page-numbers.current {
    color: var(--text-primary);
    background: var(--fcg-stone);
}

.page-numbers.current {
    background: var(--fcg-monza);
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--space-16) 0;
}

.no-results h2 {
    font-family: var(--font-display);
    font-size: var(--text-h2);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.no-results p {
    color: var(--text-secondary);
}

/* Entry Content (default page/post content) */
.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.entry-content h2 {
    font-size: var(--text-h2);
}

.entry-content h3 {
    font-size: var(--text-h3);
}

.entry-content p {
    margin-bottom: var(--space-6);
}

.entry-content a {
    color: var(--fcg-ivrea);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--fcg-monza);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.entry-content li {
    margin-bottom: var(--space-2);
}

.entry-content blockquote {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    background: var(--fcg-carbon);
    border-left: 4px solid var(--fcg-monza);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.entry-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: var(--space-1) var(--space-2);
    background: var(--fcg-carbon);
    border-radius: var(--radius-sm);
    color: var(--fcg-ivrea);
}

.entry-content pre {
    margin: var(--space-6) 0;
    padding: var(--space-6);
    background: var(--fcg-carbon);
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
}

/* Single Post Specific */
.single-header {
    padding: calc(80px + var(--space-16)) var(--space-4) var(--space-8);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-small);
}

.single-meta .post-date {
    margin-bottom: 0;
}

.single-meta .meta-separator {
    color: var(--fcg-stone);
}

.single-meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.single-meta a:hover {
    color: var(--fcg-ivrea);
}

.single-title {
    max-width: 900px;
}

.single-featured-image {
    max-width: var(--container-xl);
    margin: 0 auto var(--space-12);
    padding: 0 var(--space-4);
}

.single-featured-image img {
    width: 100%;
    border-radius: var(--radius-xl);
}

.single-content-section {
    padding: 0 var(--space-4) var(--space-20);
}

.single-content-container {
    max-width: 720px;
    margin: 0 auto;
}

.single-footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--fcg-stone);
}

.post-tags {
    font-size: var(--text-small);
    color: var(--text-secondary);
}

.post-tags a {
    color: var(--fcg-ivrea);
    text-decoration: none;
}

.post-tags a:hover {
    color: var(--fcg-monza);
}

/* Post Navigation */
.post-navigation {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--fcg-stone);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .post-navigation .nav-links {
        grid-template-columns: 1fr 1fr;
    }
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: block;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
}

.nav-subtitle {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--fcg-ivrea);
    margin-bottom: var(--space-2);
}

.nav-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.post-navigation a:hover .nav-title {
    color: var(--fcg-monza);
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   COUNTER ANIMATION (for stats)
   ═══════════════════════════════════════════════════════════════ */
.counter {
    font-variant-numeric: tabular-nums;
}
/*
Theme Name: FCG - Felice Chirico Group
Theme URI: https://felicechiricogroup.it
Author: Felice Chirico Group
Author URI: https://felicechiricogroup.it
Description: Tema WordPress custom per FCG. Architettura Digitale: fusione tra estetica Linear/Stripe e Razionalismo Industriale Italiano. Dark Mode first. Zero decorazioni. Ogni pixel ha uno scopo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: Proprietary
License URI: https://felicechiricogroup.it/licenza
Text Domain: fcg
Tags: dark-mode, custom-logo, custom-menu, featured-images, threaded-comments

=====================================================
FCG DESIGN SYSTEM - ARCHITETTURA DIGITALE
=====================================================
Palette: Industrial Warmth (Olivetti-inspired)
Typography: Plus Jakarta Sans + Inter + JetBrains Mono
Philosophy: Zero Bullshit. Competenza Vera.
=====================================================
*/

/* ===========================================
   DESIGN TOKENS - Single Source of Truth
   =========================================== */
:root {
    /* ─── Core Palette: L'Architettura del Vuoto ─── */
    --fcg-void: #08080A;        /* Background principale - nero caldo */
    --fcg-carbon: #141416;      /* Superfici card */
    --fcg-stone: #1F1F22;       /* Bordi, separatori */
    --fcg-concrete: #8A8980;    /* Testo secondario - Cemento */

    /* ─── Accenti Olivetti: Azione e Calore ─── */
    --fcg-monza: #D92B2B;       /* CTA, azione primaria - Rosso Olivetti */
    --fcg-ivrea: #E78B5F;       /* Calore, hover - Arancio Lettera 22 */
    --fcg-volt: #CCFF00;        /* Successo, risultati - Verde acido */

    /* ─── Testo: Mai bianco puro ─── */
    --text-primary: rgba(255, 255, 255, 0.92);
    --text-secondary: #8A8980;
    --text-mono: #E78B5F;

    /* ─── Gradiente Brand ─── */
    --grad-brand: linear-gradient(135deg, #D92B2B, #E78B5F);

    /* ─── Glass & Effects ─── */
    --glass-surface: rgba(20, 20, 22, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-top: rgba(255, 255, 255, 0.15);
    --blur-strength: 16px;
    --glow-shadow: 0 0 40px -10px rgba(217, 43, 43, 0.4);
    --glow-shadow-hover: 0 0 60px -10px rgba(217, 43, 43, 0.6);

    /* ─── Typography ─── */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ─── Type Scale (4pt grid) ─── */
    --text-hero: clamp(3rem, 8vw, 6rem);      /* 48-96px */
    --text-h1: clamp(2.5rem, 5vw, 4.5rem);    /* 40-72px */
    --text-h2: clamp(2rem, 4vw, 3rem);        /* 32-48px */
    --text-h3: clamp(1.5rem, 3vw, 2rem);      /* 24-32px */
    --text-body: 1rem;                         /* 16px */
    --text-small: 0.875rem;                    /* 14px */
    --text-micro: 0.75rem;                     /* 12px */

    /* ─── Tracking (Letter Spacing) ─── */
    --tracking-tight: -0.04em;
    --tracking-normal: -0.02em;
    --tracking-wide: 0.02em;

    /* ─── Layout: 4px Grid System ─── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* ─── Border Radius ─── */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ─── Transitions: Snap, non fade romantico ─── */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ─── Z-Index Scale ─── */
    --z-base: 0;
    --z-elevated: 10;
    --z-sticky: 100;
    --z-nav: 1000;
    --z-modal: 2000;

    /* ─── Container Widths ─── */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
}
/**
 * FCG Critical CSS
 *
 * Stili inline per above-the-fold content.
 * Minimizzato per performance. Zero decorazioni superflue.
 *
 * @package FCG
 */

/* ═══════════════════════════════════════════════════════════════
   RESET ESSENZIALE
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

/* Font fallback per evitare FOUT */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-display: swap;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--fcg-void);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   NOISE TEXTURE OVERLAY
   Simula grana della pellicola - 3-4% opacità
   ═══════════════════════════════════════════════════════════════ */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════
   SKIP LINK (Accessibility)
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: var(--space-2) var(--space-4);
    background: var(--fcg-monza);
    color: white;
    z-index: var(--z-modal);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING ISLAND NAVIGATION
   Ispirazione Linear.app - glass effect
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-nav);
    width: calc(100% - var(--space-8));
    max-width: 900px;
}

.floating-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--glass-surface);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    border-radius: var(--radius-xl);
    box-shadow:
        0 4px 24px -4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 var(--glass-border-top);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-svg {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: var(--tracking-tight);
}

/* Menu Desktop */
.nav-menu-wrapper {
    display: none;
}

@media (min-width: 768px) {
    .nav-menu-wrapper {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.nav-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-small);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.is-active .nav-link {
    color: var(--text-primary);
}

/* CTA Button in Nav */
.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

/* Mobile Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

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

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--glow-shadow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--fcg-stone);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.btn-large {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-body);
}

.btn-xlarge {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Glow Effect */
.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--fcg-monza);
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity var(--transition-fast);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

/* Breathing Glow Animation - Subtle premium effect */
.btn-breathing-glow {
    position: relative;
}

.btn-breathing-glow::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: calc(var(--radius-md) + 6px);
    background: var(--grad-brand);
    filter: blur(28px);
    opacity: 0.35;
    z-index: -1;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.03); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section,
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: calc(80px + var(--space-16)) var(--space-4) var(--space-16);
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
}

/* Hero Glow Effect - Subtle, premium feel */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(217, 43, 43, 0.08) 0%, rgba(231, 139, 95, 0.04) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--fcg-ivrea);
    background: rgba(231, 139, 95, 0.1);
    border: 1px solid rgba(231, 139, 95, 0.2);
    border-radius: var(--radius-full);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--fcg-monza);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.title-accent {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-nav) - 1);
    background: var(--fcg-void);
    padding: calc(80px + var(--space-8)) var(--space-4) var(--space-8);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.mobile-nav-menu li a {
    display: block;
    padding: var(--space-4);
    font-family: var(--font-display);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast);
}

.mobile-nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-cta {
    margin-top: var(--space-4);
}

.mobile-phone {
    display: block;
    margin-top: var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-small);
    color: var(--fcg-ivrea);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════ */
.site-main {
    position: relative;
    z-index: var(--z-base);
}
