/* ── WesTech Solutions — Brand Design System ─────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --wt-primary:    #509ABD;
  --wt-dark:       #4A758B;
  --wt-navy:       #1e3347;
  --wt-navy-deep:  #162840;
  --wt-grey:       #7F7F7F;
  --wt-light-grey: #B4B4B4;
  --wt-bg:         #F2F7FA;
  --wt-white:      #ffffff;
  --wt-text:       #1a2332;
  --wt-text-muted: #5a6a7a;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 2px 16px rgba(30,51,71,.09);
  --shadow-lg:     0 8px 40px rgba(30,51,71,.14);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wt-text);
  background: var(--wt-white);
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wt-navy);
}

a { color: var(--wt-primary); text-decoration: none; }
a:hover { color: var(--wt-dark); }
img { max-width: 100%; height: auto; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.wt-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--wt-white);
  border-bottom: 1px solid #e8f0f5;
  transition: box-shadow .2s;
}
.wt-navbar.scrolled { box-shadow: 0 2px 20px rgba(30,51,71,.10); }

.wt-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wt-navbar .brand-logo {
  height: 38px;
  width: auto;
}
.wt-navbar .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wt-navy);
  letter-spacing: -0.02em;
}
.wt-navbar .brand-name span { color: var(--wt-primary); }

.wt-navbar .nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--wt-text-muted) !important;
  padding: .5rem .9rem !important;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.wt-navbar .nav-link:hover,
.wt-navbar .nav-link.active {
  color: var(--wt-navy) !important;
  background: var(--wt-bg);
}

.wt-dropdown-menu {
  border: 1px solid #e5eef4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  margin-top: .4rem;
}
.wt-dropdown-menu .dropdown-item {
  font-size: .88rem;
  font-weight: 500;
  color: var(--wt-text-muted);
  padding: .55rem .8rem;
  border-radius: 6px;
}
.wt-dropdown-menu .dropdown-item:hover,
.wt-dropdown-menu .dropdown-item:focus,
.wt-dropdown-menu .dropdown-item.active {
  color: var(--wt-navy);
  background: var(--wt-bg);
}

.wt-navbar .nav-cta {
  background: var(--wt-primary);
  color: var(--wt-white) !important;
  border-radius: 7px;
  padding: .45rem 1rem !important;
  font-weight: 600;
}
.wt-navbar .nav-cta:hover {
  background: var(--wt-dark) !important;
  color: var(--wt-white) !important;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-wt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .7rem 1.6rem;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  line-height: 1;
}
.btn-wt-primary {
  background: var(--wt-primary);
  color: var(--wt-white);
  border-color: var(--wt-primary);
}
.btn-wt-primary:hover {
  background: var(--wt-dark);
  border-color: var(--wt-dark);
  color: var(--wt-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(80,154,189,.35);
}
.btn-wt-outline {
  background: transparent;
  color: var(--wt-white);
  border-color: rgba(255,255,255,.55);
}
.btn-wt-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--wt-white);
  color: var(--wt-white);
}
.btn-wt-outline-dark {
  background: transparent;
  color: var(--wt-primary);
  border-color: var(--wt-primary);
}
.btn-wt-outline-dark:hover {
  background: var(--wt-primary);
  color: var(--wt-white);
}
.btn-wt-light {
  background: var(--wt-white);
  color: var(--wt-navy);
  border-color: var(--wt-white);
}
.btn-wt-light:hover {
  background: var(--wt-bg);
  color: var(--wt-navy);
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--wt-navy-deep) 0%, var(--wt-navy) 60%, #2a4f6e 100%);
  color: var(--wt-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23509ABD' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero-page {
  padding: 72px 0 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(80,154,189,.18);
  color: #89c8e2;
  border: 1px solid rgba(80,154,189,.3);
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--wt-white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Section Layout ───────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--wt-bg); }
.section-dark {
  background: linear-gradient(135deg, var(--wt-navy-deep) 0%, var(--wt-navy) 100%);
  color: var(--wt-white);
}
.section-dark h2, .section-dark h3 { color: var(--wt-white); }
.section-dark p { color: rgba(255,255,255,.78); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--wt-primary);
  margin-bottom: .6rem;
}
.section-label-light { color: #89c8e2; }

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--wt-text-muted);
  max-width: 600px;
  line-height: 1.6;
}
.section-sub-light { color: rgba(255,255,255,.72); }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.service-card {
  background: var(--wt-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid #e5eef4;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #dceef7 0%, #c5e0ef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--wt-primary);
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.service-card .service-eyebrow {
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--wt-primary);
  margin-bottom: .4rem;
}
.service-card p {
  color: var(--wt-text-muted);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: var(--wt-text-muted);
  padding: .3rem 0;
}
.feature-list li::before {
  content: '✓';
  color: var(--wt-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Stats ────────────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--wt-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #e5eef4;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--wt-primary);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--wt-navy);
  margin-bottom: .3rem;
}
.stat-desc {
  font-size: .8rem;
  color: var(--wt-text-muted);
  line-height: 1.4;
}

/* ── Three Questions ──────────────────────────────────────────────────────── */
.question-card {
  text-align: center;
  padding: 36px 24px;
}
.question-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--wt-primary), var(--wt-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: white;
  font-size: 1.6rem;
}
.question-card h3 {
  font-size: 1.15rem;
  color: var(--wt-navy);
  margin-bottom: .5rem;
}
.question-card p {
  font-size: .92rem;
  color: var(--wt-text-muted);
  line-height: 1.55;
}

/* ── 9Cs Badges ───────────────────────────────────────────────────────────── */
.nines-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 1.5rem;
}
.nine-badge {
  background: var(--wt-white);
  border: 1.5px solid #ccdde8;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--wt-dark);
  transition: all .15s;
}
.nine-badge:hover {
  background: var(--wt-primary);
  border-color: var(--wt-primary);
  color: var(--wt-white);
}

/* ── 9Cs Pillars ──────────────────────────────────────────────────────────── */
.nine-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 2.5rem;
}
.nine-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}
.nine-pillar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0 10px;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}
.nine-pillar-compliance { background: var(--wt-primary); }
.nine-pillar-control    { background: #2f7ea6; }
.nine-pillar-consulting { background: var(--wt-navy); }
.nine-pillar-branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.nine-core {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #dce8f0;
}
.nine-core-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--wt-text-muted);
  margin-bottom: .9rem;
}

/* ── Differentiators ──────────────────────────────────────────────────────── */
.diff-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: var(--wt-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--wt-primary);
}
.diff-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--wt-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wt-primary);
  font-size: 1.2rem;
}
.diff-card h4 { font-size: 1rem; margin-bottom: .3rem; }
.diff-card p { font-size: .88rem; color: var(--wt-text-muted); margin: 0; line-height: 1.5; }

/* ── Control Domain Badges ────────────────────────────────────────────────── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.domain-card {
  background: var(--wt-white);
  border: 1px solid #dce8f0;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.domain-name { font-size: .88rem; font-weight: 600; color: var(--wt-navy); }
.domain-count {
  background: var(--wt-bg);
  color: var(--wt-primary);
  font-size: .76rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── AI Status Badges ─────────────────────────────────────────────────────── */
.ai-status-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.ai-status {
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.ai-ok     { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #a5d6a7; }
.ai-partial{ background: #fff8e1; color: #f57f17; border: 1.5px solid #ffe082; }
.ai-gap    { background: #ffebee; color: #c62828; border: 1.5px solid #ef9a9a; }
.ai-review { background: #e8f4fd; color: var(--wt-dark); border: 1.5px solid #b3d9ee; }

/* ── Process Steps ────────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  position: relative;
}
.step {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--wt-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto .8rem;
  position: relative;
  z-index: 1;
}
.step-title { font-size: .9rem; font-weight: 700; color: var(--wt-navy); margin-bottom: .25rem; }
.step-desc  { font-size: .8rem; color: var(--wt-text-muted); line-height: 1.4; }

/* connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px;
  right: 0;
  width: 50%;
  height: 2px;
  background: #d0e6f0;
}
.step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 0;
  width: 50%;
  height: 2px;
  background: #d0e6f0;
}

/* ── What We Build grid ───────────────────────────────────────────────────── */
.build-card {
  background: var(--wt-white);
  border: 1px solid #dce8f0;
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s, transform .15s;
}
.build-card:hover {
  border-color: var(--wt-primary);
  transform: translateY(-2px);
}
.build-card h4 { font-size: .98rem; margin-bottom: .4rem; }
.build-card p  { font-size: .86rem; color: var(--wt-text-muted); line-height: 1.5; margin: 0; }
.build-icon {
  font-size: 1.5rem;
  margin-bottom: .7rem;
  display: block;
}

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--wt-navy-deep), #2a4f6e);
  color: white;
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 { color: white; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #89c8e2;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: .5rem;
  transition: color .15s;
}
.cta-email-link:hover { color: white; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.wt-footer {
  background: var(--wt-navy-deep);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}
.footer-brand { margin-bottom: 1rem; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-top: .5rem;
}
.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-top: .25rem;
}
.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--wt-primary); }
.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 36px 0 20px;
}
.footer-bottom {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--wt-primary); }

/* ── Image helpers ────────────────────────────────────────────────────────── */
.img-rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.img-center { display: block; margin: 0 auto; }

/* ── Inquiry Forms (Partner / Contact) ────────────────────────────────────── */
.partner-form,
.contact-form { background: var(--wt-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid #dce8f0; }
.partner-form .form-label,
.contact-form .form-label { font-size: .87rem; font-weight: 600; color: var(--wt-navy); margin-bottom: .35rem; }
.partner-form .form-control,
.partner-form .form-select,
.contact-form .form-control,
.contact-form .form-select { border: 1.5px solid #dce8f0; border-radius: var(--radius); padding: .65rem 1rem; font-size: .92rem; color: var(--wt-text); transition: border-color .15s, box-shadow .15s; }
.partner-form .form-control:focus,
.partner-form .form-select:focus,
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: var(--wt-primary); box-shadow: 0 0 0 3px rgba(80,154,189,.12); outline: none; }
.partner-form .form-control.is-invalid,
.partner-form .form-select.is-invalid,
.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid { border-color: #dc3545; }
.partner-form .invalid-feedback,
.contact-form .invalid-feedback { font-size: .8rem; }
.partner-success,
.contact-success { background: #e8f5e9; border: 1.5px solid #a5d6a7; border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.partner-success h3,
.contact-success h3 { color: #2e7d32; margin-bottom: .5rem; }
.partner-success p,
.contact-success p { color: #4a7a4e; margin: 0; }

/* ── Report Gallery ───────────────────────────────────────────────────────── */
.report-tab-nav { gap: 6px; flex-wrap: wrap; border-bottom: 2px solid #dce8f0; padding-bottom: 0; margin-bottom: 2rem; }
.report-tab-nav .nav-link {
  color: var(--wt-text-muted);
  font-size: .83rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: 6px 6px 0 0;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  transition: color .15s, border-color .15s;
}
.report-tab-nav .nav-link:hover { color: var(--wt-dark); }
.report-tab-nav .nav-link.active { color: var(--wt-primary); border-bottom-color: var(--wt-primary); font-weight: 600; }

.screenshot-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #dce8f0; display: block; transition: transform .2s, box-shadow .2s; }
.screenshot-wrap:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(30,51,71,.18); }
.screenshot-chrome { background: #f0f2f5; border-bottom: 1px solid #dce8f0; padding: 9px 14px; display: flex; align-items: center; gap: 5px; }
.sc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sc-dot-r { background: #ff5f57; }
.sc-dot-y { background: #febc2e; }
.sc-dot-g { background: #28c840; }
.sc-urlbar { flex: 1; margin-left: 10px; background: white; border-radius: 4px; padding: 3px 10px; font-size: .7rem; color: var(--wt-text-muted); font-family: 'Courier New', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screenshot-wrap img { width: 100%; display: block; }

.screenshot-caption { margin-top: .8rem; }
.screenshot-caption strong { display: block; font-size: .92rem; color: var(--wt-navy); margin-bottom: .15rem; }
.screenshot-caption p { font-size: .83rem; color: var(--wt-text-muted); line-height: 1.5; margin: 0; }

.gallery-demo-note { display: inline-flex; align-items: center; gap: 8px; background: #e8f4fd; color: #2a6496; border-radius: 6px; padding: 8px 14px; font-size: .82rem; font-weight: 500; margin-bottom: 2rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 64px 0 52px; }
  .section { padding: 56px 0; }
  .service-card { padding: 28px 22px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .step::before, .step::after { display: none; }
  .domain-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-wt { width: 100%; justify-content: center; }
}
