/* ===== Ankurix — Shared Styles ===== */

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

:root {
  --green-dark: #0F4D2E;
  --green-mid: #1f5c34;
  --green-soft: #4C9A5B;
  --sage: #6b8a6e;
  --sage-light: #829582;
  --mint-bg: #EEF6EC;
  --mint-badge: #DCEBDD;
  --cream: #FAFAF7;
  --ink: #1a1f1c;
  --ink-soft: #4a544c;
  --border: #dde8db;
  --gold: #C9A24B;
  --gold-soft: #f3e6c8;
  --max-width: 1180px;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-word {
  font-family: 'Poppins', sans-serif;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

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

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
}

.nav-brand svg, .nav-brand img { width: 38px; height: 38px; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--sage-light);
  letter-spacing: 0.1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--green-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-secondary:hover { background: var(--mint-bg); }

.nav-cta { display: flex; gap: 12px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--green-dark);
  cursor: pointer;
  padding: 4px;
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--cream); }

/* The illustration IS the hero, edge to edge with no gutter — its own height
   follows from its aspect ratio (nothing is cropped). Text sits on top,
   absolutely positioned into the image's own blank area at upper-left.
   Top/bottom edges are feathered so the image's own off-white background
   blends into the page instead of showing a hard seam. */
.hero-inner { position: relative; width: 100%; }
.hero-visual { width: 100%; line-height: 0; }
.hero-illustration {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
}

.hero-text {
  position: absolute; z-index: 2;
  top: 8%; left: 5%; right: 54%;
  min-width: 320px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--mint-bg);
  border: 1px solid var(--border);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-soft); }

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--gold); }

.hero p.lead {
  max-width: 500px;
  margin-bottom: 32px;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-proof .avatars { display: flex; }
.hero-proof .avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream); margin-left: -10px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; color: #fff; }
.hero-proof .avatars span:first-child { margin-left: 0; }
.hero-proof-text { font-size: 13.5px; color: var(--ink-soft); }
.hero-proof-text strong { color: var(--ink); }


/* ---- What we do (heading + cards share one full-bleed background image) ---- */
.wwd-section {
  position: relative;
  background-image:
    linear-gradient(to bottom, var(--cream) 0%, transparent 10%, transparent 88%, var(--cream) 100%),
    url('../assets/whatwedo-illustration.png');
  background-size: cover, cover;
  background-position: center, center;
  padding: 84px 0;
}

/* ---- Why Ankurix / values (same treatment) ---- */
.values-section {
  position: relative;
  background-image:
    linear-gradient(to bottom, var(--cream) 0%, transparent 10%, transparent 88%, var(--cream) 100%),
    url('../assets/values-illustration.png');
  background-size: cover, cover;
  background-position: center, center;
  padding: 84px 0;
}
/* Pinned near the left edge (not the centered .container, which left a big
   dead zone here) with room to breathe, but still clearing the icons on
   the mountain to the right. */
.values-inner { position: relative; max-width: 1800px; margin: 0 auto; padding: 0 5%; }
.values-section .section-head { text-align: left; margin: 0 0 44px; max-width: 560px; }
.values-section .values-grid { max-width: 660px; }

.digital-presence-section {
  background-image:
    linear-gradient(to bottom, var(--cream) 0%, transparent 10%, transparent 88%, var(--cream) 100%),
    url('../assets/digital-presence-illustration.png');
  background-position: center, right center;
}
.digital-presence-section .values-grid { max-width: 860px; }

.whatwebelieve-section {
  background-image:
    linear-gradient(to bottom, var(--cream) 0%, transparent 10%, transparent 88%, var(--cream) 100%),
    url('../assets/whatwebelieve-illustration.jpg');
  background-position: center, right center;
}
.whatwebelieve-section .values-grid { max-width: 780px; }
.whatwebelieve-section .section-head h2,
.whatwebelieve-section .section-head p { text-shadow: 0 1px 12px rgba(255,255,255,0.6); }

/* ---- Stats strip ---- */
.stats-strip { background: var(--green-dark); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 32px; color: #fff; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: #a8c2ab; }

/* ---- Sections ---- */
section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
}

.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---- Cards / Grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 77, 46, 0.08);
}

.card { position: relative; }
.card.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-soft, #f3e6c8) 0%, #fff 130px); }
.card-tag { position: absolute; top: -12px; right: 24px; background: var(--gold); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11px; padding: 5px 14px; border-radius: 999px; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--mint-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }

.card-list { list-style: none; }
.card-list li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.card-list li:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green-soft); flex-shrink: 0; }

.card .price-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--green-mid);
  background: var(--mint-bg);
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---- Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--mint-badge);
  min-width: 34px;
}

.value-item h3 { font-size: 17px; margin-bottom: 6px; }
.value-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ---- Process timeline ---- */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-rail:before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: var(--border); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 2px solid var(--green-dark); color: var(--green-dark); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.process-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---- Clients ---- */
.clients-section { text-align: center; }
.clients-section .section-head { margin-bottom: 34px; }
.clients-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; }
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.client-logo img { max-height: 56px; max-width: 200px; width: auto; height: auto; object-fit: contain; }

/* ---- Trust bar ---- */
.trust-bar { text-align: center; }
.trust-bar .section-head { margin-bottom: 34px; }
.trust-row { display: flex; justify-content: center; gap: 32px 40px; flex-wrap: wrap; }
.trust-chip { display: flex; align-items: center; gap: 9px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--sage); }
.trust-chip .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--mint-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  background: var(--green-dark);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
  overflow: hidden;
}

.cta-orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.08), rgba(255,255,255,0)); top: -100px; right: -60px; }
.cta-band h2, .cta-band p, .cta-band .hero-cta { position: relative; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cfe3d2; max-width: 500px; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: var(--green-dark); }
.cta-band .btn-primary:hover { background: var(--mint-bg); }
.cta-band .btn-secondary { border-color: #fff; color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ---- Footer ---- */
.site-footer {
  background: #0c3d24;
  color: #d9e6da;
  padding: 56px 0 28px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand svg, .footer-brand img { width: 30px; height: 30px; }

.site-footer p { color: #a8c2ab; font-size: 14.5px; max-width: 340px; }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #a8c2ab;
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: #7fa385;
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding: 64px 0 50px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -10%, var(--mint-bg) 0%, var(--cream) 55%);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; font-size: 16.5px; }

/* ---- Forms ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-mid);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.contact-method .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method h4 { font-family: 'Poppins', sans-serif; font-size: 15px; margin-bottom: 3px; color: var(--ink); }
.contact-method a, .contact-method span { font-size: 14.5px; color: var(--ink-soft); }
.contact-method a:hover { color: var(--green-mid); }

/* ---- Timeline (About page) ---- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-block p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16px; }

.badge-visual {
  background: transparent;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-visual svg, .badge-visual img { max-width: 300px; width: 100%; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .story-block { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 0; }
  .hero-visual { display: none; }
  .hero-text {
    position: static; padding: 0 0 32px; max-width: 100%;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .process-rail { grid-template-columns: 1fr 1fr; }
  .process-rail:before { display: none; }
}

@media (max-width: 640px) {
  .nav-tagline { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
  .grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 12px; padding: 40px 24px; }
}
