/* ============================================================
   CRIMA IMPIANTI FERRARA — v2 MODERN
   Brand: Navy #1B2A4A + Red #E2253A
   ============================================================ */
:root {
    --brand-navy: #1B2A4A;
    --brand-navy-deep: #0F1B33;
    --brand-navy-light: #263B5E;
    --brand-red: #E2253A;
    --brand-red-dark: #C41E32;
    --brand-red-glow: #FF3D54;
    --brand-red-soft: rgba(226, 37, 58, 0.08);
    --white: #FFFFFF;
    --gray-50: #F5F6F8;
    --gray-100: #EBEDF2;
    --gray-200: #D4D8E1;
    --gray-500: #717D91;
    --gray-700: #3D4759;
    --glass-dark: rgba(15, 27, 51, 0.60);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --section-pad: clamp(80px, 10vw, 120px);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;
    --shadow-soft: 0 4px 24px rgba(27,42,74,0.06);
    --shadow-md: 0 8px 40px rgba(27,42,74,0.10);
    --shadow-lg: 0 20px 60px rgba(27,42,74,0.14);
    --shadow-glow-red: 0 8px 40px rgba(226,37,58,0.25);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s cubic-bezier(0.16,1,0.3,1);
    --t-normal: 0.4s cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--gray-700); background: var(--white); overflow-x: hidden; line-height: 1.7; font-size: 16px; margin: 0; padding: 0; }




img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.ci-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* === BUTTONS === */
.ci-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 36px; border-radius: var(--r-full); font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
    transition: all var(--t-normal); cursor: pointer; border: none;
    line-height: 1.4; position: relative; overflow: hidden;
}
.ci-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity var(--t-fast);
}
.ci-btn:hover::before { opacity: 1; }
.ci-btn--primary { background: var(--brand-red); color: var(--white); box-shadow: var(--shadow-glow-red); }
.ci-btn--primary:hover { background: var(--brand-red-dark); transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 48px rgba(226,37,58,0.35); }
.ci-btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.ci-btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.ci-btn--white { background: var(--white); color: var(--brand-navy); box-shadow: var(--shadow-md); }
.ci-btn--white:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }

/* === TOP BAR === */
.ci-topbar {
    background: var(--brand-navy-deep); color: rgba(255,255,255,0.7);
    font-size: 0.8rem; padding: 10px 0; letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ci-topbar .ci-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ci-topbar a { color: var(--brand-red-glow); font-weight: 600; }
.ci-topbar a:hover { color: var(--white); }
.ci-topbar__badge {
    background: var(--brand-red); color: var(--white); padding: 3px 14px;
    border-radius: var(--r-full); font-weight: 700; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    animation: ci-badge-pulse 3s ease-in-out infinite;
}
@keyframes ci-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(226,37,58,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(226,37,58,0); }
}

/* === NAVBAR === */
.ci-navbar {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.04); transition: all var(--t-normal);
}
.ci-navbar.scrolled { box-shadow: 0 4px 30px rgba(27,42,74,0.08); background: rgba(255,255,255,0.92); }
.ci-navbar .ci-container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }

.ci-logo { display: flex; align-items: center; gap: 14px; }
.ci-logo__icon {
    width: 46px; height: 46px; background: var(--brand-navy); border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    position: relative; overflow: hidden;
}
.ci-logo__icon::before {
    content: ''; position: absolute; width: 24px; height: 24px;
    border: 3px solid var(--brand-red); border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.ci-logo__icon::after {
    content: ''; position: absolute; width: 0; height: 0;
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-bottom: 10px solid var(--brand-red);
    top: 8px; left: 50%; transform: translateX(-50%) rotate(180deg);
}
.ci-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.ci-logo__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--brand-navy); letter-spacing: -0.02em; }
.ci-logo__sub { font-size: 0.65rem; color: var(--gray-500); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

.ci-nav { display: flex; gap: 8px; align-items: center; }
.ci-nav a { color: var(--gray-700); font-size: 0.88rem; font-weight: 500; padding: 8px 16px; border-radius: var(--r-sm); transition: all var(--t-fast); }
.ci-nav a:hover { color: var(--brand-red); background: var(--brand-red-soft); }
.ci-nav__cta {
    background: var(--brand-red) !important; color: var(--white) !important;
    padding: 10px 24px !important; border-radius: var(--r-full) !important;
    font-weight: 600 !important; box-shadow: 0 4px 16px rgba(226,37,58,0.2); margin-left: 8px;
}
.ci-nav__cta:hover { background: var(--brand-red-dark) !important; transform: translateY(-2px) scale(1.03); box-shadow: 0 6px 24px rgba(226,37,58,0.3) !important; }

.ci-hamburger { display: none; padding: 8px; z-index: 1001; }
.ci-hamburger span { display: block; width: 22px; height: 2px; background: var(--brand-navy); margin: 5px 0; transition: all var(--t-normal); border-radius: 2px; }
.ci-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ci-hamburger.active span:nth-child(2) { opacity: 0; }
.ci-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.ci-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--brand-navy); }
.ci-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 75% 30%, rgba(226,37,58,0.12), transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 70%, rgba(226,37,58,0.06), transparent 60%),
        radial-gradient(ellipse 80% 80% at 50% 50%, rgba(38,59,94,0.5), transparent),
        linear-gradient(170deg, var(--brand-navy-deep) 0%, var(--brand-navy) 40%, var(--brand-navy-light) 100%);
}
.ci-hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 80%);
    animation: ci-grid-drift 20s linear infinite;
}
@keyframes ci-grid-drift { 0% { transform: translate(0,0); } 100% { transform: translate(80px,80px); } }

.ci-hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; animation: ci-orb-float 8s ease-in-out infinite; }
.ci-hero__orb--1 { width: 400px; height: 400px; background: var(--brand-red); top: -10%; right: 10%; }
.ci-hero__orb--2 { width: 250px; height: 250px; background: var(--brand-red-glow); bottom: 10%; left: 5%; animation-delay: -3s; opacity: 0.2; }
@keyframes ci-orb-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-20px) scale(1.05); }
    66% { transform: translate(-20px,15px) scale(0.95); }
}

.ci-hero .ci-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.ci-hero__content { color: var(--white); }
.ci-hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--glass-dark); border: 1px solid var(--glass-border-dark);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 10px 22px; border-radius: var(--r-full);
    font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9);
    margin-bottom: 32px; animation: ci-fadeInUp 0.8s var(--ease-out);
}
.ci-hero__badge-dot { width: 8px; height: 8px; background: var(--brand-red); border-radius: 50%; box-shadow: 0 0 12px rgba(226,37,58,0.6); animation: ci-dot-pulse 2s ease-in-out infinite; }
@keyframes ci-dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.ci-hero__title { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 24px; animation: ci-fadeInUp 0.8s var(--ease-out) 0.1s both; }
.ci-hero__title .highlight { position: relative; color: var(--brand-red-glow); display: inline-block; }
.ci-hero__title .highlight::after { content: ''; position: absolute; bottom: 4px; left: -4px; right: -4px; height: 12px; background: rgba(226,37,58,0.2); border-radius: 4px; z-index: -1; }
.ci-hero__desc { font-size: 1.15rem; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 520px; margin-bottom: 40px; animation: ci-fadeInUp 0.8s var(--ease-out) 0.2s both; }
.ci-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; animation: ci-fadeInUp 0.8s var(--ease-out) 0.3s both; }

.ci-hero__stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); animation: ci-fadeInUp 0.8s var(--ease-out) 0.4s both; }
.ci-hero__stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.ci-hero__stat-number span { color: var(--brand-red-glow); }
.ci-hero__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 8px; font-weight: 500; }

/* Hero Card */
.ci-hero__visual { position: relative; animation: ci-fadeInUp 1s var(--ease-out) 0.3s both; }
.ci-hero__card {
    background: var(--glass-dark); backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--glass-border-dark); border-radius: var(--r-xl);
    padding: 40px 36px; position: relative; overflow: hidden;
}
.ci-hero__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-red), var(--brand-red-glow), var(--brand-red)); }
.ci-hero__card::after { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 70% 30%, rgba(226,37,58,0.05), transparent 50%); pointer-events: none; }
.ci-hero__card-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); margin-bottom: 28px; font-weight: 700; }

.ci-hero__services { display: flex; flex-direction: column; gap: 12px; }
.ci-hero__service-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: rgba(255,255,255,0.04); border-radius: var(--r-md); border: 1px solid rgba(255,255,255,0.04); transition: all var(--t-normal); cursor: default; }
.ci-hero__service-item:hover { background: rgba(226,37,58,0.08); border-color: rgba(226,37,58,0.15); transform: translateX(8px); }
.ci-hero__service-icon { width: 42px; height: 42px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.ci-hero__service-icon--electric { background: rgba(226,37,58,0.12); }
.ci-hero__service-icon--domotica { background: rgba(34,197,94,0.12); }
.ci-hero__service-icon--fotovoltaico { background: rgba(245,166,35,0.12); }
.ci-hero__service-icon--antifurto { background: rgba(91,163,255,0.12); }
.ci-hero__service-icon--ristrutturazioni { background: rgba(168,85,247,0.12); }
.ci-hero__service-name { color: var(--white); font-weight: 600; font-size: 0.92rem; }
.ci-hero__service-desc { color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-top: 2px; }

.ci-float-badge { position: absolute; background: var(--white); border-radius: var(--r-md); padding: 14px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.82rem; color: var(--brand-navy); z-index: 3; }
.ci-float-badge--top { top: -20px; right: 24px; animation: ci-float 5s ease-in-out infinite; }
.ci-float-badge--bottom { bottom: -20px; left: 24px; animation: ci-float 5s ease-in-out 2.5s infinite; }
@keyframes ci-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.ci-float-badge__icon { font-size: 1.25rem; }
@keyframes ci-fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* === TRUST BAR === */
.ci-trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 24px 0; position: relative; z-index: 10; }
.ci-trust-bar__items { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.ci-trust-bar__item { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--gray-700); background: var(--gray-50); padding: 10px 20px; border-radius: var(--r-full); border: 1px solid var(--gray-100); transition: all var(--t-fast); }
.ci-trust-bar__item:hover { border-color: rgba(226,37,58,0.2); background: var(--brand-red-soft); color: var(--brand-red); }
.ci-trust-bar__icon { font-size: 1.1rem; }

/* === SECTIONS === */
.ci-section { padding: var(--section-pad) 0; position: relative; }
.ci-section--dark { background: var(--brand-navy); color: var(--white); overflow: hidden; }
.ci-section--dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 50% at 80% 20%, rgba(226,37,58,0.06), transparent), radial-gradient(ellipse 50% 50% at 10% 80%, rgba(226,37,58,0.04), transparent); pointer-events: none; }
.ci-section--light { background: var(--gray-50); }
.ci-section__header { text-align: center; max-width: 660px; margin: 0 auto 72px; }
.ci-section__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-red); margin-bottom: 16px; padding: 6px 16px; background: var(--brand-red-soft); border-radius: var(--r-full); }
.ci-section--dark .ci-section__tag { background: rgba(226,37,58,0.15); color: var(--brand-red-glow); }
.ci-section__title { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; color: var(--brand-navy); }
.ci-section--dark .ci-section__title { color: var(--white); }
.ci-section__subtitle { font-size: 1.05rem; color: var(--gray-500); line-height: 1.75; }
.ci-section--dark .ci-section__subtitle { color: rgba(255,255,255,0.6); }

/* === SERVICES === */
.ci-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ci-service-card { background: var(--white); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--gray-100); transition: all 0.5s var(--ease-out); position: relative; overflow: hidden; }
.ci-service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--brand-red); transform: scaleX(0); transition: transform 0.5s var(--ease-out); transform-origin: left; }
.ci-service-card:hover::after { transform: scaleX(1); }
.ci-service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ci-service-card:nth-child(2)::after { background: #22C55E; }
.ci-service-card:nth-child(3)::after { background: #F5A623; }
.ci-service-card:nth-child(4)::after { background: #5BA3FF; }
.ci-service-card:nth-child(5)::after { background: #A855F7; }
.ci-service-card:nth-child(6)::after { background: #EC4899; }
.ci-service-card__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 22px; transition: transform 0.5s var(--ease-spring); }
.ci-service-card:hover .ci-service-card__icon { transform: scale(1.15) rotate(-5deg); }
.ci-service-card__icon--1 { background: var(--brand-red-soft); }
.ci-service-card__icon--2 { background: rgba(34,197,94,0.08); }
.ci-service-card__icon--3 { background: rgba(245,166,35,0.08); }
.ci-service-card__icon--4 { background: rgba(91,163,255,0.08); }
.ci-service-card__icon--5 { background: rgba(168,85,247,0.08); }
.ci-service-card__icon--6 { background: rgba(236,72,153,0.08); }
.ci-service-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--brand-navy); letter-spacing: -0.01em; }
.ci-service-card > p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }
.ci-service-card ul { margin-top: 18px; }
.ci-service-card ul li { font-size: 0.84rem; color: var(--gray-500); padding: 6px 0 6px 24px; position: relative; }
.ci-service-card ul li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--brand-red-soft); border: 2px solid var(--brand-red); }
.ci-service-card ul li::after { content: '✓'; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font-size: 0.6rem; color: var(--brand-red); font-weight: 800; }

/* === PROCESS === */
.ci-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.ci-process__grid::before { content: ''; position: absolute; top: 44px; left: 14%; right: 14%; height: 2px; background: linear-gradient(90deg, var(--brand-red), var(--gray-200), var(--brand-red)); opacity: 0.3; }
.ci-process__step { text-align: center; position: relative; }
.ci-process__number { width: 80px; height: 80px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--brand-red); border: 2px solid var(--gray-100); position: relative; z-index: 2; transition: all var(--t-normal); box-shadow: var(--shadow-soft); }
.ci-process__step:hover .ci-process__number { border-color: var(--brand-red); box-shadow: var(--shadow-glow-red); transform: scale(1.1); }
.ci-process__step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--brand-navy); }
.ci-process__step p { font-size: 0.88rem; color: var(--gray-500); max-width: 220px; margin: 0 auto; }

/* === GUARANTEES === */
.ci-guarantees__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ci-guarantee-card { display: flex; gap: 20px; padding: 28px 26px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--r-lg); transition: all var(--t-normal); position: relative; overflow: hidden; }
.ci-guarantee-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand-red); opacity: 0; transition: opacity var(--t-normal); }
.ci-guarantee-card:hover { background: rgba(226,37,58,0.06); border-color: rgba(226,37,58,0.12); transform: translateX(6px); }
.ci-guarantee-card:hover::before { opacity: 1; }
.ci-guarantee-card__icon { width: 48px; height: 48px; min-width: 48px; border-radius: var(--r-sm); background: rgba(226,37,58,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.ci-guarantee-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.ci-guarantee-card p { font-size: 0.86rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* === TESTIMONIALS === */
.ci-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ci-testimonial-card { background: var(--white); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--gray-100); transition: all var(--t-normal); position: relative; }
.ci-testimonial-card::before { content: '\201C'; position: absolute; top: 20px; right: 28px; font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: var(--brand-red-soft); line-height: 1; }
.ci-testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.ci-testimonial-card__stars { color: var(--brand-red); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 3px; }
.ci-testimonial-card__text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.75; margin-bottom: 24px; position: relative; z-index: 1; }
.ci-testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.ci-testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--white); flex-shrink: 0; }
.ci-testimonial-card__name { font-weight: 700; font-size: 0.9rem; color: var(--brand-navy); }
.ci-testimonial-card__role { font-size: 0.78rem; color: var(--gray-500); }

/* === ZONE === */
.ci-zone__content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ci-zone__text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 20px; color: var(--brand-navy); letter-spacing: -0.02em; }
.ci-zone__text p { color: var(--gray-500); margin-bottom: 16px; line-height: 1.75; }
.ci-zone__locations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ci-zone__tag { background: var(--brand-red-soft); color: var(--brand-red); padding: 8px 18px; border-radius: var(--r-full); font-size: 0.82rem; font-weight: 600; transition: all var(--t-fast); border: 1px solid rgba(226,37,58,0.1); }
.ci-zone__tag:hover { background: var(--brand-red); color: var(--white); transform: translateY(-2px); }
.ci-zone__map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--gray-100); }
.ci-zone__map iframe { width: 100%; height: 100%; border: 0; }

/* === CTA === */
.ci-cta { background: var(--brand-navy); position: relative; overflow: hidden; padding: 100px 0; }
.ci-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(226,37,58,0.15), transparent 60%), radial-gradient(ellipse 40% 40% at 80% 100%, rgba(226,37,58,0.08), transparent); }
.ci-cta::after { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--brand-red), transparent); }
.ci-cta__content { text-align: center; position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.ci-cta__content h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--white); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.ci-cta__content > p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: 40px; line-height: 1.75; }
.ci-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ci-cta__phone { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); margin-top: 32px; display: block; letter-spacing: -0.01em; }
.ci-cta__phone a { color: var(--white); border-bottom: 2px solid rgba(226,37,58,0.4); transition: border-color var(--t-fast); }
.ci-cta__phone a:hover { border-color: var(--brand-red); }

/* === FAQ === */
.ci-faq__list { max-width: 800px; margin: 0 auto; }
.ci-faq__item { border-bottom: 1px solid var(--gray-100); }
.ci-faq__question { width: 100%; background: none; border: none; padding: 28px 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--brand-navy); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color var(--t-fast); }
.ci-faq__question:hover { color: var(--brand-red); }
.ci-faq__arrow { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; background: var(--brand-red-soft); color: var(--brand-red); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: all var(--t-normal); }
.ci-faq__item.open .ci-faq__arrow { transform: rotate(180deg); background: var(--brand-red); color: var(--white); }
.ci-faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.ci-faq__item.open .ci-faq__answer { max-height: 300px; }
.ci-faq__answer-inner { padding-bottom: 28px; font-size: 0.95rem; color: var(--gray-500); line-height: 1.75; }

/* === FOOTER === */
.ci-footer { background: var(--brand-navy-deep); color: rgba(255,255,255,0.6); padding: 72px 0 0; }
.ci-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ci-footer__brand p { font-size: 0.88rem; line-height: 1.75; margin-top: 18px; max-width: 300px; }
.ci-footer__col h4 { color: var(--white); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 22px; }
.ci-footer__col ul li { margin-bottom: 12px; }
.ci-footer__col ul li a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: all var(--t-fast); }
.ci-footer__col ul li a:hover { color: var(--white); padding-left: 4px; }
.ci-footer__bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.ci-footer__bottom a { color: rgba(255,255,255,0.35); }
.ci-footer__bottom a:hover { color: var(--white); }

/* === SCROLL REVEAL === */
.ci-reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.ci-reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .ci-hero .ci-container { grid-template-columns: 1fr; gap: 48px; }
    .ci-hero__visual { max-width: 560px; }
    .ci-services__grid { grid-template-columns: repeat(2, 1fr); }
    .ci-process__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .ci-process__grid::before { display: none; }
    .ci-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .ci-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ci-nav { display: none; }
    .ci-hamburger { display: block; }
    .ci-nav.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98);
        backdrop-filter: blur(24px); padding: 24px; gap: 4px;
        box-shadow: var(--shadow-lg); border-top: 1px solid var(--gray-100); z-index: 999;
    }
    .ci-nav.open a { padding: 14px 16px; border-radius: var(--r-sm); }
    .ci-hero { min-height: auto; padding: 60px 0; }
    .ci-hero__stats { gap: 28px; flex-wrap: wrap; }
    .ci-hero__stat-number { font-size: 1.7rem; }
    .ci-section { padding: 70px 0; }
    .ci-services__grid { grid-template-columns: 1fr; }
    .ci-process__grid { grid-template-columns: 1fr; gap: 28px; }
    .ci-guarantees__grid { grid-template-columns: 1fr; }
    .ci-testimonials__grid { grid-template-columns: 1fr; }
    .ci-zone__content { grid-template-columns: 1fr; }
    .ci-footer__grid { grid-template-columns: 1fr; }
    .ci-float-badge { display: none; }
    .ci-topbar .ci-container { font-size: 0.72rem; }
    .ci-trust-bar__items { gap: 8px; }
    .ci-trust-bar__item { padding: 8px 14px; font-size: 0.78rem; }
}

/* === WP COMPAT === */
.wp-block-image img { border-radius: var(--r-md); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ===== HERO V3 — Background Image + Gradient Overlay ===== */
.ci-hero--v3 { min-height: 100vh; position: relative; background: var(--brand-navy); }
.ci-hero--v3 .ci-hero__bg {
    position: absolute; inset: 0;
    /*
     * FOTO HERO: Elettricista sorridente
     * Pexels 8853540 - Maintenance guy orange hard hat (Los Muertos Crew) - FREE
     * Se l'immagine non si carica, provare:
     * - https://images.pexels.com/photos/8005397/pexels-photo-8005397.jpeg?auto=compress&cs=tinysrgb&w=1920
     * - https://images.pexels.com/photos/5691640/pexels-photo-5691640.jpeg?auto=compress&cs=tinysrgb&w=1920
     * Oppure sostituire con foto reale del team Crima Impianti
     */
    background-color: var(--brand-navy);
    /* Hero image set dynamically via PHP inline style */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /*
     * FOTO HERO: Operaio/elettricista ben illuminato
     * Attuale: Pexels 5691640 - Worker outdoor bright (luminosa)
     * Alt 1: https://images.pexels.com/photos/8159/pexels-photo.jpg?auto=compress&cs=tinysrgb&w=1920 (hard hat outdoor bright)
     * Alt 2: https://images.pexels.com/photos/1216589/pexels-photo-1216589.jpeg?auto=compress&cs=tinysrgb&w=1920 (electrician working bright)
     * Alt 3: https://images.pexels.com/photos/585419/pexels-photo-585419.jpeg?auto=compress&cs=tinysrgb&w=1920 (worker hard hat outdoor daylight)
     * Alt 4: https://images.pexels.com/photos/2760243/pexels-photo-2760243.jpeg?auto=compress&cs=tinysrgb&w=1920 (engineer factory bright)
     * IMPORTANTE: Scegli una foto luminosa con sfondo chiaro per visibilità.
     * Ideale: foto propria del team Crima Impianti in esterno, luce naturale.
     */
}
.ci-hero--v3 .ci-hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(15,27,51,0.93) 0%, rgba(15,27,51,0.80) 35%, rgba(15,27,51,0.40) 65%, rgba(15,27,51,0.20) 100%),
        linear-gradient(180deg, rgba(15,27,51,0.15) 0%, rgba(15,27,51,0.0) 40%, rgba(15,27,51,0.50) 100%);
    z-index: 1;
}
.ci-hero--v3 .ci-hero__overlay::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 40% at 70% 40%, rgba(226,37,58,0.08), transparent 70%),
                radial-gradient(ellipse 30% 30% at 20% 70%, rgba(226,37,58,0.05), transparent 60%);
    pointer-events: none;
}
.ci-hero--v3 .ci-hero__grid { z-index: 2; opacity: 0.4; }
.ci-hero--v3 .ci-hero__orb { z-index: 2; opacity: 0.15; }
.ci-hero--v3 .ci-container { position: relative; z-index: 3; }
.ci-hero--v3 .ci-panel__card {
    background: linear-gradient(165deg, rgba(15,27,51,0.88) 0%, rgba(11,20,40,0.94) 100%);
    border-color: rgba(255,255,255,0.09);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
/* Hide stats on desktop (they're in the panel) */
.ci-hero--v3 .ci-hero__stats { display: none; }

/* ===== PANEL DASHBOARD ===== */
.ci-panel { position: relative; }
.ci-panel::before {
    content: ''; position: absolute; top: 10%; left: -10%; right: -10%; bottom: 10%;
    background: radial-gradient(ellipse at 50% 50%, rgba(226,37,58,0.06), transparent 70%);
    filter: blur(40px); pointer-events: none; z-index: -1;
}
.ci-panel__card {
    background: linear-gradient(165deg, rgba(27,42,74,0.85) 0%, rgba(15,27,51,0.92) 100%);
    backdrop-filter: blur(40px) saturate(1.6); -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.07); border-radius: 28px; overflow: hidden;
}
.ci-panel__glow {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-red) 30%, var(--brand-red-glow) 50%, var(--brand-red) 70%, transparent 100%);
    position: relative; overflow: hidden;
}
.ci-panel__glow::after {
    content: ''; position: absolute; top: -4px; left: -100%; width: 60px; height: 10px;
    background: radial-gradient(ellipse, rgba(255,61,84,0.8), transparent);
    animation: ci-spark 3s ease-in-out infinite;
}
@keyframes ci-spark { 0% { left: -10%; } 100% { left: 110%; } }

.ci-panel__header { padding: 28px 32px 20px; display: flex; justify-content: space-between; align-items: center; }
.ci-panel__title-group { display: flex; align-items: center; gap: 14px; }
.ci-panel__icon-ring {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(226,37,58,0.15), rgba(226,37,58,0.05));
    border: 1px solid rgba(226,37,58,0.2);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.ci-panel__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); }
.ci-panel__live { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; color: #22C55E; text-transform: uppercase; letter-spacing: 0.1em; }
.ci-panel__live-dot { width: 6px; height: 6px; background: #22C55E; border-radius: 50%; box-shadow: 0 0 8px rgba(34,197,94,0.6); animation: ci-dot-pulse 2s ease-in-out infinite; }

.ci-panel__list { padding: 0 24px 12px; display: flex; flex-direction: column; gap: 4px; }
.ci-panel__row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; transition: all 0.35s cubic-bezier(0.16,1,0.3,1); cursor: default; border: 1px solid transparent; }
.ci-panel__row:hover { background: rgba(226,37,58,0.04); border-color: rgba(226,37,58,0.08); }

.ci-panel__bar { width: 3px; height: 36px; border-radius: 3px; flex-shrink: 0; position: relative; overflow: hidden; }
.ci-panel__bar-bg { position: absolute; inset: 0; border-radius: 3px; opacity: 0.2; }
.ci-panel__bar-fill { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px; transition: height 0.8s cubic-bezier(0.16,1,0.3,1); }
.ci-panel__row:nth-child(1) .ci-panel__bar-bg { background: var(--brand-red); }
.ci-panel__row:nth-child(1) .ci-panel__bar-fill { background: var(--brand-red); height: 100%; }
.ci-panel__row:nth-child(2) .ci-panel__bar-bg { background: #22C55E; }
.ci-panel__row:nth-child(2) .ci-panel__bar-fill { background: #22C55E; height: 85%; }
.ci-panel__row:nth-child(3) .ci-panel__bar-bg { background: #F5A623; }
.ci-panel__row:nth-child(3) .ci-panel__bar-fill { background: #F5A623; height: 90%; }
.ci-panel__row:nth-child(4) .ci-panel__bar-bg { background: #5BA3FF; }
.ci-panel__row:nth-child(4) .ci-panel__bar-fill { background: #5BA3FF; height: 70%; }
.ci-panel__row:nth-child(5) .ci-panel__bar-bg { background: #A855F7; }
.ci-panel__row:nth-child(5) .ci-panel__bar-fill { background: #A855F7; height: 80%; }

.ci-panel__row-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.ci-panel__row:hover .ci-panel__row-icon { transform: scale(1.08); }
.ci-panel__row:nth-child(1) .ci-panel__row-icon { background: rgba(226,37,58,0.1); }
.ci-panel__row:nth-child(2) .ci-panel__row-icon { background: rgba(34,197,94,0.1); }
.ci-panel__row:nth-child(3) .ci-panel__row-icon { background: rgba(245,166,35,0.1); }
.ci-panel__row:nth-child(4) .ci-panel__row-icon { background: rgba(91,163,255,0.1); }
.ci-panel__row:nth-child(5) .ci-panel__row-icon { background: rgba(168,85,247,0.1); }

.ci-panel__row-info { flex: 1; min-width: 0; }
.ci-panel__row-name { font-weight: 700; font-size: 0.9rem; color: var(--white); margin-bottom: 2px; }
.ci-panel__row-desc { font-size: 0.76rem; color: rgba(255,255,255,0.45); line-height: 1.4; }

.ci-panel__row-badge { font-size: 0.68rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0; }
.ci-panel__row:nth-child(1) .ci-panel__row-badge { background: rgba(226,37,58,0.1); color: var(--brand-red-glow); }
.ci-panel__row:nth-child(2) .ci-panel__row-badge { background: rgba(34,197,94,0.1); color: #4ADE80; }
.ci-panel__row:nth-child(3) .ci-panel__row-badge { background: rgba(245,166,35,0.1); color: #FBBF24; }
.ci-panel__row:nth-child(4) .ci-panel__row-badge { background: rgba(91,163,255,0.1); color: #93C5FD; }
.ci-panel__row:nth-child(5) .ci-panel__row-badge { background: rgba(168,85,247,0.1); color: #C084FC; }

.ci-panel__divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); margin: 0 32px; }

.ci-panel__stats { padding: 20px 32px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ci-panel__stat { text-align: center; padding: 16px 12px; border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); transition: all 0.3s ease; }
.ci-panel__stat:hover { background: rgba(226,37,58,0.04); border-color: rgba(226,37,58,0.1); }
.ci-panel__stat-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.ci-panel__stat-val span { color: var(--brand-red-glow); }
.ci-panel__stat-lbl { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* ===== MOBILE: hide panel, show stats, center content ===== */
@media (max-width: 768px) {
    .ci-hero--v3 .ci-hero__visual { display: none; }
    .ci-hero--v3 .ci-container { grid-template-columns: 1fr; text-align: center; padding-top: 80px; padding-bottom: 80px; }
    .ci-hero--v3 .ci-hero__content { max-width: 600px; margin: 0 auto; }
    .ci-hero--v3 .ci-hero__desc { margin-left: auto; margin-right: auto; }
    .ci-hero--v3 .ci-hero__actions { justify-content: center; }
    .ci-hero--v3 .ci-hero__badge { margin-left: auto; margin-right: auto; }
    .ci-hero--v3 .ci-hero__stats { display: flex; justify-content: center; border-top-color: rgba(255,255,255,0.1); }
    .ci-hero--v3 .ci-hero__bg {
        background-image: url('https://images.pexels.com/photos/2588757/pexels-photo-2588757.jpeg?auto=compress&cs=tinysrgb&w=800') !important;
        background-size: cover !important;
        background-position: center !important;
        background-color: var(--brand-navy) !important;
        /* Pexels 2588757 - Circuit board close up (free) 
           Alternative: https://images.pexels.com/photos/163100/circuit-circuit-board-resistor-computer-163100.jpeg?auto=compress&cs=tinysrgb&w=800
        */
    }
    .ci-hero--v3 .ci-hero__overlay {
        background: linear-gradient(180deg, rgba(15,27,51,0.88) 0%, rgba(15,27,51,0.82) 50%, rgba(15,27,51,0.92) 100%) !important;
    }
    .ci-hero--v3 .ci-hero__overlay::after {
        display: block !important;
        content: '';
        position: absolute; inset: 0;
        background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(226,37,58,0.08), transparent 70%);
        pointer-events: none;
    }
    .ci-hero--v3 .ci-hero__orb { opacity: 0.3; }
    .ci-panel__stats { grid-template-columns: 1fr; gap: 8px; }
    .ci-panel__row-badge { display: none; }
    .ci-panel__bar { display: none; }
}

/* ===== SERVICE CARDS WITH PHOTOS ===== */
.ci-service-card__photo {
    width: 100%; height: 180px; border-radius: 14px;
    overflow: hidden; margin-bottom: 22px; position: relative;
    transform: rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 16px rgba(27,42,74,0.08);
}
.ci-service-card:nth-child(odd) .ci-service-card__photo { transform: rotate(-1.5deg); }
.ci-service-card:nth-child(even) .ci-service-card__photo { transform: rotate(1.5deg); }
.ci-service-card:hover .ci-service-card__photo { transform: rotate(0deg) scale(1.02); box-shadow: 0 12px 40px rgba(27,42,74,0.15); }
.ci-service-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.ci-service-card:hover .ci-service-card__photo img { transform: scale(1.08); }
.ci-service-card__photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(27,42,74,0.15), transparent); pointer-events: none; }
.ci-service-card .ci-service-card__icon { position: relative; z-index: 2; margin-top: -32px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(27,42,74,0.1); border: 3px solid var(--white); }

/* ===== FUTURISTIC SERVICES SECTION ===== */
.ci-section--futuristic {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(170deg, #0a0f1e 0%, #0d1a2e 35%, #111d35 60%, #0a1628 100%);
    overflow: hidden;
    color: var(--white);
}

/* Animated grid background */
.ci-section--futuristic__grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(226,37,58,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,37,58,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 75%);
    animation: ci-grid-drift 25s linear infinite;
}

/* Glowing orbs */
.ci-section--futuristic__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.ci-section--futuristic__orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(226,37,58,0.12), transparent 70%);
    top: -10%; right: -5%;
    animation: ci-orb-float 12s ease-in-out infinite;
}
.ci-section--futuristic__orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(91,163,255,0.08), transparent 70%);
    bottom: -15%; left: -5%;
    animation: ci-orb-float 10s ease-in-out infinite reverse;
}

/* Section overrides for futuristic context */
.ci-section--futuristic .ci-section__header { position: relative; z-index: 2; }
.ci-section--futuristic .ci-section__tag--glow {
    background: rgba(226,37,58,0.12);
    color: var(--brand-red-glow);
    border: 1px solid rgba(226,37,58,0.2);
    box-shadow: 0 0 20px rgba(226,37,58,0.1);
}
.ci-section--futuristic .ci-section__subtitle {
    color: rgba(255,255,255,0.55);
}

/* Hero-style large title */
.ci-section__title--hero {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
    color: var(--white) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
}

/* Gradient text effect */
.ci-gradient-text {
    background: linear-gradient(135deg, var(--brand-red-glow) 0%, #FF6B81 30%, #FF9F43 60%, var(--brand-red-glow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ci-gradient-shift 4s ease-in-out infinite;
}
@keyframes ci-gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Service cards in futuristic context */
.ci-section--futuristic .ci-services__grid { position: relative; z-index: 2; }
.ci-section--futuristic .ci-service-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ci-section--futuristic .ci-service-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(226,37,58,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(226,37,58,0.05);
}
.ci-section--futuristic .ci-service-card::after {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-red-glow));
}
.ci-section--futuristic .ci-service-card:nth-child(2)::after { background: linear-gradient(90deg, #22C55E, #4ADE80); }
.ci-section--futuristic .ci-service-card:nth-child(3)::after { background: linear-gradient(90deg, #F5A623, #FBBF24); }
.ci-section--futuristic .ci-service-card:nth-child(4)::after { background: linear-gradient(90deg, #5BA3FF, #93C5FD); }
.ci-section--futuristic .ci-service-card:nth-child(5)::after { background: linear-gradient(90deg, #A855F7, #C084FC); }
.ci-section--futuristic .ci-service-card:nth-child(6)::after { background: linear-gradient(90deg, #EC4899, #F472B6); }

.ci-section--futuristic .ci-service-card h3 { color: var(--white); }
.ci-section--futuristic .ci-service-card > p { color: rgba(255,255,255,0.55); }
.ci-section--futuristic .ci-service-card ul li { color: rgba(255,255,255,0.5); }
.ci-section--futuristic .ci-service-card ul li::before { background: rgba(226,37,58,0.2); border-color: var(--brand-red-glow); }
.ci-section--futuristic .ci-service-card ul li::after { color: var(--brand-red-glow); }

/* Photo overlay darker in futuristic */
.ci-section--futuristic .ci-service-card__photo::after {
    background: linear-gradient(to top, rgba(10,15,30,0.3), transparent);
}
.ci-section--futuristic .ci-service-card .ci-service-card__icon {
    border-color: rgba(255,255,255,0.1);
}

/* ===== CIRCUIT BOARD BACKGROUND ===== */
.ci-section--futuristic__grid-bg {
    background-image: none !important;
    background-size: auto !important;
}
.ci-section--futuristic__circuits {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.ci-section--futuristic__circuits svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
}

/* Circuit traces — icy white */
.ci-circuit-line {
    stroke: rgba(200, 220, 245, 0.12);
    fill: none;
}
.ci-circuit-glow {
    stroke: rgba(200, 220, 245, 0.06);
    fill: none;
    filter: blur(2px);
}

/* Junction nodes */
.ci-circuit-node {
    fill: rgba(200, 220, 245, 0.2);
}

/* Animated pulse */
@keyframes ci-circuit-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.ci-circuit-line:nth-child(3n) { animation: ci-circuit-breathe 8s ease-in-out infinite; }
.ci-circuit-line:nth-child(3n+1) { animation: ci-circuit-breathe 8s ease-in-out -3s infinite; }
.ci-circuit-line:nth-child(3n+2) { animation: ci-circuit-breathe 8s ease-in-out -6s infinite; }

/* Flowing current — red energy pulse */
@keyframes ci-current-flow {
    0% { stroke-dashoffset: 60; }
    100% { stroke-dashoffset: 0; }
}
.ci-circuit-current {
    stroke: rgba(226, 37, 58, 0.25);
    fill: none;
    stroke-dasharray: 12 48;
    animation: ci-current-flow 4s linear infinite;
}

/* IC chips glow */
.ci-circuit-chip {
    stroke: rgba(200, 220, 245, 0.15);
    fill: rgba(200, 220, 245, 0.03);
}

/* ===== PROCESS ENERGY FLOW ===== */
.ci-process-energy { position: relative; padding-top: 20px; }

/* Wire connector */
.ci-process-energy__wire {
    position: absolute;
    top: 60px; /* center of circles */
    left: 14%; right: 14%;
    height: 3px;
    z-index: 0;
}
.ci-process-energy__wire-bg {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--gray-200), var(--gray-100), var(--gray-200));
    border-radius: 4px;
}

/* Spark particles traveling along wire */
.ci-process-energy__spark {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--brand-red), var(--brand-red-glow), transparent);
    box-shadow: 0 0 12px rgba(226,37,58,0.6), 0 0 4px rgba(226,37,58,0.8);
    animation: ci-spark-travel 3s ease-in-out infinite;
}
.ci-process-energy__spark--2 { animation-delay: -1s; width: 30px; opacity: 0.7; }
.ci-process-energy__spark--3 { animation-delay: -2s; width: 20px; opacity: 0.5; }

@keyframes ci-spark-travel {
    0% { left: -40px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: calc(100% + 40px); opacity: 0; }
}

/* Steps container */
.ci-process-energy__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Individual step */
.ci-process-energy__step {
    text-align: center;
    position: relative;
}

/* Animated ring */
.ci-process-energy__ring {
    width: 90px; height: 90px;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

/* Expanding pulse ring — wave effect */
.ci-process-energy__ring-pulse {
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--brand-red);
    opacity: 0;
    animation: ci-ring-wave 4s ease-out infinite;
    animation-delay: calc(var(--step-index) * 0.8s);
}
.ci-process-energy__ring-pulse::after {
    content: '';
    position: absolute; inset: -10px;
    border-radius: 50%;
    border: 1px solid var(--brand-red);
    opacity: 0;
    animation: ci-ring-wave 4s ease-out infinite;
    animation-delay: calc(var(--step-index) * 0.8s + 0.3s);
}

@keyframes ci-ring-wave {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Glow behind circle — sequential lighting */
.ci-process-energy__ring-glow {
    position: absolute; inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,37,58,0.25), transparent 70%);
    opacity: 0;
    filter: blur(8px);
    animation: ci-glow-sequence 4s ease-in-out infinite;
    animation-delay: calc(var(--step-index) * 0.8s);
}

@keyframes ci-glow-sequence {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    20% { opacity: 1; transform: scale(1.2); }
    40% { opacity: 0.3; transform: scale(1); }
}

/* Number circle */
.ci-process-energy__number {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 800;
    color: var(--brand-red);
    position: relative; z-index: 2;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--gray-100);
    animation: ci-number-glow 4s ease-in-out infinite;
    animation-delay: calc(var(--step-index) * 0.8s);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

@keyframes ci-number-glow {
    0%, 100% {
        border-color: var(--gray-100);
        box-shadow: 0 4px 24px rgba(27,42,74,0.06);
    }
    20% {
        border-color: var(--brand-red);
        box-shadow: 0 0 30px rgba(226,37,58,0.3), 0 0 8px rgba(226,37,58,0.2);
    }
    40% {
        border-color: rgba(226,37,58,0.3);
        box-shadow: 0 4px 24px rgba(27,42,74,0.06);
    }
}

/* Hover boost */
.ci-process-energy__step:hover .ci-process-energy__number {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 40px rgba(226,37,58,0.4), 0 0 12px rgba(226,37,58,0.3) !important;
    transform: scale(1.12);
}

.ci-process-energy__step h3 {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-navy);
}
.ci-process-energy__step p {
    font-size: 0.88rem;
    color: var(--gray-500);
    max-width: 220px; margin: 0 auto;
    line-height: 1.65;
}

/* Responsive */
@media (max-width: 1024px) {
    .ci-process-energy__steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
    .ci-process-energy__wire { display: none; }
}
@media (max-width: 768px) {
    .ci-process-energy__steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== CIRCUITS ON DARK SECTIONS ===== */
.ci-section--circuits {
    position: relative;
    overflow: hidden;
}
.ci-section--circuits > .ci-section--futuristic__circuits {
    z-index: 0;
}
.ci-section--circuits > .ci-container {
    position: relative;
    z-index: 1;
}

/* ===== LOGO IMAGE ===== */
.ci-logo__img {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.ci-logo:hover .ci-logo__img { opacity: 0.85; }
@media (max-width: 768px) {
    .ci-logo__img { height: 44px; }
}

/* ===== FOOTER PHONE CTA ===== */
.ci-footer__phone-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: var(--brand-red);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.ci-footer__phone-cta:hover { background: var(--brand-red-glow); transform: translateY(-2px); }
.ci-footer__call-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--brand-red);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(226,37,58,0.3);
}
.ci-footer__call-btn:hover { background: var(--brand-red-glow); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(226,37,58,0.4); }

/* ===== POPUP OVERLAY ===== */
.ci-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.ci-popup-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

/* Popup box */
.ci-popup {
    position: relative;
    background: linear-gradient(170deg, #0d1a2e 0%, #111d35 40%, #0a1628 100%);
    border-radius: 28px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(226,37,58,0.08);
    border: 1px solid rgba(200,220,245,0.08);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ci-popup-overlay--visible .ci-popup {
    transform: scale(1) translateY(0);
}

/* Circuit bg inside popup */
.ci-popup__circuits {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 0;
}
.ci-popup__circuits svg {
    width: 100%; height: 100%;
}

/* Close button */
.ci-popup__close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}
.ci-popup__close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
}

/* Content */
.ci-popup__content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ci-popup__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: ci-popup-zap 2s ease-in-out infinite;
}
@keyframes ci-popup-zap {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.2); }
    20% { transform: scale(1); }
    30% { transform: scale(1.15); }
    40% { transform: scale(1); }
}
.ci-popup__title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 8px;
}
.ci-popup__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
}
.ci-popup__cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--brand-red);
    color: var(--white) !important;
    border-radius: 60px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 8px 32px rgba(226,37,58,0.4);
    letter-spacing: 0.02em;
}
.ci-popup__cta:hover {
    background: var(--brand-red-glow);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(226,37,58,0.5);
}

/* ===== CTA CARD SECTION ===== */
.ci-cta {
    background: linear-gradient(170deg, #0a0f1e 0%, #0d1a2e 50%, #0a1628 100%);
}
.ci-cta::before { display: none; }
.ci-cta::after { display: none; }

.ci-cta__card {
    position: relative; z-index: 2;
    max-width: 640px; margin: 0 auto;
}
.ci-cta__card-glow {
    position: absolute; inset: -2px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(226,37,58,0.4), rgba(226,37,58,0.05) 40%, rgba(91,163,255,0.1) 70%, rgba(226,37,58,0.3));
    z-index: 0;
    filter: blur(1px);
}
.ci-cta__card-inner {
    position: relative; z-index: 1;
    background: linear-gradient(170deg, rgba(15,27,51,0.95), rgba(13,26,46,0.98));
    border-radius: 26px;
    padding: 56px 48px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.ci-cta__card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: ci-popup-zap 2s ease-in-out infinite;
}
.ci-cta__card-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ci-cta__card-inner > p {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}
.ci-cta__call-btn {
    display: inline-block;
    padding: 18px 48px;
    background: var(--brand-red);
    color: var(--white) !important;
    border-radius: 60px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 8px 32px rgba(226,37,58,0.35);
    letter-spacing: 0.02em;
}
.ci-cta__call-btn:hover {
    background: var(--brand-red-glow);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 44px rgba(226,37,58,0.5);
}
@media (max-width: 768px) {
    .ci-cta__card-inner { padding: 40px 28px; }
}

/* ===== FOOTER LOGO CARD ===== */
.ci-footer__logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 14px;
    padding: 16px 28px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}
.ci-footer__logo-card:hover { opacity: 0.9; }
.ci-footer__logo-card .ci-logo__img {
    height: 44px;
    width: auto;
    filter: none;
}

/* ================================================================
   LEGAL PAGES — Privacy & Cookie Policy
   ================================================================ */

/* Hero */
.ci-legal__hero {
    position: relative;
    background: linear-gradient(170deg, #0a0f1e 0%, #0d1a2e 50%, #0a1628 100%);
    padding: 140px 0 80px;
    overflow: hidden;
}
.ci-legal__hero-circuits {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
}
.ci-legal__hero-circuits svg { width: 100%; height: 100%; }
.ci-legal__hero-content {
    position: relative; z-index: 1;
    max-width: 700px;
}
.ci-legal__badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(226,37,58,0.12);
    border: 1px solid rgba(226,37,58,0.25);
    border-radius: 50px;
    color: var(--brand-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.ci-legal__hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.ci-legal__hero-sub {
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.ci-legal__meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

/* Body */
.ci-legal__body {
    background: var(--gray-50, #f8f9fb);
    padding: 64px 0 80px;
}
.ci-legal__grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sidebar */
.ci-legal__sidebar-inner {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
}
.ci-legal__sidebar h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(27,42,74,0.08);
}
.ci-legal__sidebar ul {
    list-style: none; padding: 0; margin: 0;
}
.ci-legal__sidebar li { margin-bottom: 4px; }
.ci-legal__sidebar a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-600, #555);
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1.35;
}
.ci-legal__sidebar a:hover {
    background: rgba(27,42,74,0.04);
    color: var(--brand-navy);
}
.ci-legal__sidebar a.active {
    background: rgba(226,37,58,0.06);
    color: var(--brand-red);
    font-weight: 600;
}

/* Content */
.ci-legal__content {
    max-width: 780px;
}
.ci-legal__section {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}
.ci-legal__section-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.ci-legal__section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.ci-legal__section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 28px 0 12px;
}
.ci-legal__section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin: 20px 0 10px;
}
.ci-legal__section p {
    color: var(--gray-700, #444);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 14px;
}
.ci-legal__section ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.ci-legal__section li {
    color: var(--gray-700, #444);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 6px;
}
.ci-legal__section a {
    color: var(--brand-red);
    text-decoration: underline;
    text-decoration-color: rgba(226,37,58,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.ci-legal__section a:hover { text-decoration-color: var(--brand-red); }

/* Cards */
.ci-legal__card {
    background: var(--white);
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    margin: 16px 0;
}
.ci-legal__card--highlight {
    border-left: 4px solid var(--brand-red);
}
.ci-legal__card--cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(27,42,74,0.03), rgba(226,37,58,0.03));
}
.ci-legal__link-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--brand-red);
    color: var(--white) !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 12px;
    transition: all 0.3s ease;
}
.ci-legal__link-btn:hover {
    background: var(--brand-red-glow);
    transform: translateY(-2px);
}

/* Mini cards grid (finalità) */
.ci-legal__grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.ci-legal__mini-card {
    background: var(--white);
    border-radius: 14px;
    padding: 24px 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.3s ease;
}
.ci-legal__mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.ci-legal__mini-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}
.ci-legal__mini-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-navy);
    margin-bottom: 6px;
}
.ci-legal__mini-card p {
    font-size: 0.82rem !important;
    color: var(--gray-500, #888) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Tables */
.ci-legal__table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.ci-legal__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.88rem;
}
.ci-legal__table thead {
    background: var(--brand-navy);
}
.ci-legal__table th {
    padding: 14px 18px;
    text-align: left;
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ci-legal__table td {
    padding: 14px 18px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--gray-700, #444);
    line-height: 1.6;
}
.ci-legal__table code {
    background: rgba(27,42,74,0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--brand-navy);
}
.ci-legal__table tbody tr:hover {
    background: rgba(27,42,74,0.015);
}

/* Mobile */
@media (max-width: 900px) {
    .ci-legal__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ci-legal__sidebar { display: none; }
    .ci-legal__grid-cards {
        grid-template-columns: 1fr;
    }
    .ci-legal__hero { padding: 120px 0 60px; }
}
@media (max-width: 600px) {
    .ci-legal__card { padding: 18px 20px; }
    .ci-legal__table th,
    .ci-legal__table td { padding: 10px 12px; }
}
