/* ============================================================
   QAZI MULTIVENTURES — Design System
   Palette:  white/light-blue base + brand blue, with a teal and
             coral accent tied directly to the "Be. Learn. Grow."
             philosophy (blue = Be, teal = Learn, coral = Grow).
   Type:     Plus Jakarta Sans (display) / Inter (body)
   Motion:   minimal — reveal-on-scroll + small hover shifts only
   ============================================================ */

:root {
  /* neutrals */
  --bg: #fbfcfe;
  --bg-alt: #f3f6fb;
  --bg-deep: #eef2f9;
  --surface: #ffffff;
  --border: #e3e8f0;
  --border-soft: #edf1f7;

  --ink: #1c2531;
  --text: #37424f;
  --text-muted: #64748b;
  --text-faint: #98a2b3;

  /* brand triad */
  --blue: #2f6fed;
  --blue-deep: #1e4fbe;
  --blue-glow: rgba(47, 111, 237, 0.12);
  --blue-glow-soft: rgba(47, 111, 237, 0.06);

  --teal: #0d9488;
  --teal-deep: #0b7a70;
  --teal-glow: rgba(13, 148, 136, 0.12);

  --coral: #ef6351;
  --coral-deep: #d84c39;
  --coral-glow: rgba(239, 99, 81, 0.12);

  /* radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* type */
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --shadow-sm: 0 6px 18px -10px rgba(28, 37, 49, 0.16);
  --shadow-md: 0 16px 32px -16px rgba(28, 37, 49, 0.18);
  --shadow-lg: 0 24px 48px -20px rgba(28, 37, 49, 0.22);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, var(--blue-glow-soft), transparent 45%),
    radial-gradient(circle at 100% 20%, rgba(13, 148, 136, 0.05), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(239, 99, 81, 0.04), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.wrap-narrow {
  max-width: 780px;
}

.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-deep {
  background: var(--bg-deep);
}

.section-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag.center {
  justify-content: center;
}
.section-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 38px);
}
.section-title.center {
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 16.5px;
}
.section-sub.center {
  text-align: center;
}
.section-head {
  margin-bottom: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============ TRIAD MARK (signature element) ============ */
.triad-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.triad-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-style: normal;
}
.triad-dots i:nth-child(1) { background: var(--blue); }
.triad-dots i:nth-child(2) { background: var(--teal); }
.triad-dots i:nth-child(3) { background: var(--coral); }

.triad-rule {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue) 0 33%, var(--teal) 33% 66%, var(--coral) 66% 100%);
  margin: 0 0 20px;
}
.triad-rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 24px -6px var(--blue-glow);
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--coral);
  color: #ffffff;
}
.btn-coral:hover {
  background: var(--coral-deep);
  box-shadow: 0 10px 24px -6px var(--coral-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--blue);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ============ BADGES / PILLS ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue-deep);
  background: var(--blue-glow);
  border: 1px solid rgba(47, 111, 237, 0.22);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.pill-blue { color: var(--blue-deep); background: var(--blue-glow); }
.pill-teal { color: var(--teal-deep); background: var(--teal-glow); }
.pill-coral { color: var(--coral-deep); background: var(--coral-glow); }
.pill-muted { color: var(--text-muted); background: var(--bg-deep); border: 1px solid var(--border); }

.badge-wip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: var(--coral-glow);
  border: 1px solid rgba(239, 99, 81, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-wip .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-coral 2s infinite;
}
@keyframes pulse-coral {
  0% { box-shadow: 0 0 0 0 rgba(239, 99, 81, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(239, 99, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 99, 81, 0); }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(28,37,49,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-mark .triad-dots {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 3px;
  box-shadow: 0 2px 6px rgba(28,37,49,0.18);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.2;
}
.brand-name em {
  color: var(--blue);
  font-style: normal;
}
.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav a:hover {
  color: var(--blue);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}
.main-nav a.active {
  color: var(--ink);
  font-weight: 600;
}
.main-nav a.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.header-actions {
  display: flex;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO (home) ============ */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
}
.hero-lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
  margin: 20px 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-philosophy {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,37,49,0) 55%, rgba(20,28,40,0.55) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
  opacity: 0.55;
}
.hero-blob-1 {
  width: 220px;
  height: 220px;
  background: var(--teal);
  top: -40px;
  right: -30px;
  opacity: 0.18;
}
.hero-blob-2 {
  width: 180px;
  height: 180px;
  background: var(--coral);
  bottom: -30px;
  left: -30px;
  opacity: 0.16;
}
.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
}
.hero-float-card .icon-chip {
  flex: none;
}
.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.hero-float-card span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============ INNER PAGE BANNER ============ */
.page-banner {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-banner-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.page-banner h1 {
  font-size: clamp(32px, 4vw, 46px);
}
.page-banner-lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 18px 0 0;
}
.page-banner-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.page-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner.no-photo .page-banner-inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.page-banner.no-photo {
  text-align: center;
}
.page-banner.no-photo .page-banner-lead {
  margin-left: auto;
  margin-right: auto;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--blue); }

/* ============ ICON CHIPS ============ */
.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-chip svg {
  width: 24px;
  height: 24px;
}
.icon-chip-blue { background: var(--blue-glow); color: var(--blue); }
.icon-chip-teal { background: var(--teal-glow); color: var(--teal); }
.icon-chip-coral { background: var(--coral-glow); color: var(--coral); }
.icon-chip-sm { width: 38px; height: 38px; border-radius: 11px; }
.icon-chip-sm svg { width: 19px; height: 19px; }
.icon-chip-lg { width: 60px; height: 60px; border-radius: 16px; }
.icon-chip-lg svg { width: 28px; height: 28px; }

/* ============ CARDS ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* Philosophy (Be / Learn / Grow) cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.philosophy-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.philosophy-card.learn { border-top-color: var(--teal); }
.philosophy-card.grow { border-top-color: var(--coral); }
.philosophy-word {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}
.philosophy-card.be .philosophy-word { color: var(--blue); }
.philosophy-card.learn .philosophy-word { color: var(--teal); }
.philosophy-card.grow .philosophy-word { color: var(--coral); }
.philosophy-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Ecosystem preview cards */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.eco-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.eco-card h3 {
  font-size: 18px;
  margin-bottom: 2px;
}
.eco-card .eco-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.eco-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
  flex: 1;
}
.eco-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* Ecosystem detail sections (on ecosystem.html) */
.eco-detail {
  padding: 72px 0;
  scroll-margin-top: 96px;
}
.eco-detail:nth-child(even) {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.eco-detail-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}
.eco-detail.reverse .eco-detail-inner {
  direction: rtl;
}
.eco-detail.reverse .eco-detail-inner > * {
  direction: ltr;
}
.eco-detail-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-md);
}
.eco-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eco-offer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 26px;
}
.eco-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.eco-offer-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}
.eco-highlight {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.eco-highlight strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}
.eco-highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Trust / feature cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.founder-frame {
  position: relative;
  aspect-ratio: 1/1.05;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blue-glow) 0%, var(--teal-glow) 55%, var(--coral-glow) 100%);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-frame .founder-monogram {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--blue-deep);
  opacity: 0.85;
}
.founder-frame .founder-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.founder-frame .founder-caption svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--blue);
}
.founder-name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}
.founder-title {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 18px;
}

/* ============ BLOG / INSIGHTS ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.blog-card:hover .blog-card-photo img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-faint);
}
.blog-card h3 {
  font-size: 17.5px;
  margin: 0;
  line-height: 1.35;
}
.blog-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.blog-card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.blog-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s;
}
.blog-card:hover .blog-card-link svg {
  transform: translateX(3px);
}

/* Single post */
.post-header {
  padding: 56px 0 40px;
  text-align: center;
}
.post-header .wrap { max-width: 760px; }
.post-header h1 { font-size: clamp(28px, 4vw, 40px); }
.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 18px;
  flex-wrap: wrap;
}
.post-meta .dot-sep {
  width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint);
}
.post-hero-photo {
  max-width: 980px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.post-hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/8;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.post-body h2 {
  font-size: 24px;
  margin-top: 1.6em;
}
.post-body p { margin: 0 0 1.4em; }
.post-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--teal);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.post-body ul {
  margin: 0 0 1.4em;
  padding-left: 0;
}
.post-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
}
.post-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}
.post-author {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.post-author .founder-monogram-sm {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(155deg, var(--blue-glow), var(--teal-glow));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--blue-deep);
  flex: none;
}
.post-author strong { display: block; font-family: var(--font-display); color: var(--ink); }
.post-author span { font-size: 13.5px; color: var(--text-muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.back-link:hover { color: var(--blue); }
.back-link svg { width: 16px; height: 16px; }

/* ============ QAZI METHOD — 3 step ============ */
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.method-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}
.method-step .step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
}
.method-step:nth-child(1) .step-num { color: var(--blue-deep); background: var(--blue-glow); }
.method-step:nth-child(2) .step-num { color: var(--teal-deep); background: var(--teal-glow); }
.method-step:nth-child(3) .step-num { color: var(--coral-deep); background: var(--coral-glow); }
.method-arrow {
  display: none;
}
@media (min-width: 901px) {
  .method-steps { position: relative; }
}

.method-cta-band {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--ink) 0%, #223047 55%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.method-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(13,148,136,0.35), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(239,99,81,0.28), transparent 40%);
}
.method-cta-band > * { position: relative; z-index: 1; }
.method-cta-band h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 12px;
}
.method-cta-band p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 15.5px;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--blue);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  color: var(--blue);
  font-size: 20px;
  transition: transform 0.2s;
  flex: none;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--text-muted);
  padding-bottom: 20px;
  margin: 0;
  font-size: 15px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 14.5px;
  color: var(--text-muted);
}
.contact-info-item a:hover { color: var(--blue); }

.contact-social {
  display: flex;
  gap: 10px;
}
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.18s;
}
.contact-social a:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.contact-social svg { width: 19px; height: 19px; }

.map-frame {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 16/10;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--surface);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 6px;
}
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 18px;
}
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--text-faint); }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-visible { display: block; }
.form-success .icon-chip { margin: 0 auto 18px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }
.form-card.is-submitted .form-fields { display: none; }

/* ============ CTA BAND (final section, reused across pages) ============ */
.cta-section {
  text-align: center;
}
.cta-inner {
  max-width: 660px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 40px);
}
.cta-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}
.contact-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 64px;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.18s;
}
.footer-social a:hover { color: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--blue); font-weight: 600; }

/* ============ FLOATING WHATSAPP ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  z-index: 70;
  transition: transform 0.2s;
}
.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  color: #fff;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* ============ REVEAL ANIMATION (minimal) ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ MISC ============ */
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 56px 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.stat-strip .stat-num.teal { color: var(--teal); }
.stat-strip .stat-num.coral { color: var(--coral); }
.stat-strip .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.disclosure-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}
.disclosure-note svg { width: 16px; height: 16px; flex: none; color: var(--text-faint); margin-top: 1px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-inner,
  .page-banner-inner,
  .founder-grid,
  .eco-detail-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .eco-detail.reverse .eco-detail-inner { direction: ltr; }
  .hero-visual, .page-banner-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .founder-frame { max-width: 340px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .philosophy-grid, .trust-grid, .eco-grid, .method-steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .section { padding: 64px 0; }
  .grid-3, .philosophy-grid, .trust-grid, .eco-grid, .method-steps,
  .grid-4, .stat-strip, .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-buttons { flex-direction: column; width: 100%; }
  .contact-buttons .btn { width: 100%; }
  .method-cta-band { padding: 32px 24px; }
  .form-card { padding: 26px; }
  .post-body { font-size: 16px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
