/* ==========================================================
   VISIS.net — Design Tokens
   Palette: Ink Navy / Signal Teal / Anniversary Amber
   Type: Sora (display) + Inter (body) + JetBrains Mono (data/labels)
   ========================================================== */
:root {
  --ink-900: #0A1826;
  --ink-800: #0F2338;
  --ink-700: #16324D;
  --slate-600: #46586A;
  --slate-400: #7C8D9C;
  --paper-100: #F5F7F7;
  --paper-000: #FFFFFF;
  --teal-500: #0FA3A3;
  --teal-600: #0C8484;
  --teal-100: #E3F5F4;
  --amber-500: #E8A33D;
  --amber-600: #C9861F;
  --line: #E1E7EA;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 8px 30px rgba(10, 24, 38, 0.08);
  --shadow-card: 0 4px 18px rgba(10, 24, 38, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--paper-000);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: var(--teal-600); }
a:hover { color: var(--teal-500); }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- Build banner (signature element) ---------- */
.build-banner {
  background: var(--ink-900);
  color: #9FC7C7;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(15, 163, 163, 0.25);
}
.build-banner__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.build-banner__tag { color: var(--amber-500); font-weight: 600; }
.build-banner__dot { color: rgba(159, 199, 199, 0.4); font-size: 0.6rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--paper-000);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar { padding: 14px 0; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink-900);
}
.brand-mark__accent { color: var(--teal-500); }
.brand-mark--footer { font-size: 1.6rem; color: var(--paper-000); display: inline-block; margin-bottom: 12px; }
.brand-mark--footer .brand-mark__accent { color: var(--teal-500); }

.navbar-nav .nav-link {
  color: var(--ink-800);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--teal-600);
  background: var(--teal-100);
}

.btn-cta {
  background: var(--ink-900);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-cta:hover { background: var(--teal-600); transform: translateY(-1px); }

.btn-outline-brand {
  border: 1.5px solid var(--ink-900);
  color: var(--ink-900);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  transition: all .2s;
}
.btn-outline-brand:hover { background: var(--ink-900); color: #fff; }

.btn-brand {
  background: var(--teal-500);
  color: #fff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  transition: background .2s, transform .2s;
}
.btn-brand:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(15,163,163,0.35) 1.5px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}
.hero__inner { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--amber-500);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,163,61,0.1);
  border: 1px solid rgba(232,163,61,0.3);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--teal-500); }
.hero p.lead-text {
  color: #C9D6DC;
  font-size: 1.12rem;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats-strip {
  background: var(--ink-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item { text-align: center; padding: 26px 10px; }
.stat-item__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--teal-500);
}
.stat-item__label {
  color: #9FB0BD;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--paper-100); }

.section-eyebrow {
  font-family: var(--font-mono);
  color: var(--teal-600);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 10px 0 16px; }
.section-sub { color: var(--slate-600); font-size: 1.05rem; max-width: 640px; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15,163,163,0.35);
}
.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card--flagship { border-color: rgba(232,163,61,0.45); }
.service-card--flagship .service-card__icon { background: rgba(232,163,61,0.14); color: var(--amber-600); }
.flagship-tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--amber-600);
  background: rgba(232,163,61,0.14);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.service-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.service-card p { color: var(--slate-600); font-size: 0.95rem; margin-bottom: 16px; }
.service-card__link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -35px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--paper-000);
  border: 3px solid var(--teal-500);
}
.timeline-item--milestone::before { border-color: var(--amber-500); background: var(--amber-500); }
.timeline-year {
  font-family: var(--font-mono);
  color: var(--teal-600);
  font-weight: 700;
  font-size: 1.05rem;
}
.timeline-item--milestone .timeline-year { color: var(--amber-600); }
.timeline-item h4 { font-size: 1.1rem; margin: 4px 0 8px; }
.timeline-item p { color: var(--slate-600); margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.portfolio-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.portfolio-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 2.4rem;
}
.portfolio-card__body { padding: 24px; }
.portfolio-card__cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.portfolio-card h3 { font-size: 1.12rem; margin: 8px 0; }
.portfolio-card p { color: var(--slate-600); font-size: 0.93rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
}
.testimonial-card .stars { color: var(--amber-500); margin-bottom: 14px; }
.testimonial-card p.quote { color: var(--ink-800); font-size: 1.02rem; margin-bottom: 22px; }
.testimonial-client { display: flex; align-items: center; gap: 12px; }
.testimonial-client__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
}
.testimonial-client__name { font-weight: 700; font-size: 0.95rem; color: var(--ink-900); }
.testimonial-client__role { font-size: 0.82rem; color: var(--slate-400); }

/* ---------- Process ---------- */
.process-step {
  text-align: left;
  padding: 10px;
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber-600);
  background: rgba(232,163,61,0.12);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--slate-600); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,163,163,0.25), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #C9D6DC; margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15,163,163,0.15);
}
label.form-label { font-weight: 600; font-size: 0.9rem; color: var(--ink-800); margin-bottom: 6px; }

.contact-info-card {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.contact-info-card .info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .info-row i { color: var(--teal-500); font-size: 1.2rem; margin-top: 3px; }
.contact-info-card .info-row strong { display: block; margin-bottom: 3px; }
.contact-info-card .info-row span, .contact-info-card .info-row div { color: #C9D6DC; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: #B7C4CC;
  padding: 64px 0 0;
  font-size: 0.93rem;
}
.footer-tagline { color: #9FB0BD; margin-bottom: 18px; max-width: 320px; }
.footer-heading { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; font-family: var(--font-mono); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #B7C4CC; }
.footer-links a:hover { color: var(--teal-500); }
.footer-links--contact li { display: flex; gap: 10px; align-items: flex-start; color: #B7C4CC; }
.footer-links--contact i { color: var(--teal-500); margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--teal-500); border-color: var(--teal-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem;
  color: #7C8D9C;
}
.footer-bottom__build { font-family: var(--font-mono); }

.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  background: var(--teal-500);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
  z-index: 999;
  box-shadow: var(--shadow-soft);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--teal-600); color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--ink-900);
  padding: 64px 0 54px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(15,163,163,0.3) 1.5px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 90%);
}
.page-header__inner { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.breadcrumb-mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #9FC7C7;
}
.breadcrumb-mono a { color: #9FC7C7; }
.breadcrumb-mono a:hover { color: var(--teal-500); }

/* ---------- Utilities ---------- */
.text-teal { color: var(--teal-500) !important; }
.badge-soft {
  background: var(--teal-100); color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.divider-dot { color: var(--slate-400); margin: 0 8px; }

@media (max-width: 767px) {
  .hero { padding: 70px 0 60px; }
  section { padding: 60px 0; }
  .cta-band { padding: 40px 26px; text-align: center; }
}
