/* =====================================================
   EKN Consultant Ltd — Main Stylesheet
   Clean, professional, minimal corporate
   ===================================================== */

:root {
  --navy:    #0B1F3A;
  --navy-md: #1A3358;
  --accent:  #1E6FD9;
  --accent-l:#2E82F0;
  --gold:    #C8922A;
  --white:   #FFFFFF;
  --off-white:#F8F8F6;
  --grey-50: #F4F4F2;
  --grey-100:#E8E8E5;
  --grey-300:#B8B8B4;
  --grey-500:#7A7A74;
  --grey-700:#3D3D3A;
  --text:    #1C1C1A;
  --text-muted:#6A6A66;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --radius:   8px;
  --radius-lg:16px;
  --shadow:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:0 20px 60px rgba(0,0,0,0.15);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 800px; }
.section { padding: 5rem 0; }
.section--grey { background: var(--grey-50); }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.3rem; }
em { font-style: italic; color: var(--accent); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-l); border-color: var(--accent-l); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,111,217,0.3); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--navy); background: var(--grey-50); }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--white); }
.btn--large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- TAGS ---- */
.tag { display: inline-flex; align-items: center; padding: 0.2rem 0.65rem; background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--grey-700); }
.tag--small { font-size: 0.7rem; padding: 0.15rem 0.5rem; }
.tag--tech { background: #EEF4FF; border-color: #C5D9FF; color: var(--accent); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.nav__logo-img { height: 52px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-ekn { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); letter-spacing: -0.02em; }
.nav__logo-sub { font-size: 0.7rem; color: var(--grey-500); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.nav__link { padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; color: var(--grey-700); transition: all var(--transition); }
.nav__link:hover, .nav__link--active { color: var(--navy); background: var(--grey-50); }
.nav__cta { padding: 0.6rem 1.4rem; background: var(--navy); color: var(--white); border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; transition: all var(--transition); }
.nav__cta:hover { background: var(--accent); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: calc(100vh - 72px); display: flex; align-items: center;
  padding: 3rem 2rem 3rem;
  margin-top: 72px;
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,217,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero__eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 1rem; }
.hero__headline { margin-bottom: 1.25rem; color: var(--navy); }
.hero__sub { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; margin-bottom: 2rem; line-height: 1.7; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats { display: flex; gap: 3rem; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.hero__stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; font-weight: 500; }

.hero__visual { position: relative; height: 400px; }
.hero__orb {
  position: absolute; inset: 10%; border-radius: 50%;
  background: linear-gradient(135deg, rgba(30,111,217,0.08), rgba(200,146,42,0.06));
  filter: blur(40px);
}
.hero__card {
  position: absolute; background: var(--white); border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-md);
  min-width: 180px;
}
.hero__card--1 { top: 10%; left: 5%; animation: float1 6s ease-in-out infinite; }
.hero__card--2 { top: 40%; right: 5%; animation: float2 7s ease-in-out infinite; }
.hero__card--3 { bottom: 10%; left: 15%; animation: float1 5s ease-in-out infinite reverse; }
.hero__card-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.hero__card-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.hero__card-value--green { color: #1A8C4E; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section__header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section__eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.75rem; }
.section__title { margin-bottom: 1rem; }
.section__sub { color: var(--text-muted); font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 3rem; }

/* =====================================================
   SERVICES
   ===================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.service-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg);
  padding: 2rem; transition: all var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius); margin-bottom: 1.25rem;
  background: var(--grey-50); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
/* Icon backgrounds using emoji-style via CSS */
.service-card__icon--pipeline::before { content: '⚙️'; }
.service-card__icon--chart::before   { content: '📊'; }
.service-card__icon--database::before{ content: '🗄️'; }
.service-card__icon--warehouse::before{content: '🏗️'; }
.service-card__icon--analytics::before{content: '📈'; }
.service-card__icon--shield::before  { content: '🛡️'; }
.service-card__icon--web::before     { content: '🌐'; }
.service-card__icon--mentor::before  { content: '🎓'; }

.service-card__title { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--navy); }
.service-card__desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Services list (full page) */
.services-list { display: flex; flex-direction: column; gap: 2rem; }
.service-full { border: 1px solid var(--grey-100); border-radius: var(--radius-lg); padding: 2.5rem; background: var(--white); transition: border-color var(--transition); }
.service-full:hover { border-color: var(--accent); }
.service-full__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.service-full__title { font-size: 1.4rem; }
.service-full__body p { color: var(--text-muted); margin-bottom: 1rem; }
.service-full__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* =====================================================
   PORTFOLIO / PROJECTS
   ===================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.projects-grid--full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.project-tile {
  border: 1px solid var(--grey-100); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.project-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-tile__img { position: relative; height: 200px; overflow: hidden; background: var(--grey-50); }
.project-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-tile:hover .project-tile__img img { transform: scale(1.04); }
.project-tile__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-md));
  color: rgba(255,255,255,0.3); font-family: var(--font-display); font-size: 3rem;
}
.project-tile__placeholder span { color: rgba(255,255,255,0.5); font-size: 2.5rem; font-weight: 700; }
.project-tile__type { position: absolute; top: 1rem; left: 1rem; background: var(--white); color: var(--navy); font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 100px; border: 1px solid var(--grey-100); }
.project-tile__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.project-tile__title { font-size: 1.1rem; color: var(--navy); }
.project-tile__desc { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.project-tile__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-tile__cta { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-top: 0.25rem; }

.project-tile--large .project-tile__img { height: 220px; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab { padding: 0.5rem 1.1rem; border-radius: 100px; font-size: 0.88rem; font-weight: 500; border: 1px solid var(--grey-200); color: var(--grey-700); transition: all var(--transition); }
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab--active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Project detail */
.project-detail__img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.5rem; }
.project-detail__img img { width: 100%; max-height: 500px; object-fit: cover; }
.project-detail__meta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--grey-100); }
.project-detail__tech h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.project-type-badge { display: inline-block; background: #EEF4FF; color: var(--accent); font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }

/* =====================================================
   ABOUT
   ===================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
.about__content h2 { margin-bottom: 1.25rem; }
.about__content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.about__values { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.about__value strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 0.2rem; }
.about__value span { font-size: 0.9rem; color: var(--text-muted); }

.about__card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.about__stat { display: flex; flex-direction: column; }
.about__stat { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); }
.about__stat small { font-family: var(--font-body); font-size: 0.78rem; color: rgba(255,255,255,0.6); font-size: 0.8rem; }

.about__engagement { background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: var(--radius-lg); padding: 1.75rem; }
.about__engagement h3 { font-size: 1rem; margin-bottom: 1.25rem; }
.engagement-item { margin-bottom: 1.25rem; }
.engagement-item strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.engagement-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Skills grid */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.skill-group { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg); padding: 1.5rem; }
.skill-group__title { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; }
.skill-group__items { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-badge { display: inline-flex; padding: 0.3rem 0.7rem; background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 100px; font-size: 0.78rem; font-weight: 500; color: var(--grey-700); }

/* =====================================================
   INDUSTRIES
   ===================================================== */
.industries-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.industry-card { display: flex; align-items: center; gap: 0.75rem; background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 1rem 1.5rem; transition: all var(--transition); }
.industry-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.industry-card__icon { font-size: 1.5rem; }
.industry-card__name { font-size: 0.9rem; font-weight: 500; color: var(--navy); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.88rem; font-weight: 500; color: var(--navy); }
.required { color: var(--accent); margin-left: 2px; }
.form-control {
  padding: 0.7rem 1rem; border: 1.5px solid var(--grey-100); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white);
  transition: border-color var(--transition); color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,111,217,0.1); }
.form-group--error .form-control { border-color: #D94040; }
.form-error { font-size: 0.8rem; color: #D94040; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
.contact-info__item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contact-info__item p { font-size: 0.9rem; color: var(--text-muted); }
.contact-info__divider { height: 1px; background: var(--grey-100); }
.contact-info__list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.contact-info__list li { font-size: 0.88rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.contact-info__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero { padding: 5rem 0 3.5rem; background: linear-gradient(to bottom, var(--off-white), var(--white)); margin-top: 72px; }
.page-hero--slim { padding-bottom: 3rem; }
.page-hero .container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.page-hero__title { margin-bottom: 1rem; }
.page-hero__sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin-bottom: 1.5rem; }
.breadcrumb { font-size: 0.88rem; color: var(--accent); font-weight: 500; display: inline-block; margin-bottom: 1.5rem; }
.breadcrumb:hover { text-decoration: underline; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner { background: var(--navy); color: var(--white); padding: 5rem 0; text-align: center; }
.cta-banner .container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.cta-banner__title { color: var(--white); margin-bottom: 1rem; }
.cta-banner__sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--grey-50); border-top: 1px solid var(--grey-100); padding: 4rem 0 0; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer__logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer__logo-fallback { font-size: 1.1rem; color: var(--navy); margin-bottom: 1rem; }
.footer__tagline { font-size: 0.88rem; color: var(--text-muted); max-width: 260px; }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 0.5rem; font-family: var(--font-body); }
.footer__links a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); }
.footer__contact p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.footer__contact h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 0.75rem; font-family: var(--font-body); }
.footer__cta { display: inline-flex; padding: 0.6rem 1.3rem; background: var(--navy); color: var(--white); border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; transition: background var(--transition); }
.footer__cta:hover { background: var(--accent); }
.footer__bottom { border-top: 1px solid var(--grey-100); padding: 1.5rem 2rem; text-align: center; }
.footer__bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* =====================================================
   MESSAGES
   ===================================================== */
.messages { position: fixed; top: 80px; right: 1.5rem; z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; }
.message { padding: 1rem 1.5rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-md); animation: slideIn 0.3s ease; max-width: 380px; }
.message--success { background: #ECFDF5; color: #1A8C4E; border: 1px solid #A7F3D0; }
@keyframes slideIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state p { margin-bottom: 1.5rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none; position: fixed; inset: 72px 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 2rem; gap: 0.5rem;
    border-top: 1px solid var(--grey-100); overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__link { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav__cta { text-align: center; padding: 0.85rem 1rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero__stats { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid, .projects-grid--full { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .filter-tabs { gap: 0.4rem; }
}
/* =====================================================
   ELEVATED THEME — v2 refinement layer
   Premium pass over the navy + gold system.
   Source-order overrides earlier rules.
   ===================================================== */
:root {
  --gold-l:   #E0B44E;
  --gold-d:   #A9781F;
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, #1656B0 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold-l) 0%, var(--gold-d) 100%);
  --grad-navy:   linear-gradient(150deg, #0B1F3A 0%, #12305A 55%, #0B1F3A 100%);
  --ring:      0 0 0 1px rgba(11,31,58,0.05);
  --shadow:    0 4px 18px rgba(11,31,58,0.07);
  --shadow-md: 0 14px 40px rgba(11,31,58,0.10);
  --shadow-lg: 0 30px 70px rgba(11,31,58,0.16);
  --shadow-gold: 0 8px 30px rgba(200,146,42,0.28);
}

body { font-size: 16px; letter-spacing: -0.005em; }

/* ---- Buttons: depth + gradient ---- */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: 0.005em; }
.btn--primary {
  background: var(--grad-accent); border-color: transparent;
  box-shadow: 0 6px 18px rgba(30,111,217,0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,111,217,0.38); }
.btn--ghost { backdrop-filter: blur(4px); }
.btn--large { border-radius: 12px; }

/* ---- Eyebrows: gold lead line ---- */
.section__eyebrow, .hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; }
.section__eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-gold);
}
.section__header { max-width: 680px; }
.section__eyebrow { justify-content: center; }

/* ---- Navigation refinement ---- */
.nav { background: rgba(255,255,255,0.82); backdrop-filter: saturate(150%) blur(16px); }
.nav.scrolled { background: rgba(255,255,255,0.94); box-shadow: 0 6px 24px rgba(11,31,58,0.08); }
.nav__link { position: relative; }
.nav__link--active { background: transparent; color: var(--navy); }
.nav__link--active::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0.35rem;
  height: 2px; border-radius: 2px; background: var(--grad-gold);
}
.nav__cta { background: var(--navy); box-shadow: 0 4px 14px rgba(11,31,58,0.18); }
.nav__cta:hover { background: var(--grad-accent); transform: translateY(-1px); }

/* =====================================================
   HERO — elevated
   ===================================================== */
.hero {
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(30,111,217,0.10), transparent 60%),
    radial-gradient(760px 460px at 8% 108%, rgba(200,146,42,0.08), transparent 60%),
    linear-gradient(180deg, #FCFCFB 0%, var(--off-white) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(11,31,58,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  padding: 0.4rem 0.9rem; border-radius: 100px;
  background: rgba(30,111,217,0.07); border: 1px solid rgba(30,111,217,0.16);
  width: fit-content; margin-bottom: 1.4rem; color: var(--accent);
}
.hero__eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(200,146,42,0.16);
}
.hero__headline em {
  font-style: italic;
  background: var(--grad-gold); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.16rem; }
.hero__trust {
  margin-top: 1.75rem; font-size: 0.82rem; color: var(--grey-500);
  display: flex; align-items: center; gap: 0.6rem; letter-spacing: 0.01em;
}
.hero__trust::before { content: ''; width: 30px; height: 1px; background: var(--grey-300); }

.hero__stats { gap: 0; }
.hero__stat { padding: 0 1.75rem; position: relative; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat + .hero__stat::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--grey-100);
}
.hero__stat-num {
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero__content > * { animation: heroUp 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.13s; }
.hero__content > *:nth-child(3) { animation-delay: 0.21s; }
.hero__content > *:nth-child(4) { animation-delay: 0.29s; }
.hero__content > *:nth-child(5) { animation-delay: 0.37s; }
.hero__content > *:nth-child(6) { animation-delay: 0.45s; }

.hero__card {
  border: 1px solid rgba(11,31,58,0.06); border-radius: 18px;
  box-shadow: var(--shadow-md); backdrop-filter: blur(2px); background: rgba(255,255,255,0.92);
}
.hero__card::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 3px; background: var(--grad-accent);
}
.hero__card--2::before { background: var(--grad-gold); }
.hero__orb { background: linear-gradient(135deg, rgba(30,111,217,0.14), rgba(200,146,42,0.12)); filter: blur(48px); }

@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .hero__card { animation: none !important; }
}

/* =====================================================
   SERVICE CARDS — elevated
   ===================================================== */
.service-card { border-radius: 18px; box-shadow: var(--ring); position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: rgba(30,111,217,0.35); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(30,111,217,0.10), rgba(200,146,42,0.10));
  border: 1px solid rgba(11,31,58,0.05);
}
.service-card__title { font-size: 1.12rem; }

/* =====================================================
   PROJECT TILES — elevated
   ===================================================== */
.project-tile { border-radius: 18px; box-shadow: var(--ring); }
.project-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.project-tile__type { backdrop-filter: blur(6px); background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(11,31,58,0.08); }
.project-tile__cta { display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.project-tile:hover .project-tile__cta { gap: 0.6rem; }

/* =====================================================
   INDUSTRIES — elevated
   ===================================================== */
.industries-section { background: linear-gradient(180deg, var(--white), var(--grey-50)); }
.industry-card { border-radius: 100px; padding: 0.85rem 1.5rem; box-shadow: var(--ring); }
.industry-card:hover { transform: translateY(-2px); border-color: rgba(30,111,217,0.35); box-shadow: var(--shadow); }

/* =====================================================
   CTA BANNER — elevated with gold glow
   ===================================================== */
.cta-banner { background: var(--grad-navy); position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 120%, rgba(200,146,42,0.22), transparent 60%),
    radial-gradient(500px 260px at 10% -20%, rgba(30,111,217,0.30), transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner__title { font-size: clamp(2rem, 3.5vw, 2.9rem); }

/* =====================================================
   FOOTER + rhythm
   ===================================================== */
.footer { background: linear-gradient(180deg, var(--white), var(--grey-50)); }
.footer__cta { background: var(--grad-accent); }
.section { padding: 6rem 0; }

/* =====================================================
   ELEVATED THEME — page-level layer
   services / portfolio / about / contact /
   project detail / error pages
   ===================================================== */

/* ---- Interior page hero: premium header ---- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 6.5rem 0 4rem;
  background:
    radial-gradient(900px 380px at 82% -30%, rgba(30,111,217,0.10), transparent 60%),
    radial-gradient(620px 320px at 2% 120%, rgba(200,146,42,0.08), transparent 60%),
    linear-gradient(180deg, #FCFCFB 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--grey-100);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(11,31,58,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 30% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 100% at 30% 0%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero--slim { padding: 6.5rem 0 3rem; }
.page-hero__sub { font-size: 1.14rem; }

/* ---- Services: full-width cards ---- */
.services-list { gap: 1.5rem; }
.service-full {
  border-radius: 20px; box-shadow: var(--ring); position: relative;
  padding-left: 2.75rem; overflow: hidden;
}
.service-full::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-gold); transform: scaleY(0); transform-origin: top;
  transition: transform var(--transition);
}
.service-full:hover { border-color: rgba(30,111,217,0.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-full:hover::before { transform: scaleY(1); }
.service-full__header { margin-bottom: 1rem; }

/* ---- Portfolio: filter tabs (also fixes undefined --grey-200 border) ---- */
.filter-tab { border: 1px solid var(--grey-100); box-shadow: var(--ring); }
.filter-tab:hover { border-color: rgba(30,111,217,0.45); }
.filter-tab--active { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 4px 14px rgba(11,31,58,0.18); }

/* ---- About: navy stat card ---- */
.about__card {
  background: var(--grad-navy); border-radius: 20px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); padding: 2.25rem;
}
.about__card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 220px at 100% 0%, rgba(200,146,42,0.22), transparent 60%);
}
.about__stat { position: relative; z-index: 1; }
.about__stat {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.about__stat small { -webkit-text-fill-color: rgba(255,255,255,0.62); color: rgba(255,255,255,0.62); }
.about__stat + .about__stat { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 1.25rem; }

/* ---- About: engagement + skills ---- */
.about__engagement { border-radius: 18px; box-shadow: var(--ring); }
.engagement-item strong { display: flex; align-items: center; gap: 0.45rem; }
.engagement-item strong::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-gold); }
.skill-group { border-radius: 16px; box-shadow: var(--ring); transition: all var(--transition); }
.skill-group:hover { border-color: rgba(30,111,217,0.30); box-shadow: var(--shadow); transform: translateY(-2px); }
.skill-group__title { color: var(--accent); }
.skill-badge { transition: all var(--transition); }
.skill-badge:hover { border-color: rgba(30,111,217,0.45); color: var(--accent); }

/* ---- Contact: form card + info ---- */
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: 20px;
  padding: 2.25rem; box-shadow: var(--shadow-md);
}
.contact-form__title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.contact-form__lead { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; }
.form-control { border-radius: 10px; padding: 0.8rem 1rem; background: var(--grey-50); }
.form-control:focus { background: var(--white); }
.contact-info__item { padding-left: 1rem; border-left: 2px solid var(--grey-100); transition: border-color var(--transition); }
.contact-info__item:hover { border-left-color: var(--gold); }
.contact-info__divider { display: none; }

/* ---- Project detail ---- */
.project-type-badge { background: linear-gradient(135deg, #EEF4FF, #DCE8FF); border: 1px solid #C5D9FF; }
.project-detail__img { border-radius: 20px; box-shadow: var(--shadow-md); }
.prose { font-size: 1.05rem; }
.prose p { color: var(--grey-700); }
.project-detail__meta {
  margin-top: 2.5rem; padding: 1.75rem; border-top: 0;
  background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 16px;
}
.tag--tech { background: #EEF4FF; }

/* ---- Error pages: empty state buttons ---- */
.empty-state .btn { margin: 0 0.4rem; }

/* ---- Related / grey sections rhythm ---- */
.section--grey { background: linear-gradient(180deg, var(--grey-50), var(--white)); }
