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

:root {
  --bg:        #f6f8fc;
  --surface:   #ffffff;
  --tint:      #eef4ff;
  --border:    #dfe5ef;
  --navy:      #0f1b2d;
  --text:      #1a2638;
  --muted:     #55637a;
  --teal:      #00a88f;
  --blue:      #2563eb;
  --coral:     #ff6b4a;
  --grad:      linear-gradient(135deg, #00b39a 0%, #2563eb 100%);
  --display:   'Syne', sans-serif;
  --body:      'Inter', sans-serif;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(15, 27, 45, 0.08);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.nav-logo span { color: var(--coral); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--coral); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32); }

.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover { transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.82rem; }

/* SECTIONS */
section { padding: 5.5rem 5vw; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 5rem 5vw 3.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 107, 74, 0.14), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0, 168, 143, 0.14), transparent 45%),
    var(--tint);
  border-bottom: 1px solid var(--border);
}

.page-header .section-intro { margin-bottom: 0; }

/* HERO */
.hero {
  padding: 7rem 5vw 6rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 107, 74, 0.18), transparent 38%),
    radial-gradient(circle at 70% 100%, rgba(37, 99, 235, 0.16), transparent 45%),
    radial-gradient(circle at 0% 40%, rgba(0, 168, 143, 0.16), transparent 40%),
    var(--bg);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.cta-pill b {
  background: var(--coral);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 14ch;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* CREDENTIAL BAND */
.cred-band {
  background: var(--grad);
  color: #fff;
  padding: 4rem 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.cred-seal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  background: rgba(255, 255, 255, 0.12);
}

.cred-seal strong { font-size: 2.2rem; line-height: 1; }
.cred-seal small { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.3rem; }

.cred-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.cred-band p { opacity: 0.92; max-width: 62ch; }

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--teal);
}

.service-card.ai::before { background: var(--blue); }

.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 27, 45, 0.12); }

.service-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.tag-snow { background: rgba(0, 168, 143, 0.12); color: #00806d; }
.tag-ai   { background: rgba(37, 99, 235, 0.1); color: var(--blue); }

.service-card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.875rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-list li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 1.6rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(0, 168, 143, 0.14);
  color: #00806d;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card.ai .service-list li::before { background: rgba(37, 99, 235, 0.12); color: var(--blue); }

.card-link {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  text-decoration: none;
}

.card-link:hover { color: var(--coral); }

/* ABOUT */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-block {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-block.featured { background: var(--grad); border: none; color: #fff; }
.stat-block.featured .stat-number { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.stat-block.featured .stat-label { color: rgba(255, 255, 255, 0.9); }

.stat-number {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.cert-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }

.cert-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  border-radius: 999px;
}

.cert-badge.highlight { background: var(--coral); border-color: var(--coral); color: #fff; }

/* CLOSING CTA */
.closing {
  margin: 0 5vw 5.5rem;
  padding: 3.5rem;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.closing::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.45), transparent 70%);
  pointer-events: none;
}

.closing h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin-bottom: 0.4rem; }
.closing p { color: rgba(255, 255, 255, 0.8); }
.closing .btn { position: relative; z-index: 1; }

/* CONTACT */
.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: var(--body);
  font-size: 0.95rem;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field textarea { resize: vertical; min-height: 130px; }

.hidden-field { display: none; }

.contact-detail { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.1rem;
}

.contact-item-value { font-size: 0.97rem; color: var(--navy); word-break: break-word; }
.contact-item-value a { text-decoration: none; }
.contact-item-value a:hover { color: var(--blue); }

/* FOOTER */
footer {
  padding: 2.5rem 5vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p, footer a { font-size: 0.85rem; color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--blue); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cred-band { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; }
  .cred-band .btn { justify-self: start; }
}

@media (max-width: 640px) {
  nav { flex-wrap: wrap; padding: 0.9rem 16px; }
  .nav-links { order: 3; width: 100%; gap: 1.5rem; }
  section, .page-header, .hero, .cred-band { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .service-card { padding: 1.5rem; }
  .closing { margin: 0 16px 4rem; padding: 2rem; }
  footer { padding: 2rem 16px; }
}

/* REFOCUS ADDITIONS */
.service-card.consult::before { background: var(--coral); }
.service-card.impl::before { background: var(--blue); }
.tag-consult { background: rgba(255, 107, 74, 0.12); color: #d9472a; }
.tag-impl { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.service-card.consult .service-list li::before { background: rgba(255, 107, 74, 0.14); color: #d9472a; }
.service-card.impl .service-list li::before { background: rgba(37, 99, 235, 0.12); color: var(--blue); }

.cta-pill b { background: var(--coral); }
.cta-pill .pill-accent { color: var(--coral); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2.75rem;
  list-style: none;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-row li::before {
  content: '✓';
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--blue);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card h3 { font-family: var(--display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

.band-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steps h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.service-card { display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; padding-top: 1.5rem; }
