@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --white:      #ffffff;
  --bg:         #f7f9fc;
  --bg-2:       #eef2f8;
  --surface:    #ffffff;
  --border:     #e2e8f4;
  --border-2:   #c8d4ea;
  --text:       #111827;
  --text-2:     #374151;
  --muted:      #6b7280;
  --blue:       #2563eb;
  --blue-lt:    #dbeafe;
  --blue-dk:    #1d4ed8;
  --sky:        #0ea5e9;
  --sky-lt:     #e0f2fe;
  --green:      #059669;
  --green-lt:   #d1fae5;
  --orange:     #ea580c;
  --orange-lt:  #ffedd5;
  --purple:     #7c3aed;
  --purple-lt:  #ede9fe;
  --gray-lt:    #f3f4f6;
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --sh-sm: 0 1px 3px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.04);
  --sh:    0 4px 16px rgba(17,24,39,.08), 0 1px 4px rgba(17,24,39,.04);
  --sh-lg: 0 10px 40px rgba(17,24,39,.10), 0 2px 8px rgba(17,24,39,.05);
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg) !important;
  background-image: none !important;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sky); }

/* NAV */
.site-header .navbar {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(17,24,39,.06);
  padding: .65rem 0;
}
.brand-logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem;
  box-shadow: 0 3px 10px rgba(37,99,235,.28); flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: .95rem; color: var(--text); line-height: 1.25; }
.brand-sub  { font-size: .68rem; color: var(--muted); font-weight: 500; }

.navbar .nav-link { color: var(--text-2) !important; font-weight: 600; font-size: .875rem; padding: .4rem .85rem !important; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.navbar .nav-link:hover  { background: var(--bg-2); color: var(--blue) !important; }
.navbar .nav-link.active { background: var(--blue-lt); color: var(--blue) !important; }

/* BUTTONS */
.btn { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; border-radius: var(--r-sm); transition: all .18s; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--sky)); border: none; color: #fff; box-shadow: 0 3px 12px rgba(37,99,235,.25); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: linear-gradient(135deg, var(--blue-dk), #0284c7); box-shadow: 0 5px 18px rgba(37,99,235,.35); transform: translateY(-1px); }
.btn-outline-primary { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline-primary:hover { background: var(--blue-lt); color: var(--blue); border-color: var(--blue); }
.btn-soft { background: var(--bg-2); color: var(--blue); border: 1.5px solid var(--border); font-weight: 700; }
.btn-soft:hover { background: var(--blue-lt); border-color: var(--blue); color: var(--blue); }

/* CARDS */
.card-clean { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); transition: box-shadow .22s, transform .22s, border-color .22s; }
.card-clean:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); border-color: var(--border-2); }

/* TAGS */
.kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.tag-blue   { background: var(--blue-lt);   color: var(--blue);   }
.tag-sky    { background: var(--sky-lt);    color: #0369a1;       }
.tag-green  { background: var(--green-lt);  color: var(--green);  }
.tag-orange { background: var(--orange-lt); color: var(--orange); }
.tag-purple { background: var(--purple-lt); color: var(--purple); }
.tag-gray   { background: var(--gray-lt);   color: var(--muted);  }

/* ICONS */
.feat-icon { width: 50px; height: 50px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .85rem; flex-shrink: 0; }
.feat-icon-blue   { background: var(--blue-lt);   color: var(--blue);   }
.feat-icon-sky    { background: var(--sky-lt);     color: #0369a1;       }
.feat-icon-green  { background: var(--green-lt);   color: var(--green);  }
.feat-icon-orange { background: var(--orange-lt);  color: var(--orange); }
.feat-icon-purple { background: var(--purple-lt);  color: var(--purple); }

/* HERO */
.hero {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; left: -150px; width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(219,234,254,.8) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute;
  top: 20px; right: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(224,242,254,.7) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.hero-lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 560px; }

.hero-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.hero-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; display: block; }

.stat-pill { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: .75rem 1rem; text-align: center; }
.stat-pill strong { font-size: 1.35rem; font-weight: 800; color: var(--text); display: block; line-height: 1.2; }
.stat-pill span   { font-size: .72rem; color: var(--muted); font-weight: 500; }

/* SECTIONS */
.section-space    { padding: 5rem 0; }
.section-space-sm { padding: 3rem 0; }
.section-bg-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-bg-gray  { background: var(--bg-2); }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--text); letter-spacing: -.02em; line-height: 1.15; }
.section-copy { color: var(--muted); max-width: 600px; line-height: 1.75; }

/* PROJECT TILES */
.project-tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: box-shadow .22s, transform .22s, border-color .22s; display: flex; flex-direction: column; height: 100%; }
.project-tile:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: var(--border-2); }
.project-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; transition: transform .3s ease; }
.project-tile:hover .project-cover { transform: scale(1.03); }
.project-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }

/* PAGE HERO */
.page-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 3rem 0 2.25rem; }

/* PAGE CONTENT */
.page-content h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--text); margin-top: 2rem; margin-bottom: .6rem; }
.page-content h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.5rem; }
.page-content p, .page-content li { color: var(--text-2); }

/* LIST CHECK */
.list-check { list-style: none; padding-left: 0; margin-bottom: 0; }
.list-check li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; color: var(--text-2); }
.list-check li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .12rem; color: var(--blue); font-size: .82rem; }

/* FILTER BAR */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { padding: .42rem .95rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .15s; font-family: 'Plus Jakarta Sans', sans-serif; }
.filter-btn:hover, .filter-btn.active { background: var(--blue-lt); border-color: var(--blue); color: var(--blue); }

/* FORMS */
.form-control, .form-control:focus { background: var(--bg); border: 1.5px solid var(--border); color: var(--text); box-shadow: none; border-radius: var(--r-sm); font-family: 'Plus Jakarta Sans', sans-serif; transition: border-color .15s, background .15s; }
.form-control:focus { border-color: var(--blue); background: var(--white); }
.form-control::placeholder { color: #9ca3af; }
.form-label { font-weight: 600; font-size: .875rem; color: var(--text-2); }

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; align-items: flex-start; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: .9rem; }
.contact-info-list li:last-child { border-bottom: none; }
.ci-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-lt); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .85rem; }

/* CTA */
.cta-block { background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%); border-radius: var(--r-xl); padding: 3.5rem; color: #fff; position: relative; overflow: hidden; }
.cta-block::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: rgba(255,255,255,.07); border-radius: 50%; }

/* BREADCRUMB */
.breadcrumb { background: none; padding: 0; margin: 0; font-size: .82rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--text-2); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border-2); }

/* SNIPPETS */
.snippet-card { background: #1e293b; border-radius: var(--r-lg); overflow: hidden; }
.snippet-header { background: #0f172a; padding: .55rem 1rem; display: flex; align-items: center; gap: .45rem; }
.snippet-dot { width: 9px; height: 9px; border-radius: 50%; }
.snippet-body { padding: 1.2rem 1.4rem; font-family: 'Courier New', monospace; font-size: .8rem; color: #94a3b8; line-height: 1.75; overflow-x: auto; }
.hl-key  { color: #7dd3fc; }
.hl-val  { color: #86efac; }
.hl-str  { color: #fca5a5; }
.hl-comm { color: #64748b; font-style: italic; }

/* ALERTS */
.alert-success { background: var(--green-lt); border-color: #a7f3d0; color: #065f46; border-radius: var(--r-sm); }
.alert-danger  { background: #fee2e2; border-color: #fca5a5; color: #991b1b; border-radius: var(--r-sm); }

/* LEGAL */
.legal-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem 3rem; box-shadow: var(--sh-sm); }

/* FOOTER */
.site-footer { background: #111827; color: #e5e7eb; }
.site-footer .footer-title { font-weight: 800; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .9rem; }
.site-footer a { color: #9ca3af; font-size: .875rem; }
.site-footer a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up   { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .08s; }
.fade-up-2 { animation-delay: .16s; }
.fade-up-3 { animation-delay: .24s; }
.fade-up-4 { animation-delay: .32s; }

/* RESPONSIVE */
@media (max-width: 991.98px) { .hero { padding: 3rem 0 2.5rem; } .cta-block { padding: 2.5rem 1.75rem; } .legal-card { padding: 1.75rem; } }
@media (max-width: 575.98px) { .section-space { padding: 3rem 0; } }
