/* ============================================================
   THECSR INVESTORS - Main CSS
   Cream/Navy/Gold theme with Playfair Display headings
   ============================================================ */

:root {
  --bg: #f5f2ec;
  --bg2: #ede9e0;
  --bg3: #ffffff;
  --navy: #1b2b4b;
  --navy2: #243660;
  --gold: #b8842a;
  --gold2: #d4a04a;
  --gold3: #f0e6cc;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --light: #9a9a9a;
  --border: #ddd8cc;
  --border2: #c8c0aa;
  --shadow: 0 4px 20px rgba(27,43,75,0.08);
  --shadow2: 0 8px 40px rgba(27,43,75,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h4, h5, h6 { font-family: 'Inter', sans-serif; }

code, pre { font-family: 'DM Mono', monospace; }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold2); }

img { max-width: 100%; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  padding: .25rem .75rem;
  background: var(--gold3);
  border-radius: 20px;
  border: 1px solid var(--border2);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy2); border-color: var(--navy2); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

.btn-gold-sm {
  background: var(--gold3);
  color: var(--navy);
  border-color: var(--border2);
  padding: .5rem 1.25rem;
  font-size: .875rem;
}
.btn-gold-sm:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  border-color: #25d366;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: .95rem;
}
.btn-whatsapp:hover { background: #1ebe57; }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245,242,236,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.nav-scrolled {
  background: rgba(245,242,236,0.99);
  box-shadow: 0 4px 24px rgba(27,43,75,.08);
  border-bottom-color: var(--border2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-wrap { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.nav-logo { height: 58px; width: auto; object-fit: contain; display: block; }
.logo-fallback { display: none; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: .05em; }
.logo-sub  { font-size: .6rem; font-weight: 600; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .9rem;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--navy); background: var(--bg2); }

.dropdown-arrow { font-size: .65rem; transition: transform .25s; opacity: .6; }

.nav-links a.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: .5rem 1.25rem;
  margin-left: .25rem;
}
.nav-links a.nav-cta:hover { background: var(--navy2); color: #fff !important; }

/* ── Dropdown ─────────────────────────────────────────────── */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1px solid rgba(27,43,75,.1);
  border-radius: 12px;
  min-width: 220px;
  padding: 10px .5rem .5rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  box-shadow: 0 8px 30px rgba(27,43,75,.12), 0 2px 8px rgba(27,43,75,.06);
  z-index: 500;
}

/* Invisible bridge fills the gap so mouse moving to dropdown doesn't dismiss it */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 14px;
  background: transparent;
  z-index: 499;
}

.has-dropdown > a { padding-bottom: .65rem; }

.dd-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: background .18s;
}
.dd-item:hover { background: var(--bg2); color: var(--navy); }

.dd-icon-wrap {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-icon-wrap svg { width: 16px; height: 16px; color: var(--navy); }

.dd-text { display: flex; flex-direction: column; gap: .1rem; }
.dd-title { font-size: .85rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.dd-sub   { font-size: .75rem; color: var(--text-light); line-height: 1.3; }
.dd-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 20px;
  background: var(--gold);
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .2rem;
  width: fit-content;
}
.dropdown-divider { height: 1px; background: var(--border); margin: .25rem .75rem; }

/* ── Hamburger button ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: .5rem .6rem;
  transition: background .2s;
}
.nav-hamburger:hover { background: var(--bg2); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Social icons ─────────────────────────────────────────── */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }
.social-icon:hover { transform: translateY(-2px); }
.si-gh:hover { background: #24292e; color: #fff; border-color: #24292e; }
.si-li:hover { background: #0077b5; color: #fff; border-color: #0077b5; }
.si-ig:hover { background: radial-gradient(circle at 30% 110%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%); color: #fff; border-color: transparent; }
.si-tw:hover { background: #000; color: #fff; border-color: #000; }
.si-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.si-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }

/* ── Mobile nav slide-in ──────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; pointer-events: auto; }
.mobile-nav-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg3);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 32px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); pointer-events: auto; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .5rem;
}
.mobile-nav-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  transition: background .2s;
}
.mobile-nav-close:hover { background: var(--bg2); }
.mobile-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: .75rem 0 .2rem;
}
.mobile-nav-inner a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .5rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.mobile-nav-inner a:hover { background: var(--bg2); color: var(--navy); }
.mobile-sub {
  padding-left: .5rem;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
  margin: .15rem 0 .15rem 1rem;
}
.mobile-sub a { font-size: .85rem; padding: .45rem .5rem; }
.mobile-nav-cta {
  margin-top: auto;
  padding-top: 1.25rem;
}
.mobile-nav-cta a {
  display: block;
  background: var(--navy);
  color: #fff !important;
  text-align: center;
  padding: .75rem 1rem !important;
  border-radius: 10px;
  font-weight: 600;
}
.mobile-nav-cta a:hover { background: var(--navy2) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(184,132,42,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27,43,75,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-content { padding-right: 2rem; }

.hero-label {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: .3rem .75rem;
  background: var(--gold3);
  border-radius: 20px;
  border: 1px solid var(--border2);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

/* Code Card */
.hero-visual { display: flex; justify-content: center; }

.code-card {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow2);
  width: 100%;
  max-width: 480px;
}

.code-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.code-filename { font-family: 'DM Mono', monospace; font-size: .75rem; color: rgba(255,255,255,0.5); margin-left: .5rem; }

.code-body {
  padding: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: .85rem;
  line-height: 1.8;
  white-space: pre;
  overflow-x: auto;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #c586c0; }
.code-class { color: #4ec9b0; }
.code-fn { color: #dcdcaa; }
.code-var { color: #9cdcfe; }
.code-str { color: #ce9178; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--bg3); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border2);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.service-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }

.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.service-tags span {
  font-size: .75rem;
  padding: .2rem .6rem;
  background: var(--bg2);
  border-radius: 20px;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-section { background: var(--bg2); }

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.skills-left p { color: var(--muted); margin-bottom: 1.5rem; }

.skills-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .8rem;
  padding: .3rem .8rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
}

.skill-bar-item { margin-bottom: 1.5rem; }
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .9rem; font-weight: 500; color: var(--navy); }
.skill-pct { color: var(--gold); }

.skill-bar-track {
  height: 8px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--navy2));
  border-radius: 20px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { background: var(--bg); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.portfolio-card-top {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.portfolio-num {
  font-family: 'DM Mono', monospace;
  font-size: .75rem;
  color: var(--light);
}

.portfolio-category {
  font-size: .75rem;
  padding: .2rem .6rem;
  background: var(--gold3);
  color: var(--gold);
  border-radius: 20px;
  border: 1px solid var(--border2);
}

.portfolio-status {
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 20px;
  margin-left: auto;
}
.status-completed { background: #e8f5e9; color: #2e7d32; }
.status-ongoing { background: #e3f2fd; color: #1565c0; }
.status-planned { background: #fff3e0; color: #e65100; }

.portfolio-title { font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.portfolio-desc { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.ptag { font-size: .7rem; padding: .15rem .5rem; background: var(--bg2); border-radius: 20px; color: var(--muted); border: 1px solid var(--border); }
.portfolio-link { font-size: .875rem; font-weight: 500; color: var(--gold); }
.portfolio-link:hover { color: var(--gold2); }

/* ============================================================
   PRODUCTS DARK SECTION
   ============================================================ */
.products-dark-section { background: var(--navy); }
.products-dark-section .section-title { color: #fff; }
.products-dark-section .section-desc { color: #94a3b8; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.product-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }

.product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-card h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.product-card p { font-size: .875rem; color: #94a3b8; margin-bottom: 1.25rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stars { margin-bottom: 1rem; }
.star { color: var(--gold); font-size: 1rem; }

.testimonial-text {
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.author-role { font-size: .8rem; color: var(--muted); }

/* ============================================================
   TESTIMONIALS — MULTI-STYLE
   ============================================================ */

/* --- Shared card (used by all styles) --- */
.testi-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.testi-item:hover { border-color: var(--border2); box-shadow: 0 4px 20px rgba(27,43,75,.06); }
.testi-quote { font-size: 2rem; color: var(--gold3); font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: .5rem; }
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; margin-bottom: .85rem; }
.testi-text { color: var(--muted); font-size: .92rem; line-height: 1.8; font-style: italic; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold3); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); font-size: .9rem; flex-shrink: 0; }
.t-name { font-weight: 600; font-size: .88rem; color: var(--navy); }
.t-role { font-size: .73rem; color: var(--light); }

/* --- CARDS grid --- */
.testi-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* --- MASONRY --- */
.testi-masonry { columns: 3; column-gap: 1.5rem; }
.testi-masonry .testi-item { break-inside: avoid; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .testi-masonry { columns: 1; } }

/* --- LIST --- */
.testi-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 800px; margin: 0 auto; }
.testi-list .testi-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.testi-avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--gold3); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }

/* --- SLIDER wrapper --- */
.testi-slider-wrap { position: relative; overflow: hidden; }
.testi-slider-track { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-slide { flex-shrink: 0; padding: 0 .75rem; box-sizing: border-box; }
.slider-single .testi-slide { width: 100%; }
.slider-double .testi-slide { width: 50%; }
.slider-triple .testi-slide { width: 33.333%; }
@media (max-width: 768px) {
  .slider-double .testi-slide,
  .slider-triple .testi-slide { width: 100%; }
}

/* --- Slider controls --- */
.testi-slider-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.tsc-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border2); background: var(--bg3); color: var(--navy); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; }
.tsc-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tsc-dots { display: flex; gap: .5rem; align-items: center; }
.tsc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border2); cursor: pointer; transition: .2s; }
.tsc-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg3); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p { color: var(--muted); margin-bottom: 2rem; }

.contact-details { margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.contact-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-item span { font-size: .9rem; }

/* Forms */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg3);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,43,75,0.08);
}

.form-group textarea { resize: vertical; }

.form-msg {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  display: none;
}
.form-msg.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-msg.error { background: #fce4ec; color: #c62828; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); }

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,0.5); max-width: 300px; }

.footer-links h4, .footer-contact h4 { font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold2); }
.footer-contact p { font-size: .875rem; margin-bottom: .4rem; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,0.4);
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT PAGES
   ============================================================ */
.product-hero { padding: 7rem 0 4rem; }
.product-hero-dark { background: var(--navy); padding-top: 8rem; }
.product-hero-light { background: var(--bg); padding-top: 8rem; }

.product-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-badge-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.product-badge-type {
  font-size: .75rem;
  padding: .3rem .75rem;
  background: var(--gold3);
  color: var(--gold);
  border-radius: 20px;
  border: 1px solid var(--border2);
  font-weight: 500;
}
.product-badge-live {
  font-size: .75rem;
  padding: .3rem .75rem;
  background: rgba(40,200,80,0.15);
  color: #28c840;
  border-radius: 20px;
  font-weight: 500;
}
.product-badge-wp {
  font-size: .75rem;
  padding: .3rem .75rem;
  background: rgba(33,117,155,0.15);
  color: #21759b;
  border-radius: 20px;
  font-weight: 500;
}
.product-badge-woo {
  font-size: .75rem;
  padding: .3rem .75rem;
  background: rgba(150,88,138,0.15);
  color: #96588a;
  border-radius: 20px;
  font-weight: 500;
}

.product-hero-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.product-hero-dark .product-hero-title { color: #fff; }
.product-hero-dark .product-hero-desc { color: #94a3b8; }

.product-tech-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.product-tech-pills span {
  font-family: 'DM Mono', monospace;
  font-size: .75rem;
  padding: .25rem .7rem;
  background: rgba(255,255,255,0.1);
  color: #94a3b8;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.product-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Demo Phone */
.demo-phone {
  background: var(--navy2);
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: .75rem;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: var(--shadow2);
}
.demo-phone-screen {
  background: var(--bg);
  border-radius: 16px;
  padding: 1.25rem;
}
.demo-status-bar { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-bottom: 1rem; font-family: 'DM Mono', monospace; }
.demo-qr-icon { text-align: center; margin-bottom: .75rem; color: var(--navy); }
.demo-order-id { text-align: center; font-family: 'DM Mono', monospace; font-size: .75rem; color: var(--gold); margin-bottom: 1rem; }
.demo-steps { display: flex; flex-direction: column; gap: .6rem; }
.demo-step { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--light); }
.demo-step.done { color: var(--text); }
.demo-step.active { color: var(--navy); font-weight: 600; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.demo-step.done .step-dot { background: #28c840; }
.demo-step.active .step-dot { background: var(--gold); }
.pulse { animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

/* Stats Bar */
.stats-bar { background: var(--bg2); border-bottom: 1px solid var(--border); }
.stats-bar-grid { max-width: 1200px; margin: 0 auto; padding: 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats-bar-item { text-align: center; display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; color: var(--muted); }
.stats-num { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--navy); font-weight: 700; line-height: 1; }

/* Features Highlight Grid */
.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-highlight-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.feature-highlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fh-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-highlight-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.feature-highlight-card p { font-size: .875rem; color: var(--muted); }

/* Steps Timeline */
.how-it-works-section { background: var(--bg2); }
.steps-timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }
.step-item { display: flex; gap: 2rem; padding: 2rem 0; border-left: 2px solid var(--border); margin-left: 1.5rem; position: relative; }
.step-item:last-child { border-left-color: transparent; }
.step-num {
  position: absolute;
  left: -1.5rem;
  top: 1.75rem;
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content { padding-left: 2rem; }
.step-content h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.step-content p { font-size: .875rem; color: var(--muted); }

/* Features Two Col */
.features-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.features-col-title { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold3); }
.features-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.features-list li { font-size: .9rem; color: var(--text); padding-left: .25rem; }

/* Features Grid 3 */
.features-grid-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-card-sm { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; transition: var(--transition); }
.feature-card-sm:hover { box-shadow: var(--shadow); }
.fc-icon { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.feature-card-sm h4 { font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.feature-card-sm p { font-size: .8rem; color: var(--muted); }

/* Plugin Meta */
.plugin-meta-box {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  margin: 1.25rem 0;
}
.plugin-meta-item { display: flex; flex-direction: column; gap: .2rem; }
.meta-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.meta-val { font-size: .875rem; font-weight: 600; color: var(--navy); }

/* Plugin Preview Card */
.plugin-preview-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.plugin-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.wp-logo-sm {
  width: 36px; height: 36px;
  background: #21759b;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .75rem;
  flex-shrink: 0;
}
.plugin-card-name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.plugin-card-ver { font-size: .75rem; color: var(--muted); }
.plugin-card-status {
  margin-left: auto;
  font-size: .7rem;
  padding: .2rem .6rem;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 20px;
}
.plugin-card-body { padding: 1.25rem; }
.plugin-stat-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.plugin-stat-row:last-child { border-bottom: none; }
.plugin-stat-row span { color: var(--muted); }
.plugin-stat-row strong { color: var(--navy); }

/* Shortcodes */
.shortcodes-section { background: var(--gold3); }
.shortcodes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.shortcode-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.shortcode-card h4 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.code-block { background: var(--navy); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: .75rem; }
.code-block code { font-family: 'DM Mono', monospace; font-size: .85rem; color: #9cdcfe; }
.shortcode-card p { font-size: .875rem; color: var(--muted); }

/* Install Steps */
.install-steps { display: flex; flex-direction: column; gap: 1.5rem; max-width: 700px; margin: 0 auto; }
.install-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.install-step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}
.install-step-content h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.install-step-content p { font-size: .875rem; color: var(--muted); }
.install-step-content code { font-family: 'DM Mono', monospace; background: var(--bg2); padding: .1rem .4rem; border-radius: 4px; font-size: .8rem; color: var(--navy); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-featured { border-color: var(--navy); box-shadow: var(--shadow2); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: .75rem;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-weight: 600;
}
.pricing-tier { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; }
.pricing-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); font-weight: 700; margin-bottom: .25rem; }
.pricing-sub { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-features li { font-size: .875rem; color: var(--text); }

/* Demo box */
.demo-section { background: var(--bg2); }
.demo-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.demo-box-content h2 { color: #fff; margin-bottom: .75rem; }
.demo-box-content p { color: #94a3b8; font-size: .95rem; }
.demo-box-content .section-label { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--gold2); }
.demo-form input, .demo-form textarea { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: rgba(255,255,255,0.4); }

/* CTA Section */
.cta-section { background: var(--navy2); padding: 5rem 0; }
.cta-content { text-align: center; }
.cta-content h2 { color: #fff; margin-bottom: .75rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-content p { color: #94a3b8; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* About Page */
.about-hero { background: var(--bg); padding: 7rem 0 5rem; }
.about-hero-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }

.about-profile-card { text-align: center; }
.profile-avatar-wrap { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.profile-avatar {
  width: 140px;
  height: 140px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold2);
  position: relative;
  box-shadow: var(--shadow2);
}
.avatar-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
}
.avatar-corner-tl { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.avatar-corner-br { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

.profile-role-badge {
  display: inline-block;
  font-size: .75rem;
  padding: .3rem .75rem;
  background: var(--gold3);
  color: var(--gold);
  border-radius: 20px;
  margin-bottom: .75rem;
  font-weight: 500;
}
.profile-name { font-size: 1.75rem; color: var(--navy); margin-bottom: .5rem; }
.profile-tagline { font-size: .9rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; line-height: 1.5; }

.profile-social { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.social-link {
  padding: .4rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: var(--text);
  font-weight: 500;
}
.social-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.about-intro { color: var(--text); margin-bottom: 1rem; }
.about-intro strong { color: var(--navy); }

.about-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.about-stat { display: flex; flex-direction: column; }
.about-stat-num { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--navy); line-height: 1; }
.about-stat span:last-child { font-size: .8rem; color: var(--muted); }

/* Timeline */
.experience-section { background: var(--bg2); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border2);
}
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2rem 0 2rem 3rem; position: relative; }
.timeline-dot {
  position: absolute;
  left: 93px;
  top: 2.25rem;
  width: 12px;
  height: 12px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--bg2);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-date { font-family: 'DM Mono', monospace; font-size: .75rem; color: var(--gold); font-weight: 500; padding-top: .25rem; }
.timeline-content h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.timeline-company { font-size: .8rem; color: var(--gold); margin-bottom: .6rem; font-weight: 500; }
.timeline-content p { font-size: .875rem; color: var(--muted); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .features-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body { padding-top: 68px; }
  .nav-logo { height: 46px; }
  .nav-inner { height: 68px; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }

  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-content { padding-right: 0; }

  .skills-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .features-two-col { grid-template-columns: 1fr; }
  .shortcodes-grid { grid-template-columns: 1fr; }
  .demo-box { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1rem; }
  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 1.5rem; }
  .timeline-dot { left: -6px; }
  .timeline-date { padding-top: 0; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-highlight-grid { grid-template-columns: 1fr; }
  .features-grid-3 { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { gap: 1rem; }
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-wrap {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo-fallback { align-items: center; gap: .35rem; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); }
.logo-sub  { font-family: 'DM Mono', monospace; font-size: .6rem; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }

/* ============================================================
   NGO BANNER
   ============================================================ */
#ngo-banner {
  background: linear-gradient(135deg, #1b2b4b 0%, #0d1e35 50%, #1a3a6b 100%);
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
#ngo-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(184,132,42,0.08);
  pointer-events: none;
}
#ngo-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(0,180,255,0.05);
  pointer-events: none;
}
.ngo-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.ngo-badge {
  display: inline-block;
  padding: .4rem 1.1rem;
  background: rgba(184,132,42,0.2);
  border: 1px solid rgba(212,160,74,0.4);
  color: var(--gold2);
  font-size: .75rem; font-weight: 600;
  letter-spacing: 1px; border-radius: 20px;
  margin-bottom: 1.25rem;
}
.ngo-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem,3.5vw,2.8rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 1rem;
}
.ngo-text h2 em { color: var(--gold2); font-style: italic; }
.ngo-text p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; max-width: 480px; }
.ngo-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.ngo-tags span {
  padding: .3rem .85rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: .75rem; border-radius: 20px; transition: .2s;
}
.ngo-tags span:hover { background: rgba(184,132,42,0.2); border-color: var(--gold2); color: var(--gold2); }
.ngo-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-ngo-primary {
  display: inline-block; padding: .85rem 2rem;
  background: var(--gold); color: #fff;
  font-weight: 600; font-size: .88rem;
  border-radius: 4px; text-decoration: none; transition: .2s; letter-spacing: .3px;
}
.btn-ngo-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(184,132,42,0.3); color: #fff; }
.btn-ngo-outline {
  display: inline-block; padding: .85rem 2rem;
  background: transparent; color: rgba(255,255,255,0.8);
  font-weight: 600; font-size: .88rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 4px; text-decoration: none; transition: .2s;
}
.btn-ngo-outline:hover { border-color: #fff; color: #fff; }
.ngo-visual { display: flex; justify-content: center; }
.ngo-illustration svg { width: 100%; max-width: 380px; }
@keyframes ngoPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.05);opacity:.7} }
@keyframes ngoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.ngo-pulse { animation: ngoPulse 3s ease-in-out infinite; }
.ngo-float { animation: ngoFloat 3s ease-in-out infinite; }
@media(max-width:900px){
  .ngo-banner-inner { grid-template-columns: 1fr; }
  .ngo-visual { display: none; }
  #ngo-banner { padding: 4rem 1.5rem; }
}

/* ============================================================
   ANIMATIONS — Scroll Reveal
   ============================================================ */
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered delays */
.reveal:nth-child(1){transition-delay:.1s}
.reveal:nth-child(2){transition-delay:.2s}
.reveal:nth-child(3){transition-delay:.3s}
.reveal:nth-child(4){transition-delay:.4s}
.reveal:nth-child(5){transition-delay:.5s}
.reveal:nth-child(6){transition-delay:.6s}
.reveal:nth-child(7){transition-delay:.1s}
.reveal:nth-child(8){transition-delay:.2s}
.reveal:nth-child(9){transition-delay:.3s}

/* Typing cursor */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.typing-cursor { display:inline-block;width:3px;height:1em;background:var(--gold);margin-left:4px;vertical-align:middle;animation:blink 1s infinite; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Counter animation */
@keyframes countUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   SERVICE CARDS — Enhanced
   ============================================================ */
.services-grid-3x3 { grid-template-columns: repeat(3, 1fr); }

.srv-card {
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.srv-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.srv-card:hover::before { transform: scaleX(1); }
.srv-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(27,43,75,0.12); border-color: var(--border2); }
.srv-card .service-icon { transition: transform .3s ease; }
.srv-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.srv-num {
  font-family: 'DM Mono', monospace;
  font-size: .65rem; color: var(--gold);
  letter-spacing: 2px; margin-bottom: .4rem;
  display: block;
}

/* ============================================================
   SKILLS TABS
   ============================================================ */
.skills-tabs {
  display: flex; gap: .5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  flex-wrap: wrap;
}
.stab {
  padding: .65rem 1.5rem; border: none;
  background: none; font-size: .88rem;
  font-weight: 600; color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: .2s;
}
.stab.active { color: var(--navy); border-bottom-color: var(--gold); }
.skills-tab-content { display: none; }
.skills-tab-content.active { display: block; }

/* ATOM SKILLS */
.atom-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem; padding: 1rem 0;
}
.atom-skill {
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  cursor: pointer; position: relative;
  padding: 1.25rem 1rem;
  transition: transform .3s ease;
}
.atom-skill:hover { transform: translateY(-5px); }
.atom-nucleus {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold3);
  border: 2px solid var(--border2);
  display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem;
  position: relative; z-index: 2; transition: .3s;
}
.atom-orbit {
  position: absolute; top: 1.25rem; left: 50%;
  transform: translate(-50%, 0);
  border: 1px solid rgba(184,132,42,0.25);
  border-radius: 50%; pointer-events: none;
}
.orbit-1 { width: 84px; height: 84px; margin-top: -10px; animation: orbit1 3s linear infinite; }
.orbit-2 { width: 106px; height: 106px; margin-top: -21px; opacity: 0; transition: opacity .3s; animation: orbit2 5s linear infinite reverse; }
.atom-electron {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); position: absolute;
  top: -4px; left: 50%; transform: translateX(-50%);
}
.e2 { background: var(--navy); top: auto; bottom: -4px; }
@keyframes orbit1 { from{transform:translate(-50%,-10px) rotate(0deg)} to{transform:translate(-50%,-10px) rotate(360deg)} }
@keyframes orbit2 { from{transform:translate(-50%,-21px) rotate(0deg)} to{transform:translate(-50%,-21px) rotate(360deg)} }
.atom-skill:hover .atom-nucleus { background: var(--navy); border-color: var(--gold); transform: scale(1.1); }
.atom-skill:hover .orbit-1 { border-color: var(--gold); }
.atom-skill:hover .orbit-2 { opacity: 1; border-color: rgba(27,43,75,0.4); }
.atom-label { font-size: .8rem; font-weight: 600; color: var(--navy); text-align: center; margin-top: 1.75rem; }
.atom-sublabel { font-size: .65rem; color: var(--muted); font-family: 'DM Mono', monospace; letter-spacing: 1px; }

/* Business Skills */
.biz-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; padding: 1rem 0;
}
.biz-skill-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.5rem;
  transition: var(--transition);
}
.biz-skill-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border2); }
.biz-icon { font-size: 1.75rem; margin-bottom: .6rem; display: block; }
.biz-label { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.biz-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PROJECT CARDS — New Style
   ============================================================ */
.proj-grid-new { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

.proj-card-new {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor: pointer;
}
.proj-card-new:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 50px rgba(27,43,75,0.15);
  border-color: var(--gold2);
}
.proj-thumb-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--gold3);
}
.proj-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.proj-card-new:hover .proj-img { transform: scale(1.08); }
.proj-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
}
.proj-initial {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: rgba(255,255,255,0.15);
}
.proj-overlay {
  position: absolute; inset: 0;
  background: rgba(27,43,75,0.85);
  display: flex; align-items: center;
  justify-content: center; gap: 1rem;
  opacity: 0; transition: opacity .3s ease;
}
.proj-card-new:hover .proj-overlay { opacity: 1; }
.proj-view-btn, .proj-detail-btn {
  padding: .6rem 1.25rem; font-size: .82rem;
  font-weight: 600; border-radius: 4px;
  text-decoration: none; transform: translateY(10px);
  transition: transform .3s ease, background .2s;
}
.proj-card-new:hover .proj-view-btn,
.proj-card-new:hover .proj-detail-btn { transform: translateY(0); }
.proj-view-btn { background: var(--gold); color: #fff; }
.proj-detail-btn { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.proj-status-badge {
  position: absolute; top: .75rem; right: .75rem;
  padding: .25rem .75rem; border-radius: 20px;
  font-size: .65rem; font-weight: 600;
  font-family: 'DM Mono', monospace; letter-spacing: 1px;
}
.status-live { background: rgba(46,125,79,0.9); color: #fff; }
.status-deployed { background: rgba(27,43,75,0.9); color: #fff; }
.status-development, .status-dev { background: rgba(184,132,42,0.9); color: #fff; }
.status-active { background: rgba(21,101,192,0.9); color: #fff; }
.proj-card-body { padding: 1.5rem; }
.proj-cat-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.proj-cat { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.proj-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold3); line-height: 1; }
.proj-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.proj-desc { font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: .85rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.proj-progress-bar { height: 3px; background: var(--gold3); border-radius: 2px; overflow: hidden; margin-top: .5rem; }
.proj-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px; transition: width .6s ease;
}
.proj-card-new:hover .proj-progress-fill { width: 100%; }

/* ============================================================
   PRODUCTS — Hover Glow Effect
   ============================================================ */
.prod-c {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 2rem;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden; cursor: pointer;
}
.prod-c::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold2));
  border-radius: 10px; opacity: 0; transition: opacity .3s; z-index: 0;
}
.prod-c::after {
  content: ''; position: absolute; inset: 1px;
  background: #1e2d4a; border-radius: 9px; z-index: 0;
}
.prod-c > * { position: relative; z-index: 1; }
.prod-c:hover::before { opacity: 1; }
.prod-c:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(184,132,42,0.15); }
.prod-c .p-icon { font-size: 2rem; margin-bottom: 1rem; display: inline-block; transition: transform .3s ease; }
.prod-c:hover .p-icon { transform: scale(1.3) rotate(-10deg); }
.prod-c p { font-size: .83rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.25rem; transition: color .3s; }
.prod-c:hover p { color: rgba(255,255,255,0.75); }
.prod-c a { font-size: .82rem; color: var(--gold2); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s, color .2s; text-decoration: none; }
.prod-c a::after { content: '→'; transition: transform .2s; }
.prod-c:hover a { color: var(--gold); gap: .6rem; }
.prod-c:hover a::after { transform: translateX(4px); }
.prod-particle {
  position: absolute; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold);
  opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 1;
}
.prod-c:hover .prod-particle { opacity: 0.4; }
.prod-particle:nth-child(1) { top: 20%; right: 15%; animation: floatParticle 2s ease-in-out infinite; }
.prod-particle:nth-child(2) { top: 60%; right: 25%; animation: floatParticle 2.5s ease-in-out infinite .5s; }
.prod-particle:nth-child(3) { top: 80%; right: 10%; animation: floatParticle 3s ease-in-out infinite 1s; }
@keyframes floatParticle { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-15px) scale(1.5)} }

/* ============================================================
   NGO PAGE
   ============================================================ */
.ngo-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e35 100%);
  padding: 8rem 0 5rem; min-height: 60vh;
  display: flex; align-items: center;
}
.ngo-hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.ngo-stat { display: flex; flex-direction: column; gap: .25rem; }
.ngo-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold2); line-height: 1; }
.ngo-stat-label { font-size: .8rem; color: rgba(255,255,255,0.55); }
.ngo-why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.ngo-why-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition); border-left: 3px solid var(--gold);
}
.ngo-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ngo-why-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.ngo-why-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.ngo-why-card p { font-size: .875rem; color: var(--muted); }
.ngo-products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ngo-prod-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.ngo-prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow2); }
.ngo-prod-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); display: flex; align-items: center; justify-content: center; }
.ngo-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ngo-prod-initial { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.2); }
.ngo-prod-body { padding: 1.5rem; }
.ngo-prod-cat { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: .4rem; display: block; }
.ngo-prod-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: .5rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.ngo-prod-body p { font-size: .83rem; color: var(--muted); margin-bottom: 1rem; }
.ngo-prod-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.ngo-prod-actions { display: flex; gap: .5rem; }
.ngo-featured-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.ngo-feat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; transition: var(--transition); }
.ngo-feat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ngo-feat-icon { font-size: 2.5rem; flex-shrink: 0; }
.ngo-feat-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.ngo-feat-card p { font-size: .85rem; color: var(--muted); }
.ngo-cta-section { background: linear-gradient(135deg, var(--navy) 0%, #0d1e35 100%); padding: 5rem 0; }

@media(max-width:900px){ .ngo-why-grid { grid-template-columns: 1fr; } .ngo-products-grid { grid-template-columns: 1fr; } .ngo-featured-grid { grid-template-columns: 1fr; } }
@media(max-width:768px){ .proj-grid-new { grid-template-columns: 1fr; } .services-grid-3x3 { grid-template-columns: repeat(2,1fr); } .atom-skills-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px){ .services-grid-3x3 { grid-template-columns: 1fr; } .atom-skills-grid { grid-template-columns: repeat(2,1fr); } .biz-skills-grid { grid-template-columns: 1fr; } }

/* ── Newsletter bar ───────────────────────────────────────── */
.newsletter-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}
.newsletter-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: .4rem;
}
.newsletter-text p { color: rgba(255,255,255,0.6); font-size: .9rem; }
.newsletter-form {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.newsletter-input {
  flex: 1;
  padding: .7rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--gold2); }
.newsletter-btn {
  padding: .7rem 1.4rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.newsletter-btn:hover { background: var(--gold2); }
.newsletter-msg { font-size: .82rem; margin-top: .5rem; }
.newsletter-msg.success { color: #6ee7b7; }
.newsletter-msg.error   { color: #f87171; }
@media(max-width:768px) {
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input, .newsletter-btn { width: 100%; }
}

/* ── 4-column footer ──────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: 4rem 5vw 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col-title {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1.2rem;
  font-family: 'DM Mono', monospace;
}
.footer-brand-col {}
.footer-logo-wrap { margin-bottom: 1rem; }
.footer-logo-img { height: 46px; width: auto; object-fit: contain; display: block; }
.footer-logo-fallback {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-desc {
  font-size: .83rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  max-width: 280px;
}
.footer-socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.footer-social-link:hover {
  background: rgba(184,132,42,0.2);
  color: var(--gold2);
  border-color: rgba(184,132,42,0.4);
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links-list a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.footer-links-list a:hover { color: var(--gold2); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .83rem; color: rgba(255,255,255,0.55);
}
.footer-contact-list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--gold2); }
.footer-contact-list a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-contact-list a:hover { color: var(--gold2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .8rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--gold2); }
@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media(max-width:540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 1.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Profile social icons (about page) ───────────────────── */
.profile-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.profile-meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: rgba(255,255,255,0.5);
}
.profile-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .85rem 0;
}
.profile-social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.profile-social-icon:hover {
  background: rgba(184,132,42,0.2);
  color: var(--gold2);
  border-color: rgba(184,132,42,0.4);
}
.profile-cta-row {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.about-stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); display: block; }

/* ── Case Study — Breadcrumb ──────────────────────────────── */
.cs-breadcrumb { display:flex; gap:.4rem; align-items:center; font-size:.75rem; color:rgba(255,255,255,.4); margin-bottom:1.5rem; }
.cs-breadcrumb a { color:rgba(255,255,255,.55); text-decoration:none; transition:.2s; }
.cs-breadcrumb a:hover { color:rgba(255,255,255,.9); }
.cs-breadcrumb .sep { color:rgba(255,255,255,.2); }

/* ── Case Study — Hero ────────────────────────────────────── */
.cs-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: rgba(184,132,42,.06);
  border-radius: 50%;
  pointer-events: none;
}
.cs-hero-layout {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 3.5rem;
  align-items: start;
}
.cs-tags-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.cs-tag {
  padding: .25rem .8rem;
  background: rgba(184,132,42,.15);
  border: 1px solid rgba(184,132,42,.35);
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  font-size: .65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold2);
}
.cs-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.cs-hero-title em { color: var(--gold2); font-style: italic; }
.cs-hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.cs-meta-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.cs-pill {
  padding: .35rem .9rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
}
.cs-partners-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.75rem;
}
.cs-partners-title {
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1.25rem;
}
.cs-partner-row { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; }
.cs-partner-avatar {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.cs-partner-name { font-size: .88rem; font-weight: 600; color: #fff; }
.cs-partner-sub { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: 1px; }
.cs-partner-divider { height: 1px; background: rgba(255,255,255,.08); }

/* ── Case Study — Stats Bar ───────────────────────────────── */
.cs-stats-bar {
  background: #E65C00;
  padding: 2.5rem 0;
}
.cs-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.cs-stat-item { text-align: center; flex: 1; padding: .5rem 1rem; }
.cs-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .3rem;
}
.cs-stat-label {
  font-family: 'DM Mono', monospace;
  font-size: .7rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
}
.cs-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* ── Case Study — Story layout ────────────────────────────── */
.cs-story-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 4rem;
  align-items: start;
}
.cs-context-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 10px; width: 2px; height: calc(100% - 20px); background: var(--border); }
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -1.55rem; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bg); z-index: 1; }
.tl-year { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; margin-bottom: .3rem; }
.tl-item h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.tl-item p { font-size: .87rem; color: var(--muted); line-height: 1.75; }

/* ── Quote ────────────────────────────────────────────────── */
.cs-quote {
  background: var(--navy);
  border-radius: 0 10px 10px 0;
  border-left: 4px solid var(--gold);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.cs-quote .quote-mark { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--gold); line-height: .8; margin-bottom: .5rem; display: block; }
.cs-quote blockquote { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,.9); line-height: 1.75; margin-bottom: 1rem; }
.cs-quote cite { font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: 1px; color: var(--gold2); display: block; }

/* ── Solution Cards ───────────────────────────────────────── */
.cs-solutions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; }
.solution-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(27,43,75,.1); }
.sc-top { background: var(--navy); padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.sc-top h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: #fff; margin: .4rem 0 .25rem; }
.sc-top p { font-size: .8rem; color: rgba(255,255,255,.5); }
.sc-body { padding: 1.5rem; }
.sc-checklist { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin: 0; padding: 0; }
.sc-checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.sc-checklist li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.sc-checklist li div strong { display: block; color: var(--navy); font-weight: 600; font-size: .85rem; margin-bottom: 1px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.tc { padding: .25rem .7rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; font-size: .72rem; font-weight: 500; color: var(--navy); font-family: 'DM Mono', monospace; }
.cs-badge-small { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; padding: .2rem .6rem; border-radius: 4px; background: rgba(184,132,42,.2); color: var(--gold2); }
.cs-badge-live { background: rgba(34,197,94,.15); color: #86efac; }
.cs-badge-done { background: rgba(99,102,241,.2); color: #a5b4fc; }

/* ── QR Flow ──────────────────────────────────────────────── */
.flow-wrap { display: flex; align-items: flex-start; justify-content: center; gap: .5rem; flex-wrap: wrap; padding: 2rem 0; }
.flow-step { text-align: center; width: 110px; flex-shrink: 0; }
.flow-icon-circle { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto .6rem; transition: .3s; }
.flow-step:hover .flow-icon-circle { background: rgba(184,132,42,.25); border-color: var(--gold2); }
.flow-step-title { font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.flow-step-desc { font-size: .7rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.flow-arr { color: var(--gold2); font-size: 1.2rem; flex-shrink: 0; margin-top: 14px; }
.cs-flow-quote {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: center;
  border: 1px solid rgba(184,132,42,.3);
  border-radius: 10px;
  padding: 2rem;
}
.cs-flow-quote p { font-family: 'Playfair Display', serif; font-style: italic; color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.75; margin-bottom: .75rem; }
.cs-flow-quote cite { font-family: 'DM Mono', monospace; font-size: .72rem; color: var(--gold2); }

/* ── Expansion cards ──────────────────────────────────────── */
.cs-expansion-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.cs-exp-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 1.75rem; transition: transform .3s, box-shadow .3s; }
.cs-exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); }
.cs-exp-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cs-exp-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: .6rem; }
.cs-exp-card p { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.cs-exp-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.cs-status-badge { font-family: 'DM Mono', monospace; font-size: .65rem; padding: .2rem .6rem; border-radius: 4px; white-space: nowrap; }
.cs-status-deployed { background: rgba(34,197,94,.1); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.cs-status-dev { background: rgba(251,146,60,.1); color: #ea580c; border: 1px solid rgba(251,146,60,.25); }

/* ── Tech Stack ───────────────────────────────────────────── */
.cs-tech-wrap { max-width: 800px; margin: 0 auto; }
.tech-cat { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin: 1.25rem 0 .5rem; }
.tech-badge { display: inline-flex; align-items: center; padding: .4rem .9rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; font-size: .78rem; font-weight: 500; color: var(--navy); margin: .25rem; transition: .2s; font-family: 'DM Mono', monospace; cursor: default; }
.tech-badge:hover { border-color: var(--gold); background: var(--gold3); color: var(--gold); }

/* ── About Joywing layout ─────────────────────────────────── */
.cs-about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.cs-org-info { display: flex; flex-direction: column; gap: .6rem; }
.cs-org-row { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.65); }
.cs-org-row span:first-child { flex-shrink: 0; width: 20px; }
.cs-org-row strong { color: rgba(255,255,255,.45); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; min-width: 80px; display: inline-block; }
.cs-about-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.cs-person-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 1.5rem; }
.cs-person-avatar { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; flex-shrink: 0; }

/* ── CTA Section ──────────────────────────────────────────── */
.cs-cta-section { background: var(--gold3); border-top: 1px solid var(--border); }
.cs-cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.cs-cta-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.2rem); color: var(--navy); margin: 1rem 0; }
.cs-cta-desc { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.cs-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.btn-secondary { background: var(--navy); color: #fff; border: 2px solid var(--navy); padding: .7rem 1.6rem; border-radius: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: .2s; }
.btn-secondary:hover { background: transparent; color: var(--navy); }
.cs-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .85rem 1.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s;
  margin-top: .5rem;
}
.cs-whatsapp-btn:hover { background: #1ebe5d; }

/* ── Dropdown badge new ───────────────────────────────────── */
.dd-badge-new { background: rgba(34,197,94,.15) !important; color: #16a34a !important; border: 1px solid rgba(34,197,94,.3) !important; }

/* ── Case Study Responsive ────────────────────────────────── */
@media(max-width:900px) {
  .cs-hero-layout { grid-template-columns: 1fr; }
  .cs-partners-card { display: none; }
  .cs-story-layout { grid-template-columns: 1fr; }
  .cs-solutions-grid { grid-template-columns: 1fr; }
  .cs-about-layout { grid-template-columns: 1fr; }
  .cs-expansion-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  .cs-stats-grid { flex-direction: column; gap: 1.5rem; }
  .cs-stat-divider { display: none; }
  .flow-wrap { gap: .25rem; }
  .flow-step { width: 90px; }
  .flow-step-desc { display: none; }
}

/* ── Legal Pages (Terms & Privacy) ─────────────────────── */
.legal-hero {
  background: var(--navy);
  padding: 4.5rem 0 3.5rem;
}
.legal-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.legal-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #fff;
  margin: .6rem 0 .5rem;
}
.legal-hero-inner p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  margin: 0;
}
.legal-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 20px;
}
.legal-body {
  padding: 4rem 0 6rem;
  background: var(--bg);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal-intro {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type {
  border-bottom: none;
}
.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 .85rem;
}
.legal-section p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: .85rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: .5rem 0 .85rem 1.25rem;
  padding: 0;
}
.legal-section li {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: .35rem;
}
.legal-section strong { color: var(--navy); font-weight: 600; }
.legal-section a { color: var(--gold); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-contact-box {
  margin-top: 2.5rem;
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  color: rgba(255,255,255,.85);
}
.legal-contact-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 .85rem;
}
.legal-contact-box p { margin-bottom: .6rem; line-height: 1.7; }
.legal-contact-box p:last-child { margin-bottom: 0; }
.legal-contact-box a { color: var(--gold); text-decoration: none; }
.legal-contact-box a:hover { text-decoration: underline; }
@media(max-width:600px) {
  .legal-hero-inner h1 { font-size: 2rem; }
  .legal-contact-box { padding: 1.5rem 1.25rem; }
}
