/* =========================
   CodeFlow – Clean CSS (Grey)
   ========================= */

/* ---------- Theme ---------- */
:root{
  --bg: #f3f4f6;
  --bg2:#eef0f3;
  --surface:#ffffff;
  --surface2:#f8fafc;

  --text:#0f172a;
  --muted:#475569;
  --muted2:#64748b;
  --border:#e2e8f0;

  --accent:#2563eb;
  --accent2:#1d4ed8;

  --container: 1120px;
  --content: 980px;

  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:    0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.10);

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background:
    radial-gradient(1200px 600px at 10% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(37,99,235,0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
a:hover{ color: var(--accent); }

h1,h2,h3{ line-height: 1.2; letter-spacing: -0.02em; }
h1{ font-size: clamp(2.0rem, 3.2vw, 2.8rem); }
h2{ font-size: clamp(1.35rem, 2.0vw, 1.7rem); }
h3{ font-size: 1.05rem; }

p{ color: var(--muted); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Use this for all main sections to align like your hero */
.content{
  max-width: var(--content);
  margin: 0 auto;
}

/* ---------- Header / Nav ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(243, 244, 246, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

/* If you wrapped logo+menu in .nav-left (recommended) */
.nav-left{
  display:flex;
  align-items:center;
  gap: .9rem; /* adjust to bring menu closer */
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
}

.brand-logo{
  height: 60px;      /* adjust 28–40 */
  width: auto;
  max-width: 180px;  /* prevents it from taking over */
  object-fit: contain;
  display: block;
}

.deliverables-logo{
  height: 90px;      /* adjust 28–40 */
  width: auto;
  max-width: 300px;  /* prevents it from taking over */
  object-fit: contain;
  display: block;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  background: linear-gradient(135deg, var(--accent), #0b1220);
  box-shadow: var(--shadow-sm);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-weight: 750; }
.brand-sub{ font-size: .78rem; color: var(--muted2); }


/* Menu */
.menu{
  display:flex;
  gap: 1.05rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.menu a{
  padding: .2rem .1rem;
  position: relative;
}
.menu a::after{
  content:"";
  position:absolute;
  left:0; bottom:-7px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: width .18s ease;
}
.menu a:hover::after{ width:100%; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost{
  background: rgba(255,255,255,0.75);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37,99,235,0.25);
}

/* Mobile nav button + dropdown (if you use them) */
.icon-btn{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  border-radius: 12px;
  padding:.55rem .65rem;
  cursor:pointer;
}
.hamburger{
  display:block; width:18px; height:2px; background: var(--text); position:relative;
}
.hamburger::before,.hamburger::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background: var(--text);
}
.hamburger::before{ top:-6px; }
.hamburger::after{ top:6px; }

.mobile-menu{ display:none; border-top:1px solid rgba(226,232,240,.9); padding: .9rem 1.25rem 1rem; }
.mobile-menu.show{ display:block; }
.mobile-menu a{ display:block; padding:.6rem 0; color: var(--muted); }
.mobile-menu-actions{ display:flex; gap:.65rem; margin-top:.6rem; flex-wrap:wrap; }

/* ---------- Sections ---------- */
.section{ padding: 3rem 0 0; }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.kicker{
  display:inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: .35rem;
}

.section-sub{ color: var(--muted); max-width: 58ch; }

/* ---------- Hero (Centered) ---------- */
.hero{ padding: 3.2rem 0 0; }

.hero-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  max-width: var(--content);
  margin: 0 auto;
  padding-top: 0.5rem;
}

.hero-center .hero-lead{
  margin: 0 auto 1.5rem;
  max-width: 68ch;
  font-size: 1.02rem;
}

.hero-actions{
  display:flex;
  gap: .75rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom: 1.25rem;
}
.hero-center h1{
  line-height: 1.08;
  margin-top: .35rem;
  margin-bottom: .75rem;
}

.hero-center .hero-lead{
  line-height: 1.7;
  margin-top: .25rem;
  margin-bottom: 1.4rem;
}

/* Highlights under hero (3 small containers) */
.highlights{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  width:100%;
  margin-top: 1.1rem;
}

.highlight{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .9rem .95rem;
  box-shadow: var(--shadow-sm);
  display:flex;
  gap:.75rem;
  align-items:flex-start;
}

.highlight-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.highlight-title{ font-weight: 750; color: var(--text); line-height:1.2; margin-bottom:.15rem; text-align: left; }
.highlight-sub{ color: var(--muted); font-size: .95rem; text-align: left; }

/* ---------- Cards / Grids ---------- */
.card, .proof-card{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card{
  padding: 1rem;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,0.18);
}
.card-icon{
  opacity: .95;
}

.grid-4{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ---------- Banner (Architecture review) ---------- */
.banner{
  margin: 1.25rem auto 0;
  max-width: var(--content);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
  gap: 14px;

  padding: 1.15rem 1rem;
}

.banner-title{ font-weight: 800; color: var(--text); }
.banner-sub{ color: var(--muted); }

/* ---------- How we work (Circles) ---------- */
.steps-circles{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;

  max-width: var(--content);
  margin-left:auto;
  margin-right:auto;

  justify-items:center;
  position: relative;
}

.step-circle{
  text-align:center;
  padding: 1rem .75rem;
  max-width: 320px;
}

.step-icon{
  width: 76px;
  height: 76px;
  margin: 0 auto .75rem;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 1.55rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.highlight-icon img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* connector line */
@media (min-width: 900px){
  .steps-circles::before{
    content:"";
    position:absolute;
    left: 12%;
    right: 12%;
    top: 46px;
    height: 1px;
    background: rgba(226,232,240,0.95);
    z-index: 0;
  }
}

/* ---------- Proof ---------- */
.proof-card{ padding: 1rem; }
.checklist{ list-style:none; padding:0; margin-top:.8rem; display:grid; gap:.55rem; }
.checklist li{ display:flex; gap:.55rem; align-items:flex-start; color: var(--muted); }

/* Quote card pieces (if you use them) */
.quote-mark{ font-size: 2rem; color: rgba(100,116,139,.7); }
.quote-by{ display:flex; gap:.65rem; align-items:center; margin-top:1rem; }
.avatar{
  width: 40px; height: 40px; border-radius: 999px;
  display:grid; place-items:center;
  font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), #0b1220);
}

/* ---------- CONTACT (single source of truth) ---------- */
#contact .contact-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

#contact .contact-card{
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
  min-width: 0;
}

#contact .contact-icon{
  width: 56px;
  height: 56px;
  margin: 0 0 .75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(37,99,235,0.25);
  border: 4px solid rgba(243,244,246,1);
}

#contact .contact-link{
  color: var(--accent);
  font-weight: 750;
}
#contact .contact-link:hover{ text-decoration: underline; }

#contact .contact-note{
  margin-top: .65rem;
  font-size: .9rem;
  color: var(--muted2);
}

#contact .contact-btn{ margin-top: .4rem; }

/* 3 → 2 → 1 responsiveness */
@media (max-width: 1024px){
  #contact .contact-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px){
  #contact .contact-grid{
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.footer{
  margin-top: 3rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  padding: 1.35rem 0 1.6rem;
  color: var(--muted2);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 1rem;
  flex-wrap:wrap;
}

.footer-links{ display:flex; gap:1rem; }
.footer-links a{ color: var(--muted2); }
.footer-links a:hover{ color: var(--accent); }

/* ---------- Responsive (rest) ---------- */
@media (max-width: 1024px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
  .highlights{ grid-template-columns: 1fr; }
  .steps-circles{
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .step-circle{
    text-align:left;
    display:grid;
    grid-template-columns: 88px 1fr;
    gap: .9rem;
    max-width: none;
  }
  .step-icon{ margin: 0; }
}

@media (max-width: 820px){
  .menu{ display:none; }
  .nav-cta{ display:none; }
  .icon-btn{ display:inline-flex; }

  .section-head{ flex-direction: column; align-items:flex-start; }
  .hero-center{ text-align:left; align-items:flex-start; }
  .hero-actions{ justify-content:flex-start; }
}

@media (max-width: 480px){
  .btn{ width: 100%; }
  .hero-actions{ width:100%; }
  .hero-actions .btn{ justify-content:center; }

  .grid-4{ grid-template-columns: 1fr; }
}
/* Center all section headers */
.section-head{
  justify-content: center;
  text-align: center;
}

.section-head > div{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-sub{
  margin: 0 auto;
}

@media (max-width: 1024px){
  .highlights{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .highlights{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px){
  .step-circle{
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow-sm);
  }
}
/* Mobile steps: icon left, title+text right (no awkward gaps) */
@media (max-width: 900px){
  .steps-circles{
    gap: 1rem;
  }

  .step-circle{
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: .25rem;

    align-items: start;
    text-align: left;

    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
  }

  .step-icon{
    grid-column: 1;
    grid-row: 1 / span 2;     /* icon spans title + paragraph */
    width: 64px;
    height: 64px;
    margin: 0;                /* remove auto-centering from desktop */
  }

  .step-circle h3{
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .step-circle p{
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    max-width: none;
  }
}
@media (max-width: 900px){
  .step-circle{
    position: relative;
  }
  .step-circle::before{
    content:"";
    position:absolute;
    left: 42px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(226,232,240,0.9);
  }
  .step-icon{ position: relative; z-index: 1; }
}

/* Proof section polish */
.proof-grid{ margin-top: 1rem; }

.proof-card{
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.proof-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.18);
}

.proof-list{
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: grid;
  gap: .65rem;
}

.proof-bullet{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:inline-grid;
  place-items:center;
  margin-right: .55rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: .85rem;
  flex: 0 0 auto;
}

.proof-list li{
  display:flex;
  align-items:flex-start;
  color: var(--muted);
}

/* Quote card */
.proof-quote{
  position: relative;
  overflow: hidden;
}

.quote-mark{
  position:absolute;
  top: 10px;
  left: 14px;
  font-size: 56px;
  line-height: 1;
  color: rgba(37,99,235,0.12);
  font-weight: 900;
}

.proof-quote p{
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--text);
}

.quote-by{
  margin-top: 1.1rem;
  display:flex;
  align-items:center;
  gap: .75rem;
}

.avatar{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0b1220);
}

.by-name{ font-weight: 800; }
.by-role{ font-size: .88rem; color: var(--muted2); }

/* Responsive: stack nicely */
@media (max-width: 900px){
  .proof-quote p{ font-size: 1rem; }
}
