:root{
  --primary:#2563eb; --primary-dark:#1d4ed8; --text:#111827; --text-secondary:#6b7280;
  --border:#e5e7eb; --bg-alt:#f9fafb;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.6;}
h1,h2,h3,h4,p{margin:0;}
a{color:var(--primary);text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px;}
.wrap.narrow{max-width:720px;}
.wrap.center{text-align:center;}

.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--border);z-index:20;}
.bar{display:flex;align-items:center;justify-content:space-between;height:64px;}
.site-logo{height:32px;}
.site-logo-text{font-weight:800;font-size:18px;}
.site-nav{display:flex;align-items:center;gap:26px;}
.site-nav a{font-weight:600;font-size:14px;color:var(--text-secondary);}
.site-nav a:hover{color:var(--primary);}
.btn-nav{background:var(--primary);color:#fff !important;padding:9px 18px;border-radius:8px;}
.btn-nav:hover{background:var(--primary-dark);}

.hero{position:relative;height:560px;overflow:hidden;}
.hero-slide{position:absolute;inset:0;background:#1e3a8a center/cover no-repeat;opacity:0;transition:opacity .5s ease;display:flex;align-items:center;}
.hero-slide.active{opacity:1;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg, rgba(17,24,39,.6), rgba(17,24,39,.25));}
.hero-content{position:relative;z-index:2;max-width:640px;margin:0 auto;padding:0 24px;color:#fff;text-align:center;}
.hero-content h1{font-size:38px;font-weight:800;margin-bottom:14px;letter-spacing:-.01em;}
.hero-content p{font-size:16px;opacity:.92;margin-bottom:24px;}
.btn-primary-lg{display:inline-block;background:var(--primary);color:#fff;font-weight:700;padding:13px 26px;border-radius:9px;border:none;font-size:14.5px;cursor:pointer;}
.btn-primary-lg:hover{background:var(--primary-dark);}
.hero-dots{position:absolute;bottom:20px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:3;}
.hero-dot{width:8px;height:8px;border-radius:50%;border:none;background:rgba(255,255,255,.5);cursor:pointer;}
.hero-dot.active{background:#fff;}

.section{padding:72px 0;}
.section.alt{background:var(--bg-alt);}
.section-head{text-align:center;max-width:560px;margin:0 auto 40px;}
.section-head h2{font-size:26px;font-weight:800;margin-bottom:8px;}
.section-head p{color:var(--text-secondary);font-size:15px;}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.tile{background:#fff;border:1px solid var(--border);border-radius:14px;padding:26px;}
.tile-icon{width:44px;height:44px;border-radius:10px;background:#eff6ff;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.tile-icon svg{width:22px;height:22px;stroke:var(--primary);}
.tile h3{font-size:16px;font-weight:700;margin-bottom:8px;}
.tile p{color:var(--text-secondary);font-size:14px;}

.filters{display:flex;justify-content:center;gap:8px;margin-bottom:30px;flex-wrap:wrap;}
.filter-btn{border:1px solid var(--border);background:#fff;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;cursor:pointer;color:var(--text-secondary);}
.filter-btn.active{background:var(--primary);border-color:var(--primary);color:#fff;}
.portfolio-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;}
.portfolio-img{height:170px;background:#e5e7eb center/cover no-repeat;}
.portfolio-info{padding:16px;}
.portfolio-info h4{font-size:15px;font-weight:700;margin-bottom:6px;}
.tag{font-size:11.5px;font-weight:600;color:var(--primary);background:#eff6ff;padding:3px 10px;border-radius:20px;}

.lead-text{font-size:17px;color:var(--text-secondary);margin-top:14px;}

.team-card{text-align:center;}
.team-img{width:120px;height:120px;border-radius:50%;background:#e5e7eb center/cover no-repeat;margin:0 auto 14px;}
.team-card h4{font-size:15px;font-weight:700;}
.team-card p{color:var(--text-secondary);font-size:13.5px;margin-bottom:8px;}
.team-social{display:flex;justify-content:center;gap:10px;font-size:12px;}

.testimonial-carousel{position:relative;min-height:170px;margin-top:24px;}
.testimonial-slide{display:none;}
.testimonial-slide.active{display:block;}
.testimonial-avatar{width:64px;height:64px;border-radius:50%;background:#e5e7eb center/cover no-repeat;margin:0 auto 16px;}
.testimonial-text{font-size:17px;font-style:italic;color:var(--text);margin-bottom:10px;}
.testimonial-name{font-weight:700;font-size:14px;}

.clients-row{display:flex;flex-wrap:wrap;gap:28px;justify-content:center;align-items:center;}
.client-logo{width:140px;height:60px;display:flex;align-items:center;justify-content:center;opacity:.75;filter:grayscale(1);}
.client-logo:hover{opacity:1;filter:none;}
.client-logo span{font-weight:700;color:var(--text-secondary);}

.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:44px;align-items:center;}
.about-img{width:100%;aspect-ratio:650/800;background:#e5e7eb center/cover no-repeat;border-radius:16px;}
.about-subtitle{color:var(--primary);font-weight:600;margin:8px 0 14px;}

.contact-form{display:flex;flex-direction:column;gap:12px;margin-top:24px;text-align:left;}
.contact-form input{border:1px solid var(--border);border-radius:8px;padding:12px 14px;font-size:14px;font-family:inherit;}
.contact-form input:focus{outline:none;border-color:var(--primary);}
.form-success{margin-top:20px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:10px;padding:16px;}

.site-footer{background:#111827;color:#d1d5db;padding:26px 0;}
.footer-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;}
.footer-social{display:flex;gap:16px;}
.footer-social a{color:#d1d5db;}
.footer-social a:hover{color:#fff;}

@media (max-width:820px){
  .grid-3{grid-template-columns:1fr;}
  .about-grid{grid-template-columns:1fr;}
  .site-nav{gap:14px;}
  .hero-content h1{font-size:28px;}
}
