/* ===============================
   STRATIFY — MINIMAL CREATIVE CSS
   Clay-inspired • Tech / AI
   =============================== */

/* -------- CSS RESET -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0e0e11;
  background: #ffffff;
  line-height: 1.6;
}

/* -------- VARIABLES -------- */
:root {
  --brand-blue: #100070;     /* exact brand blue */
  --brand-accent: #679bff;
  --text-main: #0e0e11;
  --text-muted: #6b6b75;
  --border-light: rgba(0,0,0,.08);
  --bg-soft: #f7f7fb;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1180px;
}

/* -------- UTILITIES -------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section.muted {
  background: var(--bg-soft);
}

img {
  max-width: 100%;
  display: block;
}

/* -------- NAVBAR -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #100070; /* brand blue */
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 34px;
}
.logo {
  filter: brightness(0) invert(1);
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  opacity: .75;
  transition: opacity .2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}
.nav-links a {
  color: #ffffff;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
}

/* -------- HERO -------- */
.hero {
  padding: 140px 0 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 20px;
}

.hero-lead {
  max-width: 520px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.hero-visual:hover img {
  transform: scale(1.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff; /* since navbar is blue */
  letter-spacing: 0.2px;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
}

.btn.primary {
  background: var(--brand-blue);
  color: white;
}

.btn.primary:hover {
  background: #0c005a;
}

.btn.ghost {
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: var(--brand-blue);
}

.btn.large {
  padding: 16px 26px;
}

.form-heading {
  max-width: 520px;
  margin: 0 auto 64px; 
  text-align: center;
}

#contact {
  scroll-margin-top: 90px;
}


/* -------- SECTION HEAD -------- */
.section-head {
  max-width: 520px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: 36px;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
}

/* -------- SERVICES -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}


.service-card {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: transform .3s ease, border-color .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* -------- WORK -------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.work-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform .6s ease;
}

.work-card:hover img {
  transform: scale(1.08);
}

.work-meta {
  padding: 18px 0;
}

.work-meta h4 {
  margin: 0;
  font-size: 16px;
}

.work-meta span {
  font-size: 13px;
  color: var(--text-muted);
}

/* -------- PROCESS -------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.process-step span {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
}

.process-step h3 {
  margin: 10px 0;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
}

/* -------- CLIENTS -------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: center;
}

.client-logo {
  height: 48px;
  opacity: .6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: opacity .25s ease;
}

.client-logo:hover {
  opacity: 1;
}

/* -------- CTA -------- */
.cta {
  padding: 140px 0;
  background: linear-gradient(
    180deg,
    #ffffff,
    #f2f3ff
  );
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* -------- FOOTER -------- */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .section {
    padding: 80px 0;
  }
}

.cta-form {
  margin-top: 40px;
  max-width: 560px;
  margin-inline: auto;
}

.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #100070;
}

.cta-form button {
  margin-top: 12px;
}

.form-success {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #4b4b6a;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Nav Scroll ---- */
.nav.nav-scrolled {
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.muted-text {
  font-weight: 400;
  color: #6b6b75;
}

.clients-more {
  margin: 32px auto 0;
  text-align: center;
  width: 100%;
  font-size: 15px;
  color: #6b6b75;
  font-weight: 500;
}
