@import url('/css/colors.css');

:root{color-scheme:light;}
.theme-dark:root,:root.theme-dark{color-scheme:dark;}
*,
*::before,
*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;background:var(--bg);color:var(--text);transition:background-color .3s ease,color .3s ease}
a{color:var(--accent);text-decoration:none;font-weight:600}
a:hover{text-decoration:underline}
:focus{outline:2px solid var(--accent);outline-offset:2px}
:focus:not(:focus-visible){outline:none}
img{max-width:100%;display:block}
.container{width:100%;margin:0 auto;padding:0 1.5rem;max-width:1200px}
.narrow{max-width:760px;margin:0 auto;text-align:center}
.hero{margin:3rem 0 2rem;background:var(--gradient-brand);color:#F4F4F4;border-radius:calc(var(--radius)*1.5);padding:clamp(2.5rem,7vw,5rem)}
.hero-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2.5rem;align-items:center}
.hero-content h1{font-size:clamp(2.4rem,4vw,3.2rem);line-height:1.1;margin-bottom:1.5rem;color:#FDFDFD}
.hero-content p{font-size:1.1rem;margin-bottom:2rem;color:#E8EFF6}
.hero-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.hero-trust{display:flex;flex-direction:column;gap:.75rem;margin-top:2.5rem}
.hero-trust span{font-weight:600;color:#EFF6FB}
.hero-trust ul{display:flex;gap:1rem;list-style:none;padding:0;margin:0;color:#EFF6FB;font-weight:600}
.section{padding:4rem 0}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-header h2{font-size:2rem;margin-bottom:.75rem;color:var(--primary)}
.section-header p{color:var(--muted);font-size:1.05rem}
.section-title{color:var(--primary)}
.grid{display:grid;gap:1.75rem}
.services-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.blog-grid,.references-grid,.related-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow-sm);transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.card h3,.card h2{color:var(--primary);margin-bottom:.75rem}
.card p{color:var(--muted)}
.clients-section{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.clients-carousel{display:flex;gap:1.25rem;overflow-x:auto;padding:1rem 0 .5rem;scroll-snap-type:x mandatory;scrollbar-width:thin}
.clients-carousel::-webkit-scrollbar{height:6px}
.clients-carousel::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}
.client-logo-card{scroll-snap-align:center;flex:0 0 auto;min-width:160px;padding:1rem 1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;align-items:center;gap:.75rem;box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease}
.client-logo-card img{height:48px;object-fit:contain;filter:grayscale(.3);opacity:.9;transition:filter .2s ease,opacity .2s ease}
.client-logo-card span{font-weight:600;color:var(--primary);text-align:center;font-size:.95rem}
.client-logo-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.client-logo-card:hover img{filter:none;opacity:1}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.1rem;border-radius:var(--radius);border:1px solid transparent;font-weight:600;line-height:1;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.btn-large{padding:.8rem 1.1rem;font-size:.9rem}
.btn-primary{background:var(--primary);color:var(--white);box-shadow:var(--shadow-md)}
.btn-primary:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn-accent{background:var(--accent);color:#E9F3F8;box-shadow:var(--shadow-md)}
.btn-accent:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn-ghost{border:1px solid var(--border);color:var(--primary);background:transparent}
.btn-ghost:hover{border-color:var(--primary);color:var(--white);background:var(--primary)}
.btn-link{padding:0;border:none;background:transparent;color:var(--accent);font-weight:600}
.text-light{color:var(--white)!important}
.text-light:hover{color:var(--white)!important}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid var(--border);transition:background-color .3s,border-color .3s}
.theme-dark .site-header{background:rgba(16,24,38,.92);border-color:var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.5rem;gap:1rem}
.brand-link{display:inline-flex;align-items:center;gap:.6rem}
.brand-logo{display:block;height:auto}
.header-logo{width:clamp(65px,6vw,100px)}
.footer-logo{width:clamp(45px,4.5vw,65px)}
@media (max-width:640px){
  .header-logo{width:55px}
  .footer-logo{width:40px}
}
.main-nav ul{display:flex;gap:1.5rem;list-style:none;margin:0}
.main-nav a{font-weight:600;color:var(--primary);transition:color .2s ease}
.main-nav .cta{color:var(--white);background:var(--accent);padding:.6rem 1.2rem;border-radius:999px;box-shadow:var(--shadow-sm)}
.theme-dark .main-nav a{color:var(--text)}
.menu-toggle{display:none;border:none;background:transparent;flex-direction:column;gap:.3rem}
.menu-bar{width:24px;height:2px;background:var(--primary);display:block;border-radius:2px;transition:background .3s}
.theme-dark .menu-bar{background:var(--text)}
.header-actions{display:flex;align-items:center;gap:1rem}
.theme-toggle{border:1px solid var(--border);background:var(--surface);color:var(--primary);font-size:1.05rem;padding:.5rem .75rem;border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;gap:.25rem}
.theme-dark .theme-toggle{color:var(--text)}
.sun{display:inline}
.moon{display:none}
.theme-dark .sun{display:none}
.theme-dark .moon{display:inline}
.theme-dark .section-header h2,
.theme-dark .section-title,
.theme-dark .card h2,
.theme-dark .card h3,
.theme-dark .client-logo-card span,
.theme-dark .form-field label,
.theme-dark .blog-article .article-header,
.theme-dark .article-body h2,
.theme-dark .article-body h3,
.theme-dark .result-list h2{color:var(--text)}
.theme-dark .btn-ghost,
.theme-dark .btn-plain,
.theme-dark .alert{color:var(--text)}
.theme-dark .btn-ghost{border-color:rgba(255,255,255,.45)}
.theme-dark .about-section h2,
.theme-dark .about-section p{color:var(--text)!important}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2.5rem;align-items:start}
.check-list{list-style:none;padding:0;margin:1.25rem 0 0}
.check-list li{margin-bottom:.6rem;padding-left:1.75rem;position:relative;color:var(--text)}
.check-list li::before{content:"✓";position:absolute;left:0;top:.05rem;color:var(--accent);font-weight:700}
.stats{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.stats .number{font-size:2rem;font-weight:700;color:var(--accent)}
.stats .label{color:var(--muted)}
.process-steps{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem}
.process-steps li{display:flex;gap:1rem;align-items:flex-start;background:var(--surface);border-radius:var(--radius);padding:1.5rem;border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.process-steps .step-index{font-size:1.4rem;font-weight:700;color:var(--accent)}
.accordion details{border:1px solid var(--border);border-radius:.75rem;margin-bottom:1rem;padding:1.25rem;background:var(--surface);color:var(--text)}
.accordion summary{cursor:pointer;font-weight:600}
.accordion p{margin-top:1rem;color:var(--muted)}
.cta-section{padding:3.5rem 0;background:var(--gradient-brand);color:#F4F4F4}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.cta-inner .btn-primary{background:var(--accent);color:#E9F3F8}
.site-footer{background:var(--primary);color:var(--white);padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2.5rem;margin-bottom:2rem}
.footer-links{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.5rem}
.footer-links a{color:var(--white)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.95rem;flex-wrap:wrap}
.footer-cta{color:var(--primary);background:var(--white);padding:.6rem 1.2rem;border-radius:999px;font-weight:600}
.skip-link{position:absolute;top:-40px;left:1rem;background:var(--accent);color:#F4F4F4;padding:.75rem 1rem;border-radius:.5rem;transition:top .2s}
.skip-link:focus{top:1rem}
.cookie-banner{position:fixed;bottom:1rem;right:1rem;left:1rem;background:var(--primary);color:var(--white);border-radius:var(--radius);padding:1.2rem;display:none;align-items:center;box-shadow:var(--shadow-md)}
.cookie-banner.active{display:flex}
.cookie-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.cookie-actions{display:flex;gap:.75rem;align-items:center}
.btn-plain{background:var(--surface);color:var(--primary);border:1px solid var(--border)}
.btn-plain:hover{background:var(--primary);color:var(--white)}
.theme-dark .btn-plain{color:var(--text)}
.map-placeholder{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--border)}
.contact-form{display:grid;gap:1.25rem}
.form-field label{display:block;font-weight:600;margin-bottom:.35rem;color:var(--primary)}
.form-field input,.form-field textarea{width:100%;padding:.75rem 1rem;border-radius:.75rem;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}
.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,84,108,.25)}
.form-field span{color:#b91c1c;font-size:.9rem}
.validation-summary{color:#b91c1c}
.alert{padding:1rem 1.25rem;border-radius:.85rem;margin-top:1rem;background:rgba(29,84,108,.12);color:var(--primary)}
.alert-success{background:rgba(22,163,74,.15);color:#065f46}
.alert-error{background:rgba(220,38,38,.15);color:#991b1b}
.search-form{display:flex;gap:.75rem;justify-content:center;margin-top:1.5rem;flex-wrap:wrap}
.search-form input{flex:1;min-width:220px;max-width:420px;padding:.75rem 1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface);color:var(--text)}
.search-form button{padding:.75rem 1.5rem;border:none;border-radius:.75rem;background:var(--accent);color:#E9F3F8;font-weight:600;box-shadow:var(--shadow-sm)}
.blog-article .article-header{padding:4rem 0 2rem;background:var(--bg);color:var(--primary)}
.theme-dark .blog-article .article-header{background:var(--surface);color:var(--text)}
.article-body{padding:2rem 0}
.article-body p{margin-bottom:1.25rem;font-size:1.05rem;color:var(--text)}
.article-body h2,.article-body h3{margin:2rem 0 1rem;color:var(--primary)}
.article-body ul{margin:1rem 0 1.5rem 1.5rem;color:var(--text)}
.meta{color:var(--muted);font-size:.9rem}
.meta-list{list-style:none;padding:0;display:flex;gap:1.5rem;justify-content:center;margin-top:1rem;color:var(--muted);flex-wrap:wrap}
.error-section{padding:5rem 0;background:var(--primary);color:var(--white);text-align:center}
.error-container{display:grid;gap:1.5rem;max-width:540px;margin:0 auto}
.error-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.error-list{list-style:none;padding:0;margin:1rem 0 0;color:var(--white)}
.info-box{background:rgba(13,32,58,.08);padding:1.5rem;border-radius:var(--radius);border:1px solid var(--border)}
.theme-dark .info-box{background:rgba(34,49,72,.35)}
.result-list{list-style:none;padding:0;margin:2rem 0 0;display:grid;gap:1.5rem}
.result-list li{border-bottom:1px solid var(--border);padding-bottom:1.25rem}
.result-list h2{margin-bottom:.5rem;font-size:1.2rem;color:var(--primary)}
.menu-toggle[aria-expanded="true"] .menu-bar{background:var(--accent)}
.theme-dark .form-field label{color:var(--text)}
@media (max-width:960px){
  .main-nav{position:fixed;top:0;right:0;height:100vh;width:240px;background:var(--surface);box-shadow:-5px 0 30px rgba(15,23,42,.12);transform:translateX(110%);transition:transform .3s ease;padding:5rem 2rem;display:flex;align-items:flex-start;justify-content:flex-start}
  .main-nav ul{flex-direction:column;gap:1.25rem}
  .main-nav.open{transform:translateX(0)}
  .menu-toggle{display:flex}
}
