/* DeepNova AI — enkompas.com layout */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --blue: #1B4F8A;
  --blue-dark: #153862;
  --blue-accent: #2B6CB0;
  --blue-light: #EBF2FA;
  --black: #000000;
  --white: #ffffff;
  --gray-50: #F7F9FC;
  --gray-100: #EDF1F7;
  --gray-200: #D8E0EC;
  --gray-500: #6B7A90;
  --gray-700: #3D4A5C;
  --text: #2A3340;
  --font: 'Open Sans', system-ui, sans-serif;
  --max: 1140px;
  --wide: 1200px;
  --pill: 999px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Top bar ── */
.ek-topbar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 7px 20px; font-size: 13px; }
.ek-topbar-inner { max-width: var(--wide); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.ek-social { display: flex; gap: 10px; align-items: center; }
.ek-social a { color: var(--blue); font-weight: 600; font-size: 12px; }
.ek-social a:hover { text-decoration: underline; }
.ek-topbar-contact { color: var(--gray-700); font-weight: 600; }
.ek-topbar-contact a { color: var(--blue); }

/* ── Header ── */
.ek-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 500; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.ek-header-inner { max-width: var(--wide); margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; gap: 6px; }
.ek-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ek-logo-mark { width: 38px; height: 38px; position: relative; }
.ek-logo-mark::before { content: ''; position: absolute; inset: 0; border: 3px solid var(--blue-accent); border-radius: 50%; border-top-color: transparent; transform: rotate(-35deg); }
.ek-logo-mark::after { content: ''; position: absolute; inset: 8px; border: 2px solid var(--blue); border-radius: 50%; opacity: 0.5; }
.ek-logo-text { font-size: 1.25rem; font-weight: 700; color: var(--blue); line-height: 1; }
.ek-logo-text small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin-top: 2px; }

.ek-nav { display: flex; align-items: center; margin-left: 16px; flex: 1; }
.ek-nav > li { position: relative; }
.ek-nav > li > a, .ek-nav > li > span.nav-label {
  display: flex; align-items: center; gap: 4px; padding: 10px 11px;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer;
}
.ek-nav > li > a:hover, .ek-nav > li:hover > span.nav-label { color: var(--blue); }
.ek-nav > li > a.active { color: var(--blue); }
.ek-caret { font-size: 9px; opacity: 0.5; }
.ek-mega {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--gray-200);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: all 0.18s; z-index: 200;
}
.ek-nav > li:hover .ek-mega { opacity: 1; visibility: visible; transform: none; }
.ek-mega a { display: block; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.ek-mega a:hover { background: var(--blue-light); color: var(--blue); }

.ek-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ek-search { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 7px 12px; font-size: 13px; width: 120px; font-family: var(--font); }
.ek-search:focus { outline: none; border-color: var(--blue); width: 140px; transition: width 0.2s; }
.ek-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; font-size: 13px; font-weight: 700; border-radius: var(--pill); border: 2px solid var(--blue); cursor: pointer; font-family: var(--font); white-space: nowrap; transition: all 0.15s; }
.ek-btn-blue { background: var(--blue); color: var(--white) !important; }
.ek-btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.ek-btn-outline { background: var(--white); color: var(--blue) !important; }
.ek-btn-outline:hover { background: var(--blue-light); }
.ek-btn-white { background: var(--white); color: var(--blue) !important; border-color: var(--white); }
.ek-btn-white:hover { background: var(--gray-100); }
.ek-menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--blue); padding: 8px; }

/* ── Hero (black) ── */
.ek-hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.ek-hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1600&q=85') center/cover; opacity: 0.35; }
.ek-hero-inner { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; padding: 72px 20px 90px; }
.ek-hero-row { display: flex; gap: 22px; max-width: 700px; }
.ek-hero-bar { width: 5px; background: var(--blue-accent); flex-shrink: 0; }
.ek-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 700; line-height: 1.28; margin-bottom: 18px; }
.ek-hero-lead { font-size: 15px; line-height: 1.75; opacity: 0.92; margin-bottom: 26px; }
.ek-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ek-hero-btns .ek-btn { padding: 12px 24px; font-size: 14px; }
.ek-hero-clip { position: absolute; bottom: -1px; left: 0; right: 0; height: 50px; background: var(--white); clip-path: polygon(0 100%, 50% 0, 100% 100%); z-index: 2; }

/* ── Sections ── */
.ek-section { padding: 64px 20px; }
.ek-section-gray { background: var(--gray-50); }
.ek-section-blue { background: var(--blue); color: var(--white); }
.ek-inner { max-width: var(--wide); margin: 0 auto; }
.ek-eyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 10px; }
.ek-h2 { text-align: center; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; color: var(--blue); line-height: 1.3; margin-bottom: 36px; }
.ek-h2.left { text-align: left; }
.ek-h2.white { color: var(--white); }

.ek-checklist { max-width: 780px; margin: 0 auto; }
.ek-checklist li { display: flex; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--gray-700); line-height: 1.55; border-bottom: 1px solid var(--gray-200); }
.ek-checklist li:last-child { border-bottom: none; }
.ek-checklist li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* Services split */
.ek-services-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ek-services-copy p { font-size: 15px; color: var(--gray-700); margin-bottom: 14px; line-height: 1.7; }
.ek-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ek-services-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.ek-svc-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px 18px; color: inherit; transition: box-shadow 0.2s, border-color 0.2s; display: block; }
.ek-svc-card:hover { box-shadow: 0 8px 28px rgba(27,79,138,0.12); border-color: var(--blue-accent); }
.ek-svc-icon { width: 48px; height: 48px; margin-bottom: 14px; }
.ek-svc-icon svg { width: 100%; height: 100%; }
.ek-svc-card h3 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 8px; line-height: 1.35; }
.ek-svc-card p { font-size: 13px; color: var(--gray-700); line-height: 1.55; }

.ek-link-row { text-align: center; padding: 28px 20px; background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.ek-link-row a { font-size: 15px; font-weight: 700; color: var(--blue); margin: 0 16px; }
.ek-link-row a:hover { text-decoration: underline; }

/* Different - 4 col */
.ek-diff-wrap { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.ek-diff-wrap p { font-size: 15px; color: var(--gray-700); line-height: 1.7; }
.ek-diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ek-diff-item { text-align: center; padding: 0 8px; }
.ek-diff-item .icon { width: 56px; height: 56px; margin: 0 auto 14px; background: var(--blue-light); border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 22px; }
.ek-diff-item h3 { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; line-height: 1.35; }
.ek-diff-item p { font-size: 13px; color: var(--gray-700); line-height: 1.55; }

/* Testimonials / commitment carousel */
.ek-testimonials { background: var(--gray-50); padding: 64px 20px; }
.ek-testimonial-slider { max-width: 780px; margin: 0 auto; text-align: center; }
.ek-testimonial-slider blockquote { font-size: 1.15rem; font-style: italic; color: var(--gray-700); line-height: 1.65; margin-bottom: 16px; }
.ek-testimonial-slider cite { font-size: 14px; font-weight: 700; color: var(--blue); font-style: normal; display: block; }
.ek-testimonial-slider .role { font-size: 13px; color: var(--gray-500); font-weight: 400; }
.ek-testimonial-note { text-align: center; font-size: 13px; color: var(--gray-500); margin-top: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Resources + sidebar CTA */
.ek-resources-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.ek-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ek-blog-card { display: block; color: inherit; group: hover; }
.ek-blog-card:hover h3 { color: var(--blue-accent); }
.ek-blog-img { height: 180px; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; background: var(--gray-200); }
.ek-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ek-blog-card:hover .ek-blog-img img { transform: scale(1.03); }
.ek-blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue); line-height: 1.4; margin-bottom: 8px; transition: color 0.15s; }
.ek-blog-card p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }
.ek-sidebar-cta { background: var(--blue); color: var(--white); padding: 28px 24px; border-radius: var(--radius); position: sticky; top: 90px; }
.ek-sidebar-cta h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; line-height: 1.35; }
.ek-sidebar-cta p { font-size: 14px; opacity: 0.9; line-height: 1.6; margin-bottom: 18px; }
.ek-sidebar-cta .ek-btn-white { width: 100%; }

/* Page hero inner */
.ek-page-hero { background: var(--blue); color: var(--white); padding: 130px 20px 56px; }
.ek-page-hero .ek-inner,
.ek-page-hero-inner { max-width: var(--wide); margin: 0 auto; }
.ek-page-hero .ek-inner h1,
.ek-page-hero-inner h1 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); font-weight: 700; max-width: 720px; line-height: 1.25; margin-bottom: 14px; }
.ek-page-hero .ek-inner p,
.ek-page-hero-inner p { font-size: 16px; opacity: 0.9; max-width: 640px; line-height: 1.65; }
.ek-section-inner { max-width: var(--wide); margin: 0 auto; }
.ek-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.ek-cta-banner { background: var(--blue); color: var(--white); text-align: center; padding: 56px 20px; }
.ek-cta-banner h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.ek-cta-banner p { font-size: 16px; opacity: 0.9; max-width: 560px; margin: 0 auto 22px; line-height: 1.65; }
.ek-cta-banner .ek-btn { padding: 12px 28px; font-size: 14px; }
.ek-testimonial-track { min-height: 140px; }
.ek-slide { animation: ekFade 0.4s ease; }
@keyframes ekFade { from { opacity: 0; } to { opacity: 1; } }
.ek-breadcrumb { font-size: 13px; opacity: 0.75; margin-bottom: 16px; }
.ek-breadcrumb a:hover { text-decoration: underline; }

.ek-content { max-width: var(--max); margin: 0 auto; padding: 48px 20px 64px; }
.ek-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--blue); margin: 28px 0 12px; }
.ek-content p { color: var(--gray-700); margin-bottom: 12px; line-height: 1.7; }
.ek-content ul { margin: 0 0 14px 20px; color: var(--gray-700); }
.ek-content a { color: var(--blue-accent); font-weight: 600; }
.ek-notice { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--gray-700); }
.ek-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gray-200); margin: 20px 0; font-size: 14px; }
.ek-table th, .ek-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.ek-table th { background: var(--gray-50); width: 200px; font-weight: 700; color: var(--blue); }

.ek-two-col { display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 40px 20px 64px; }
.ek-side-nav { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; position: sticky; top: 90px; align-self: start; }
.ek-side-nav h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 10px; padding: 0 8px; }
.ek-side-nav a { display: block; padding: 9px 8px; font-size: 14px; font-weight: 600; color: var(--gray-700); border-radius: var(--radius); }
.ek-side-nav a:hover, .ek-side-nav a.active { background: var(--blue-light); color: var(--blue); }

.ek-contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ek-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
.ek-form h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.ek-field { margin-bottom: 14px; }
.ek-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.ek-field input, .ek-field select, .ek-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 15px; }
.ek-field textarea { min-height: 120px; resize: vertical; }
.ek-field input:focus, .ek-field select:focus, .ek-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-light); }
.ek-info-block { margin-bottom: 20px; }
.ek-info-block strong { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 4px; }

/* FAQ */
.ek-faq-item { border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.ek-faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.ek-faq-item p { font-size: 14px; color: var(--gray-700); line-height: 1.65; }

/* Industry cards */
.ek-industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ek-industry-card { padding: 24px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
.ek-industry-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.ek-industry-card p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* Stats row - modest */
.ek-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; padding: 40px 0; }
.ek-stat-num { font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.ek-stat-label { font-size: 14px; color: var(--gray-700); line-height: 1.4; }

/* Footer */
.ek-footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 48px 20px 24px; }
.ek-footer-top { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px; }
.ek-footer-contact p { font-size: 15px; line-height: 1.75; margin-bottom: 8px; }
.ek-footer-contact a { color: #7EB8E8; }
.ek-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.ek-footer-social a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }
.ek-footer-social a:hover { color: var(--white); }
.ek-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ek-footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.ek-footer-col li { margin-bottom: 7px; }
.ek-footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); }
.ek-footer-col a:hover { color: var(--white); }
.ek-footer-bottom { max-width: var(--wide); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.45); }
.ek-footer-bottom a { color: rgba(255,255,255,0.45); margin-left: 14px; }
.ek-footer-bottom a:hover { color: var(--white); }
.ek-footer-legal { max-width: var(--wide); margin: 0 auto 20px; font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.7; }

@media (max-width: 1024px) {
  .ek-services-split, .ek-resources-wrap, .ek-contact-split, .ek-two-col, .ek-split { grid-template-columns: 1fr; }
  .ek-diff-grid { grid-template-columns: repeat(2, 1fr); }
  .ek-blog-grid, .ek-industry-grid { grid-template-columns: 1fr; }
  .ek-footer-top { grid-template-columns: 1fr; }
  .ek-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ek-nav, .ek-search, .ek-header-right .ek-btn-outline { display: none; }
  .ek-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px 20px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); align-items: stretch; }
  .ek-nav.open > li { width: 100%; }
  .ek-mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 12px; display: none; }
  .ek-nav.open > li:hover .ek-mega, .ek-nav.open > li:focus-within .ek-mega { display: block; }
  .ek-menu-btn { display: block; margin-left: auto; }
  .ek-services-grid, .ek-services-grid.three-col { grid-template-columns: 1fr; }
  .ek-diff-grid, .ek-stats { grid-template-columns: 1fr; }
  .ek-hero-row { flex-direction: column; }
  .ek-hero-bar { width: 48px; height: 4px; }
  .ek-footer-cols { grid-template-columns: 1fr; }
}
