/* Lomix Website - Dark, soothing theme */
:root{
	/* Modern Minimal (Dark) palette */
	--bg:#060809; /* very deep charcoal */
	--panel:#0f1415; /* card background */
	--muted:#9aaeb0; /* secondary text */
	--text:#eaf7f6; /* primary text */
	--accent:#09b89f; /* primary accent */
	--accent-2:#18c2ad; /* accent highlight */
	--glass: rgba(255,255,255,0.03);
	--max-width:1200px;
	--container-pad:1.25rem;
	--radius:12px;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,Segoe UI,Helvetica,Arial;margin:0;color:var(--text);background:linear-gradient(180deg,var(--bg),#041012);line-height:1.6;-webkit-font-smoothing:antialiased}
.container{max-width:var(--max-width);margin:0 auto;padding:var(--container-pad)}
header{background:transparent;padding:1.25rem 0;color:var(--text)}
nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
nav a{color:var(--muted);text-decoration:none;font-weight:600;padding:.35rem .5rem;border-radius:6px}
nav a:hover{color:var(--text);background:var(--glass)}
.logo{font-weight:700;letter-spacing:0.4px;color:var(--text);font-size:1.05rem;margin-right:1rem}
/* Logo image styling */
.logo img{height:40px;display:block}
h1{margin:.25rem 0 0;font-size:2.2rem;color:var(--text);line-height:1.08}
.lead{color:var(--muted);font-size:1.05rem}
main{padding:2rem 0}
section{margin-bottom:1.25rem}
.panel{background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));padding:1.25rem;border-radius:var(--radius);border:1px solid rgba(255,255,255,0.03)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.card{padding:1rem;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.03)}
.card h3{margin-top:0;color:var(--text)}
.cta{display:inline-block;background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#042022;padding:.75rem 1.05rem;border-radius:10px;text-decoration:none;font-weight:700;box-shadow:0 8px 30px rgba(2,6,8,0.45)}
.cta.secondary{background:transparent;color:var(--accent);border:1px solid rgba(24,194,173,0.12)}
footer{padding:2rem 0;text-align:center;color:var(--muted);font-size:.95rem}
.site-footer{background:linear-gradient(180deg, rgba(0,0,0,0.02), transparent);padding:1.5rem 0}
.site-footer .footer-inner{align-items:center}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.grid{grid-template-columns:1fr}nav{gap:.5rem}h1{font-size:1.5rem}}

.hero{display:flex;align-items:center;gap:2rem;padding:2rem 0}
.hero .left{flex:1}
.hero .right{flex:1}
.hero-visual{height:220px;background:linear-gradient(135deg, rgba(22,160,133,0.12), rgba(42,183,176,0.06));border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--text);font-weight:600}
.muted{color:var(--muted)}
.kpi-row{display:flex;gap:1rem;align-items:center}
.kpi{padding:.75rem;border-radius:10px;background:rgba(255,255,255,0.02);text-align:center}
.kpi h4{margin:.2rem 0;color:var(--accent)}

.testimonials{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.testimonial{padding:1rem;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));border:1px solid rgba(255,255,255,0.02)}

/* Cookie consent banner styles (inline fallback) */
#cookie-consent button.cta{padding:.5rem .8rem;border-radius:8px}
#cookie-consent button.cta.secondary{background:transparent;color:var(--accent);border:1px solid rgba(42,183,176,0.12)}
#cookie-consent{font-size:.95rem}

.testimonial .author{color:var(--muted);font-size:.9rem;margin-top:.5rem}

/* Sticky CTA */
#sticky-cta{position:fixed;right:1rem;bottom:1.25rem;z-index:9998}

/* Preferences modal */
#cookie-preferences{display:none;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:10000;background:var(--panel);padding:1.2rem;border-radius:12px;max-width:520px;width:calc(100% - 2rem);box-shadow:0 8px 40px rgba(0,0,0,0.6)}
#cookie-preferences h3{margin-top:0}
#cookie-preferences .pref-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}
#cookie-preferences .close-pref{position:absolute;right:.8rem;top:.6rem;background:transparent;border:none;color:var(--muted)}

.clients{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.client-logo{width:110px;height:48px;background:rgba(255,255,255,0.03);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:600}

/* Header / layout utilities moved from inline styles */
.header-inner{display:flex;align-items:center;justify-content:space-between}
.site-header{padding:0.85rem 0}
.site-header .logo img{height:34px}
.mt-1{margin-top:1rem}
.mt-125{margin-top:1.25rem}
.mt-15{margin-top:1.5rem}
.ml-06{margin-left:.6rem}
.hero-img{width:100%;border-radius:14px;box-shadow:0 10px 30px rgba(2,6,10,0.6);display:block}
.clients.small img{height:32px;opacity:.9}
# Hero SVG wrapper and inline svg tweaks
.hero-svg-wrap{max-width:720px;margin-left:auto}
.hero-svg-wrap svg{width:100%;height:auto;display:block}
.hero-svg-wrap svg #content, .hero-svg-wrap svg #blobs{opacity:0;transition:opacity .9s ease, transform .9s ease}
.reveal.in-view .hero-svg-wrap svg #content, .reveal.in-view .hero-svg-wrap svg #blobs{opacity:1;transform:none}

/* Process section */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1rem}
.process-step{padding:1rem;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));border:1px solid rgba(255,255,255,0.02);text-align:center}
.process-step .icon{width:56px;height:56px;margin:0 auto 0.5rem;border-radius:12px;background:rgba(42,183,176,0.08);display:flex;align-items:center;justify-content:center}
.process-step h4{margin:.4rem 0}

@media(max-width:1000px){.process-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.process-grid{grid-template-columns:1fr}}

/* Centered search-hero (inspired layout) */
.hero-centered{display:flex;align-items:center;justify-content:center;min-height:68vh;padding:4.5rem 1rem 3rem;position:relative;overflow:visible}
.hero-centered .hero-inner{max-width:1100px;width:100%;text-align:left;display:grid;grid-template-columns:1fr 540px;gap:2rem;align-items:center}
.hero-centered .eyebrow{letter-spacing:1px;color:var(--muted);font-weight:700;text-transform:uppercase;font-size:.82rem;margin-bottom:0.6rem}
.hero-centered .hero-title{font-size:3rem;line-height:1.03;margin-bottom:.4rem}
.hero-centered .hero-lead{color:var(--muted);font-size:1.08rem;margin-bottom:1rem}
.search-box{display:flex;align-items:center;gap:1rem;justify-content:center}
.search-input{width:720px;max-width:92%;padding:1rem 1.2rem;border-radius:999px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.04);color:var(--text);font-size:1.05rem;box-shadow:0 8px 30px rgba(2,6,10,0.5);transition:box-shadow .25s ease,transform .15s ease}
.search-input:focus{outline:none;box-shadow:0 18px 60px rgba(2,12,14,0.6);transform:translateY(-3px)}
.search-icon{width:48px;height:48px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;color:#042022;font-weight:800;flex-shrink:0}
.search-hint{margin-top:.75rem;color:var(--muted);font-size:.95rem}

/* subtle background vignette */
.hero-centered::before{content:"";position:absolute;left:-8%;right:-8%;top:-6%;bottom:-6%;background:radial-gradient(60% 50% at 50% 30%, rgba(10,40,38,0.28), transparent 30%);pointer-events:none;z-index:0}
.hero-centered .hero-inner, .hero-centered .hero-inner *{position:relative;z-index:2}

/* small responsive tweaks */
@media(max-width:800px){.hero-centered{padding:4.5rem 1rem 3rem}.hero-centered .hero-title{font-size:1.8rem}.search-input{width:88%}}

/* particle canvas overlay */
.hero-particles{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;z-index:1}
.particle-dot{position:absolute;width:6px;height:6px;background:rgba(31,178,159,0.12);border-radius:50%;box-shadow:0 0 18px rgba(31,178,159,0.08)}

/* subtle accent lines over hero */
.hero-centered svg {position:absolute;right:6%;top:6%;width:540px;height:auto;opacity:0.98;z-index:0;filter:drop-shadow(0 40px 80px rgba(0,0,0,0.6))}

/* CTA stripe layout */
.cta-stripe{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.cta-stripe h3{margin:0}
.cta-stripe p{margin:0}

/* Footer layout */
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* Cookie consent moved to CSS instead of inline */
#cookie-consent{display:none;position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999;align-items:center;justify-content:space-between;padding:1rem;border-radius:10px;background:linear-gradient(90deg,rgba(11,15,18,0.95),rgba(15,21,24,0.95));box-shadow:0 6px 30px rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.04);}
#cookie-consent .cookie-text{flex:1;margin-right:1rem;color:var(--text)}
#cookie-consent .cookie-actions{display:flex;gap:.5rem;align-items:center}

.faq{display:grid;grid-template-columns:1fr;gap:.75rem}

input,textarea,button,select{font:inherit}
input,textarea,select{width:100%;padding:.65rem;border:1px solid rgba(255,255,255,0.04);border-radius:8px;background:transparent;color:var(--text)}
button{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#042022;border:none;padding:.7rem 1rem;border-radius:8px;cursor:pointer}

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

/* Skip link for keyboard users */
.skip-link{position:absolute;left:1rem;top:0.6rem;background:var(--accent);color:#042022;padding:.45rem .8rem;border-radius:6px;z-index:10001;transform:translateY(-120%);transition:transform .18s ease}
.skip-link:focus{transform:translateY(0);outline:none}

/* Blog / Article styles */
.grid.blog-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{display:flex;flex-direction:column}
.card img{border-radius:8px;margin-bottom:0.6rem}
.card h3{margin:0.6rem 0 0.35rem}
.card .muted{font-size:0.9rem}

@media(max-width:1000px){.grid.blog-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.grid.blog-list{grid-template-columns:1fr}}

.post{max-width:900px;margin:0 auto}
.post h1{font-size:2rem;margin-bottom:0.25rem}
.post .post-meta{color:var(--muted);margin-bottom:1rem}
.post .post-content{font-size:1.05rem;line-height:1.75;color:var(--text)}
.post figure{margin:0 0 1rem}
.author-box{display:flex;gap:0.75rem;align-items:center;padding:.75rem;border-radius:8px;background:rgba(255,255,255,0.01);margin-top:1.25rem}
.author-box img{width:56px;height:56px;border-radius:8px}

/* Card hover/interaction */
.card{transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(2,12,14,0.6)}

.card .title-overlay{position:absolute;left:12px;right:12px;bottom:12px;color:#fff;padding:.6rem;border-radius:8px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,0.45));font-weight:700}
.card .thumb-wrap{position:relative;overflow:hidden;border-radius:8px}
.card .thumb-wrap img{display:block;width:100%;height:auto}

/* Illustration in cards */
.card .illustration{display:flex;align-items:center;justify-content:center;margin-bottom:0.8rem}
.card .illustration img{width:100%;max-width:220px;height:auto;display:block;border-radius:8px}
.card.feature .illustration img{max-width:180px}
.kpi{display:inline-block;padding:.6rem .8rem;border-radius:10px;background:rgba(255,255,255,0.02);text-align:center;margin-right:.6rem}
.hero-highlights{margin-top:1rem;display:flex;gap:.75rem;align-items:center;justify-content:flex-start}

/* Small utility link used in feature cards */
.link{color:var(--accent);font-weight:700;text-decoration:none}
.link:hover{text-decoration:underline}

/* Case study card tweaks */
.card.panel .illustration img{max-width:160px}
.card.panel h3{margin-top:0.4rem}
.card.panel p{margin:0.4rem 0}

/* Focus styles for keyboard users */
a:focus-visible, button:focus-visible, .cta:focus-visible {
	outline:3px solid rgba(8,142,128,0.18);
	outline-offset:3px;
}

/* Make interactive cards keyboard-focusable */
.card.panel:focus-within{box-shadow:0 12px 30px rgba(2,12,14,0.5);transform:translateY(-4px)}

/* Blog card tweaks */
.card h3{margin:0 0 8px 0;font-size:1.05rem}
.card p.muted{font-size:0.95rem;color:var(--muted)}

/* Entrance / reveal animations */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.9,.2,1)}
.reveal.in-view{opacity:1;transform:translateY(0)}

/* Hero visual float */
.hero-visual{animation:floatY 6s ease-in-out infinite;will-change:transform}
@keyframes floatY{0%{transform:translateY(0)}50%{transform:translateY(-8px)}100%{transform:translateY(0)}}

/* CTA micro-interaction */
.cta{position:relative;overflow:hidden}
.cta::after{content:"";position:absolute;left:0;top:0;right:0;bottom:0;opacity:.06;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0.06),rgba(255,255,255,0));transform:translateX(-100%);transition:transform .5s ease}
.cta:hover::after{transform:translateX(0)}
.cta:active{transform:translateY(1px)}

/* Subtle background pulse for panels */
@keyframes panelPulse{0%{box-shadow:0 6px 18px rgba(2,6,8,0.0)}50%{box-shadow:0 12px 30px rgba(2,10,12,0.03)}100%{box-shadow:0 6px 18px rgba(2,6,8,0.0)}}
.panel:hover{animation:panelPulse 3.2s ease-in-out}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
	.reveal{transition:none;opacity:1;transform:none}
	.hero-visual{animation:none}
	.panel:hover{animation:none}
}
