/*
Theme Name: Scighera Lab Theme
Theme URI: https://scighera.com
Author: Anthilla Group
Author URI: https://anthilla.com
Description: Tema custom WP per scighera.com — skunkworks Anthilla. HTML+CSS puro, no page builder, dark mode default (palette midnight + cyan nebbia), Inter font, logo 8-bar fog ascending. Mobile-first responsive, WCAG AA accessibility. Built S45-12-05 secondo specs in /Storage01/App01/anth/docs/scighera/02_VISUAL_IDENTITY.md
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietary (Anthilla Group)
Text Domain: scighera-lab
Tags: dark, custom-colors, custom-logo, responsive, accessibility-ready
*/

/* ===========================================================================
   Scighera Lab Theme — Design Tokens (CANONICAL S45-11-05 02_VISUAL_IDENTITY)
   ========================================================================== */

:root {
    /* Background */
    --bg-primary: #0A1828;
    --bg-secondary: #1a2937;
    --bg-elevated: #243349;

    /* Palette originale ripristinata: testo off-white + cyan accent.
       Solo H1+H2 (titoli principali) usano giallo oro carico #FFB300 (colore logo). */
    --accent-primary: #4FB3D9;     /* cyan nebbia — link, CTA, accent */
    --accent-secondary: #E8A24F;   /* arancio caldo — secondary */
    --accent-tertiary: #7FD9C0;    /* turquoise — hover link */
    --accent-gold: #FFB300;        /* giallo oro carico (uso limitato a H1/H2/logo) */
    --accent-gold-deep: #E8A24F;   /* alias arancio caldo per compat retro */
    --accent-gold-light: #F5C97A;  /* alias chiaro per compat retro */

    /* Text — palette originale, off-white per readability standard */
    --text-primary: #F5F1E8;       /* off-white — corpo testo */
    --text-secondary: #8FA0B5;     /* grigio blu — caption, meta, sub-mark */
    --text-tertiary: #5E7491;      /* desaturato — placeholder, disabled */

    /* Semantic */
    --success: #4FD9A8;
    --warning: #E8A24F;
    --error: #D96B6B;
    --info: #4FB3D9;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-body: var(--font-display);
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;

    /* Type scale Major Third 1.25 */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.375rem;   /* 38px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */

    /* Spacing 4px base */
    --space-1:  0.25rem;    /* 4px  */
    --space-2:  0.5rem;     /* 8px  */
    --space-3:  0.75rem;    /* 12px */
    --space-4:  1rem;       /* 16px */
    --space-5:  1.25rem;    /* 20px */
    --space-6:  1.5rem;     /* 24px */
    --space-7:  1.75rem;    /* 28px */
    --space-8:  2rem;       /* 32px */
    --space-10: 2.5rem;     /* 40px */
    --space-12: 3rem;       /* 48px */
    --space-14: 3.5rem;     /* 56px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    --space-24: 6rem;       /* 96px */
    --space-28: 7rem;       /* 112px */
    --space-32: 8rem;       /* 128px */

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows (subtle) */
    --shadow-sm: 0 1px 2px 0 rgba(10, 24, 40, 0.10);
    --shadow-md: 0 4px 6px -1px rgba(10, 24, 40, 0.15), 0 2px 4px -1px rgba(10, 24, 40, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(10, 24, 40, 0.20), 0 4px 6px -2px rgba(10, 24, 40, 0.10);
    --shadow-glow: 0 0 20px rgba(79, 179, 217, 0.25);

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ===========================================================================
   Reset + Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover, a:focus { color: var(--accent-tertiary); text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--space-4) 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
/* Solo H1+H2 in giallo oro carico (#FFB300, stesso del logo wordmark) */
h1 { color: #FFB300; font-weight: 700; }
h2 { color: #FFB300; font-weight: 700; }
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin: 0 0 var(--space-4) 0; }

code, pre, kbd {
    font-family: var(--font-mono);
    font-size: 0.92em;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
}
code { padding: 2px 6px; }
pre {
    padding: var(--space-4);
    overflow-x: auto;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
}
pre code { padding: 0; background: transparent; }

blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    border-left: 3px solid var(--accent-primary);
    color: var(--text-secondary);
    font-style: italic;
}

/* ===========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}
.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}
@media (min-width: 768px) {
    .container, .container-narrow {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}
@media (min-width: 1024px) {
    .container, .container-narrow {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

.site-header {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--bg-secondary);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(10, 24, 40, 0.85);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.site-branding a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--text-primary);
}
.site-branding a:hover { color: var(--accent-primary); text-decoration: none; }

.site-branding .glyph { flex-shrink: 0; }
.site-branding .wordmark-svg {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}
.site-branding .wordmark-svg svg { display: block; height: 28px; width: auto; }
.site-branding .sub-mark {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    align-self: flex-end;
    padding-bottom: 2px;
    margin-left: var(--space-2);
}
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.site-nav { display: flex; gap: var(--space-6); }
.site-nav a {
    color: var(--text-primary);
    font-weight: 500;
}
.site-nav a:hover { color: var(--accent-primary); text-decoration: none; }

/* Hero — mobile-first */
.hero {
    padding: var(--space-14) 0 var(--space-12) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
@media (min-width: 768px) { .hero { padding: var(--space-20) 0; } }
@media (min-width: 1024px) { .hero { padding: var(--space-24) 0; } }
.hero-headline {
    font-size: var(--text-3xl);
    font-weight: 400;
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto var(--space-5) auto;
}
@media (min-width: 768px) {
    .hero-headline { font-size: var(--text-4xl); margin-bottom: var(--space-6); }
}
@media (min-width: 1024px) {
    .hero-headline { font-size: var(--text-5xl); font-weight: 300; line-height: 1.1; }
}
.hero-sub {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-8) auto;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-8);
    background-color: #FFB300;
    color: #0A1828;
    font-weight: 700;
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.hero-cta:hover, .hero-cta:focus {
    transform: translateY(-1px);
    background-color: #FFC107;
    box-shadow: 0 0 30px rgba(255, 179, 0, 0.55);
    color: #0A1828;
    text-decoration: none;
}

/* Content section, mobile-first padding (cresce con viewport) */
.content-section { padding: var(--space-14) 0; }
@media (min-width: 768px) { .content-section { padding: var(--space-20) 0; } }
@media (min-width: 1024px) { .content-section { padding: var(--space-24) 0; } }

/* Alternanza background per separazione visiva tra sezioni */
.section--pillars      { background-color: var(--bg-primary); }
.section--history      { background-color: var(--bg-secondary); }
.section--services     { background-color: var(--bg-primary); }
.section--diario       { background-color: var(--bg-secondary); }
.section--cta-final    { background: linear-gradient(180deg, var(--bg-primary) 0%, #061220 100%); }

/* Cards (legacy generico) */
.card {
    background-color: var(--bg-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-elevated);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}
.card-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================================
   STORYTELLING + NARRATIVE BLOCKS (S45-12-05 rewrite)
   ============================================================ */
.section-headline {
    text-align: center;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
    color: #FFB300;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-sub {
    text-align: center;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto var(--space-12);
    font-size: var(--text-lg);
    line-height: 1.6;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--text-xs);
    color: var(--accent-gold-deep);
    font-weight: 700;
    margin-bottom: var(--space-2);
}
.text-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}
.text-center { text-align: center; }

/* Narrative intro block (lead text), mobile-first */
.narrative-block {
    background-color: rgba(255, 179, 0, 0.03);
    border-top: 1px solid rgba(255, 179, 0, 0.15);
    border-bottom: 1px solid rgba(255, 179, 0, 0.15);
}
.lead-text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}
@media (min-width: 768px) {
    .lead-text { font-size: var(--text-xl); margin-bottom: var(--space-6); }
}
.lead-text.emphasis {
    font-size: var(--text-xl);
    color: var(--accent-gold);
    font-weight: 600;
    border-left: 3px solid var(--accent-gold);
    padding-left: var(--space-5);
    margin-top: var(--space-8);
}
@media (min-width: 768px) {
    .lead-text.emphasis { font-size: var(--text-2xl); }
}
.emphasis {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1em;
}

/* Pillars grid, mobile-first (1 col → 2 col da 768px) */
.pillars-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
    max-width: 1080px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}
@media (min-width: 1280px) {
    .pillars-grid { gap: var(--space-10); }
}
.pillar-card {
    background-color: var(--bg-secondary);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-elevated);
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
    .pillar-card { padding: var(--space-10) var(--space-8); }
}
@media (min-width: 1280px) {
    .pillar-card { padding: var(--space-12) var(--space-10); }
}
.pillar-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}
.pillar-number {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--accent-gold-deep);
    letter-spacing: 0.18em;
    margin-bottom: var(--space-5);
    font-weight: 700;
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 179, 0, 0.08);
    border: 1px solid rgba(255, 179, 0, 0.25);
    border-radius: var(--radius-sm);
}
.pillar-card h3 {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    line-height: 1.3;
}
@media (min-width: 768px) {
    .pillar-card h3 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
}
.pillar-card p {
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: var(--space-5);
}
.pillar-card .pillar-anchor {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 500;
    border-top: 1px solid rgba(255, 179, 0, 0.2);
    padding-top: var(--space-6);
    margin-top: var(--space-6);
    margin-bottom: 0;
    line-height: 1.6;
}

/* History section (split 2-col: testo + 3 cardini) */
.section--history {
    background-color: rgba(79, 179, 217, 0.04);
    border-top: 1px solid rgba(79, 179, 217, 0.15);
}
.history-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .history-inner { grid-template-columns: 1.4fr 1fr; gap: var(--space-12); }
}
.history-text h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    line-height: 1.25;
}
.history-text p {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.history-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.history-pillar {
    background-color: var(--bg-elevated);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    box-shadow: var(--shadow-sm);
}
.history-pillar-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 179, 0, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 179, 0, 0.3);
}
.history-pillar-body { flex: 1; min-width: 0; }
.history-pillar h4 {
    color: var(--accent-gold);
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}
.history-pillar p {
    font-size: var(--text-sm);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Services grid (mobile-first) */
.services-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
    max-width: 1080px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}
.service-card {
    background-color: var(--bg-secondary);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-elevated);
    transition: border-color 0.2s ease;
}
@media (min-width: 768px) {
    .service-card { padding: var(--space-10) var(--space-8); }
}
.service-card:hover { border-color: var(--accent-primary); }
.service-card h3 {
    font-size: var(--text-xl);
    color: var(--accent-primary);
    margin-bottom: var(--space-5);
    line-height: 1.3;
}
.service-card p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

/* Example case block */
.section--example {
    background-color: rgba(255, 179, 0, 0.04);
    border-top: 1px solid rgba(255, 179, 0, 0.15);
    border-bottom: 1px solid rgba(255, 179, 0, 0.15);
}
.section--example h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}
.section--example p {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

/* Diario section */
.diario-header {
    text-align: center;
    margin-bottom: var(--space-12);
}
.diario-header .eyebrow {
    justify-content: center;
}
.diario-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}
.diario-header .section-sub {
    margin-top: 0;
}
.diario-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 700px) { .diario-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
@media (min-width: 1024px) { .diario-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.diario-card {
    background-color: var(--bg-elevated);
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.diario-card:hover { border-color: var(--accent-gold); }
.diario-date {
    color: var(--accent-gold-deep);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-3);
}
.diario-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}
.diario-card h3 a { color: var(--text-primary); text-decoration: none; }
.diario-card h3 a:hover { color: var(--accent-gold); }
.diario-card p {
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}
.diario-placeholder { background-color: rgba(255, 179, 0, 0.03); border-color: rgba(255, 179, 0, 0.2); }
.diario-placeholder:hover { transform: none; }
.diario-cta-row {
    text-align: center;
    margin-top: var(--space-8);
}
.hero-cta-outline {
    background-color: transparent !important;
    color: #FFB300 !important;
    border: 2px solid #FFB300 !important;
    box-shadow: none !important;
}
.hero-cta-outline:hover, .hero-cta-outline:focus {
    background-color: #FFB300 !important;
    color: #0A1828 !important;
}

/* Final CTA section */
.section--cta-final {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #061220 100%);
    padding: var(--space-24) 0;
    border-top: 2px solid var(--accent-gold);
}
.section--cta-final h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
    color: var(--accent-gold);
}

/* ============================================================
   CONTACT FORM (anthilla-contact-forms) - override per scighera
   ============================================================ */
.anth-cf-section { color: var(--text-primary) !important; }
.anth-cf-title { color: #FFB300 !important; font-weight: 700 !important; }
.anth-cf-intro { color: var(--text-primary) !important; opacity: 0.9; }
.anth-cf-form {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--bg-elevated) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.anth-cf-field { color: var(--accent-gold) !important; }
.anth-cf-field input, .anth-cf-field textarea, .anth-cf-field select {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-color: var(--bg-elevated) !important;
}
.anth-cf-field input:focus, .anth-cf-field textarea:focus, .anth-cf-field select:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.15) !important;
}
.anth-cf-legend { color: #FFB300 !important; }
.anth-cf-help { color: var(--text-primary) !important; opacity: 0.8; }
.anth-cf-radio {
    background: var(--bg-primary) !important;
    border-color: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
}
.anth-cf-radio:has(input:checked) {
    background: rgba(255, 179, 0, 0.1) !important;
    border-color: var(--accent-gold) !important;
}
.anth-cf-radio input { accent-color: var(--accent-gold) !important; }
.anth-cf-consents {
    background: rgba(255, 179, 0, 0.05) !important;
    border-left-color: var(--accent-gold) !important;
}
.anth-cf-consent input { accent-color: var(--accent-gold) !important; }
.anth-cf-submit {
    background: linear-gradient(180deg, var(--accent-gold-deep) 0%, #FF6F00 100%) !important;
    color: #0A1828 !important;
    font-weight: 800 !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 3px 0 rgba(0,0,0,0.25), 0 0 18px rgba(255, 143, 0, 0.35) !important;
}
.anth-cf-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0,0,0,0.3), 0 0 28px rgba(255, 111, 0, 0.5) !important; }

/* Site footer */
.site-footer {
    padding: var(--space-12) 0 var(--space-8) 0;
    background-color: #061220;
    border-top: 1px solid var(--bg-elevated);
    margin-top: var(--space-24);
}
.site-footer-inner {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer-col h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
}
.site-footer-col a, .site-footer-col p {
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.6;
}
.site-footer-col a {
    text-decoration: none;
    transition: color 0.15s ease;
}
.site-footer-col a:hover, .site-footer-col a:focus {
    color: var(--accent-tertiary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--bg-elevated);
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}
.site-footer-bottom a { color: var(--accent-primary); text-decoration: none; }
.site-footer-bottom a:hover { color: var(--accent-tertiary); text-decoration: underline; }

/* Lang switcher */
.lang-switcher {
    display: flex;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}
.lang-switcher li { display: inline-block; }
.lang-switcher a {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-decoration: none;
}
.lang-switcher a:hover { color: var(--accent-primary); background-color: var(--bg-elevated); }
.lang-switcher .current-lang a { color: var(--text-primary); background-color: var(--bg-elevated); }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: var(--space-3) var(--space-4);
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--bg-primary); text-decoration: none; }

/* Forms */
input, textarea, select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-elevated);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color 0.15s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--accent-primary);
    outline: 2px solid var(--accent-primary);
    outline-offset: -1px;
}
button[type="submit"] {
    background-color: #FFB300;
    color: #0A1828;
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-display);
    transition: background-color 0.15s ease;
}
button[type="submit"]:hover, button[type="submit"]:focus { background-color: #FFC107; }

/* Responsive */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
    }
    .site-header-inner { flex-direction: column; gap: var(--space-3); }
    .site-nav { flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
    .hero { padding: var(--space-12) 0; }
    .hero-headline { font-size: var(--text-4xl); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print */
@media print {
    body { background: white; color: black; }
    .site-header, .site-footer, .hero-cta { display: none; }
}
