/* ── Reset & tokens ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #edf3f8;
  --surface:     rgba(255,255,255,0.72);
  --card:        rgba(255,255,255,0.92);
  --border:      rgba(15,23,42,0.08);
  --text:        #111827;
  --muted:       #6b7280;
  --accent:      #111;
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
  --r-xl:        32px;
  --shadow-sm:   0 2px 8px  rgba(15,23,42,0.05);
  --shadow-md:   0 8px 24px rgba(15,23,42,0.07);
  --shadow-lg:   0 20px 60px rgba(15,23,42,0.09);
  --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; }

.btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), var(--shadow-sm);
}

.btn-dark {
  background: var(--accent);
  color: #fff;
}

.btn-ghost-light {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border), var(--shadow-sm);
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1060px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: opacity var(--transition);
}
.nav-cta:hover { opacity: 0.85; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Default gradient shown when no banner image is available */
  background: var(--hero-gradient, linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%));
  transition: background var(--transition);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 720px;
}

.hero-logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-lg);
}
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
}

.tag-outline {
  background: transparent;
}

.hero-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-slogan {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.82);
  font-style: italic;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ── Section commons ─────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-header {
  margin-bottom: 36px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about {
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.about-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(15,23,42,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label { font-size: 13px; color: var(--muted); }
.stat-value { font-size: 15px; font-weight: 600; color: var(--text); }

/* ── Filter tabs ─────────────────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Sections (replaces offerings) ──────────────────────────────────────── */
.sections {
  padding: 96px 0;
  background: rgba(255,255,255,0.38);
}

.section-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Section info card — full bleed image with overlay */
.section-info-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.section-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.section-info-card--disabled {
  cursor: default;
  opacity: 0.72;
}
.section-info-card--disabled:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.section-info-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.section-info-card:hover:not(.section-info-card--disabled) .section-info-card-bg {
  transform: scale(1.04);
}

.section-info-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.08) 100%);
}

.section-info-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 54px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-info-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

.section-info-card-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-info-card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.section-info-card:hover:not(.section-info-card--disabled) .section-info-card-arrow {
  background: rgba(255,255,255,0.25);
  transform: translate(3px, -3px);
}
.section-info-card-arrow svg {
  width: 18px;
  height: 18px;
}

/* ── Section modals ──────────────────────────────────────────────────────── */
.section-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(8px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.section-modal-overlay.open { display: flex; }

.section-modal-card {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.22s ease;
}

.section-modal-card--wide {
  max-width: 960px;
}

.section-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(15,23,42,0.06);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 1;
  transition: background var(--transition);
}
.section-modal-close:hover { background: rgba(15,23,42,0.12); }

.section-modal-body {
  padding: 44px 36px 36px;
}

.section-modal-loading {
  text-align: center;
  padding: 48px;
  color: var(--muted);
  font-size: 14px;
}

/* Business case inside modal */
.biz-modal-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-modal-main {
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.biz-modal-main .section-eyebrow { color: rgba(255,255,255,0.55); }
.biz-modal-main h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin: 10px 0 16px;
  letter-spacing: -0.02em;
}
.biz-modal-main p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.75; }

.biz-modal-side-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.biz-modal-side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.biz-modal-side-card h3 {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.biz-modal-side-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Offerings section (kept for backward compat) ────────────────────────── */
.offerings {
  padding: 96px 0;
  background: rgba(255,255,255,0.38);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ── Business case (kept for backward compat) ────────────────────────────── */
.biz-case { padding: 96px 0; }

.biz-case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.biz-main-card {
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.biz-main-card .section-eyebrow { color: rgba(255,255,255,0.55); }
.biz-main-card h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  margin: 10px 0 18px;
  letter-spacing: -0.02em;
}
.biz-main-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.75; }

.biz-side-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.biz-side-card h3 {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.biz-side-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Product/Service card ────────────────────────────────────────────────── */
.item-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.item-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
}

.item-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.item-card-body {
  padding: 18px 20px 20px;
}

.item-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.item-type-badge.product { background: #dbeafe; color: #1d4ed8; }
.item-type-badge.service { background: #dcfce7; color: #16a34a; }

.item-card-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.item-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.item-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.item-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.view-btn:hover { opacity: 1; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}
.empty-icon { font-size: 44px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-section { padding: 96px 0; background: rgba(255,255,255,0.38); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.contact-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.contact-item a { color: var(--text); }
.contact-item a:hover { text-decoration: underline; }

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(15,23,42,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner a { font-weight: 600; }
.footer-inner a:hover { color: var(--text); }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-card {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(15,23,42,0.06);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 1;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(15,23,42,0.12); }

.modal-image-wrap {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 28px 32px 36px;
}

.modal-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.modal-price {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .biz-case-inner { grid-template-columns: 1fr; }

  .biz-modal-side-cards { grid-template-columns: 1fr; }

  .section-modal-body { padding: 44px 20px 28px; }

  .modal-body { padding: 20px 20px 28px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .section-cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
