/* ================================================
   PalmGro Creative Agency — Nonise-Exact Redesign
   Font: Manrope | Colors: Nonise neutral palette
   ================================================ */

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

/* ---------- Variables — Nonise exact palette ---------- */
:root {
  --bg:        #ebe6df;
  --bg-2:      #e3ddd5;
  --bg-card:   #ddd8d0;
  --bg-dark:   #141414;
  --bg-dark2:  #1c1c1c;
  --bg-dark3:  #222222;
  --text:      #1a1a1a;
  --muted:     #8a8a8a;
  --white:     #ffffff;
  --amber:     #d4a853;       /* stars only */
  --border:    rgba(26,26,26,0.12);
  --border-dk: rgba(255,255,255,0.08);
  --r:         12px;
  --r-lg:      20px;
  --r-xl:      28px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t:         0.4s var(--ease);
  --f:         'Manrope', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: none; font-family: var(--f); border: none; background: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(26,26,26,0.18); border-radius: 2px; }

/* ---------- Custom Cursor ---------- */
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--text); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(26,26,26,0.28);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 44px; height: 44px;
  border-color: var(--text);
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: var(--f);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Label pill */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(26,26,26,0.04);
}
.label::before {
  content: ''; width: 5px; height: 5px;
  background: var(--text); border-radius: 50%;
  opacity: 0.4;
}
.label.light {
  color: rgba(255,255,255,0.4);
  border-color: var(--border-dk);
  background: rgba(255,255,255,0.04);
}
.label.light::before { background: var(--white); opacity: 0.4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-family: var(--f);
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.01em; transition: var(--t); cursor: none;
}

/* Dark (main CTA — light sections) */
.btn-dark {
  background: var(--text); color: var(--white);
}
.btn-dark:hover {
  background: #2e2e2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,26,0.18);
}

/* Outline dark (secondary — light sections) */
.btn-outline-dark {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(26,26,26,0.22);
}
.btn-outline-dark:hover {
  background: var(--text); color: var(--white);
  border-color: var(--text); transform: translateY(-2px);
}

/* White filled (primary — dark sections) */
.btn-white {
  background: var(--white); color: var(--text);
}
.btn-white:hover {
  background: #f0ebe4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* Outline light (secondary — dark sections) */
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border-dk);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background .4s, padding .4s, border-bottom .4s;
}
.navbar.scrolled {
  background: rgba(235,230,223,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--f); font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
}
.nav-logo sup { font-size: 0.55em; vertical-align: super; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: none;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px; transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--f); font-size: 2.6rem; font-weight: 800;
  color: var(--muted); transition: color .25s; letter-spacing: -0.03em;
}
.mobile-menu a:hover { color: var(--text); }

/* ==============================
   HERO
   ============================== */
.hero {
  padding-top: 88px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

.hero-card {
  position: relative; flex: 1;
  margin: 0 20px;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: calc(100vh - 88px - 32px);
  display: flex; flex-direction: column; justify-content: flex-end;
}

/* Real photo background */
.hero-photo-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=1600&auto=format&fit=crop&q=85');
  background-size: cover;
  background-position: center 20%;
}
/* Gradient overlay for text readability */
.hero-photo-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,5,0.82) 0%,
    rgba(10,8,5,0.35) 50%,
    rgba(10,8,5,0.12) 100%
  );
}
/* Grain texture */
.hero-photo-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Availability badge */
.hero-avail {
  position: absolute; top: 32px; left: 32px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--white);
}
.hero-avail .dot {
  width: 7px; height: 7px;
  background: #4ade80; border-radius: 50%;
  animation: pulse-g 2s ease-in-out infinite;
}
@keyframes pulse-g {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* Decorative circle */
.hero-circle {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  width: 72px; height: 72px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-circle-inner {
  width: 8px; height: 8px;
  background: var(--white); border-radius: 50%; opacity: 0.7;
}

/* Hero text */
.hero-content {
  position: relative; z-index: 2;
  padding: 40px 48px;
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 900; color: var(--white);
  line-height: 0.95; letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner { display: block; }
.hero-title .accent-word {
  color: var(--white);
  font-style: italic;
  opacity: 0.85;
}

.hero-bottom-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.hero-tagline-text {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.1em;
  max-width: 260px; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.4); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: sDown 2s ease-in-out infinite;
}
@keyframes sDown {
  0%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.2); transform-origin: top; }
  51% { transform-origin: bottom; }
  100%{ transform: scaleY(1); transform-origin: bottom; opacity: 0.3; }
}

/* ---------- Ticker ---------- */
.ticker-section {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg); overflow: hidden;
}
.ticker-row { display: flex; overflow: hidden; }
.ticker-row + .ticker-row { border-top: 1px solid var(--border); }
.ticker-track {
  display: flex; min-width: max-content;
  animation: tickL 30s linear infinite;
}
.ticker-row.rev .ticker-track { animation: tickR 38s linear infinite; }
@keyframes tickL { 0% { transform: translateX(0); }   100% { transform: translateX(-50%); } }
@keyframes tickR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 16px 40px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.ticker-item .dot-sep {
  width: 4px; height: 4px;
  background: var(--muted); border-radius: 50%; opacity: 0.5;
}

/* ---------- Split section (Stats + Why Us) ---------- */
.split-section { padding: 96px 0; }
.split-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start;
}

/* Stats 2×2 */
.stats-mini-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px;
}
.stat-mini {
  background: var(--bg); padding: 32px 24px; transition: background .3s;
}
.stat-mini:hover { background: var(--bg-2); }
.stat-mini-num {
  font-family: var(--f); font-size: 2.8rem; font-weight: 900;
  color: var(--text); letter-spacing: -0.05em; line-height: 1; margin-bottom: 6px;
}
.stat-mini-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.split-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.1; margin-bottom: 16px;
}
.split-sub { font-size: 0.95rem; color: var(--muted); line-height: 1.75; max-width: 400px; }

/* Dark feature card */
.feature-dark-card {
  background: var(--bg-dark);
  border-radius: var(--r-lg); padding: 40px;
}
.feature-dark-card h3 {
  font-size: 1.25rem; color: var(--white); margin-bottom: 32px; line-height: 1.3; font-weight: 700;
}
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border-dk);
  transition: padding-left .35s var(--ease);
}
.feature-row:last-child { border-bottom: none; }
.feature-row:hover { padding-left: 6px; }
.feature-icon {
  width: 36px; height: 36px; background: var(--bg-dark2);
  border: 1px solid var(--border-dk);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; color: rgba(255,255,255,0.5);
}
.feature-row h4 {
  font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 3px;
}
.feature-row p { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.55; }

/* ---------- Featured Projects ---------- */
.projects-section { padding: 0 0 96px; }
.projects-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 28px;
  flex-wrap: wrap; gap: 20px;
}
.projects-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.projects-header p { color: var(--muted); font-size: 0.9rem; max-width: 280px; text-align: right; line-height: 1.6; }

/* Project card */
.project-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  margin-bottom: 16px; cursor: none;
  transition: transform .5s var(--ease);
}
.project-card:hover { transform: scale(0.996); }
.project-card:last-child { margin-bottom: 0; }

.project-photo {
  position: relative;
  height: clamp(360px, 56vh, 580px);
  overflow: hidden;
}
.project-photo-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.project-card:hover .project-photo-inner { transform: scale(1.04); }
.project-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 65%; z-index: 2;
  background: linear-gradient(to top, rgba(8,6,4,0.72) 0%, transparent 100%);
}

/* Real project images */
.photo-edwins {
  background-image: url('https://images.unsplash.com/photo-1541643600914-78b084683702?w=1200&auto=format&fit=crop&q=85');
}
.photo-posh {
  background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1200&auto=format&fit=crop&q=85');
}
.photo-beyond {
  background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1200&auto=format&fit=crop&q=85');
}
.photo-cake {
  background-image: url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=1200&auto=format&fit=crop&q=85');
}
.photo-krishnam {
  background-image: url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?w=1200&auto=format&fit=crop&q=85');
}
.photo-wealthvisory {
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=900&auto=format&fit=crop&q=85');
}
.photo-abn {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=900&auto=format&fit=crop&q=85');
}

/* Arrow overlay */
.project-arrow {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white);
  transition: background .3s, transform .35s var(--ease);
}
.project-card:hover .project-arrow {
  background: var(--white); color: var(--text); transform: rotate(45deg);
}

/* Tags on photo */
.project-photo-tag {
  position: absolute; bottom: 18px; left: 18px; z-index: 3;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ptag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18); color: var(--white);
}
.ptag.accent {
  background: rgba(255,255,255,0.9); color: var(--text);
  border-color: transparent;
}

/* Project info bar */
.project-info {
  background: var(--bg-card); padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.project-info-left h3 {
  font-size: 1.4rem; font-weight: 800; margin-bottom: 3px; letter-spacing: -0.025em;
}
.project-info-left p { font-size: 0.82rem; color: var(--muted); }
.project-result {
  font-size: 0.8rem; color: var(--text); font-weight: 700;
  background: var(--bg); padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--border); white-space: nowrap;
}

/* ---------- Process (dark bg) ---------- */
.process-section { background: var(--bg-dark); padding: 96px 0; }
.process-head { text-align: center; margin-bottom: 60px; }
.process-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); margin-bottom: 12px;
}
.process-head p { color: rgba(255,255,255,0.38); font-size: 0.95rem; max-width: 440px; margin: 0 auto; }

.process-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-dk);
  border: 1px solid var(--border-dk); border-radius: var(--r-lg); overflow: hidden;
}
.process-col {
  background: var(--bg-dark); padding: 44px 32px; transition: background .3s;
}
.process-col:hover { background: var(--bg-dark2); }
.process-num-small {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 16px;
}
.process-letter {
  font-family: var(--f); font-size: 3.6rem; font-weight: 900;
  color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.process-col h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 10px; font-weight: 700; }
.process-col p { font-size: 0.875rem; color: rgba(255,255,255,0.38); line-height: 1.75; }

/* ---------- Pricing (dark) ---------- */
.pricing-section { background: var(--bg-dark); padding: 0 0 96px; }
.pricing-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 0 44px; border-bottom: 1px solid var(--border-dk); margin-bottom: 44px;
  flex-wrap: wrap; gap: 20px;
}
.pricing-head-row h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--white); }
.pricing-head-row p { color: rgba(255,255,255,0.35); font-size: 0.875rem; line-height: 1.6; }

.pricing-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-card {
  background: var(--bg-dark2); border: 1px solid var(--border-dk);
  border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column;
  position: relative; transition: border-color .3s, transform .3s;
}
.p-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-4px); }
.p-card.featured { border-color: rgba(255,255,255,0.3); background: var(--bg-dark3); }
.popular-pill {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--text);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.p-name {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.p-price {
  font-family: var(--f); font-size: 2.8rem; font-weight: 900;
  color: var(--white); letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px;
}
.p-price sup { font-size: 1.1rem; vertical-align: super; }
.p-price small { font-family: var(--f); font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.3); }
.p-period { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-bottom: 24px; }
.p-divider { height: 1px; background: var(--border-dk); margin: 18px 0; }
.p-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 24px; }
.p-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.83rem; color: rgba(255,255,255,0.62); line-height: 1.45;
}
.p-feat .ck { color: var(--white); flex-shrink: 0; font-size: 0.8rem; opacity: 0.8; }
.p-feat .cx { color: rgba(255,255,255,0.18); flex-shrink: 0; }
.p-feat.off { color: rgba(255,255,255,0.22); }
.p-card .btn { width: 100%; justify-content: center; }

/* ---------- Portfolio Insights ---------- */
.insights-section { padding: 96px 0; }
.insights-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 20px;
}
.insights-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }

.insights-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto; gap: 14px;
}
.insight-card {
  background: var(--bg-card); border-radius: var(--r-lg);
  overflow: hidden; cursor: none; transition: transform .4s var(--ease);
}
.insight-card:hover { transform: translateY(-4px); }
.insight-card.tall { grid-row: span 2; }
.insight-photo { height: 240px; position: relative; overflow: hidden; }
.insight-card.tall .insight-photo { height: 100%; min-height: 340px; }
.insight-photo-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s var(--ease);
}
.insight-card:hover .insight-photo-inner { transform: scale(1.05); }
.insight-photo-inner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,0.4) 0%, transparent 55%);
}
.insight-card:hover .insight-arrow { background: var(--white); color: var(--text); }
.insight-arrow {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--white); transition: background .3s, color .3s;
}
.insight-body { padding: 20px 22px; }
.insight-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.insight-cat::before { content: ''; width: 14px; height: 1px; background: var(--muted); }
.insight-title {
  font-family: var(--f); font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 4px;
}
.insight-result { font-size: 0.8rem; color: var(--muted); }
.insight-result strong { color: var(--text); font-weight: 700; }

/* ---------- Services Table (dark) ---------- */
.services-table-section { background: var(--bg-dark); padding: 96px 0; }
.st-head { margin-bottom: 44px; }
.st-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--white); margin-bottom: 10px; }
.st-head p { color: rgba(255,255,255,0.35); font-size: 0.9rem; }

.st-list { border-top: 1px solid var(--border-dk); }
.st-row {
  display: flex; align-items: center; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--border-dk);
  transition: padding-left .35s var(--ease); cursor: none;
}
.st-row:hover { padding-left: 8px; }
.st-num {
  font-family: var(--f); font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.2); min-width: 32px;
}
.st-title {
  font-family: var(--f); font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  font-weight: 800; color: var(--white); flex: 1; letter-spacing: -0.02em;
}
.st-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.st-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--border-dk); color: rgba(255,255,255,0.35);
}
.st-arrow {
  width: 34px; height: 34px; border: 1px solid var(--border-dk); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.35); flex-shrink: 0; transition: var(--t);
}
.st-row:hover .st-arrow { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ---------- Testimonials ---------- */
.testimonials-section { padding: 96px 0; }
.testi-head { margin-bottom: 44px; }
.testi-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 8px; }
.testi-head p { color: var(--muted); font-size: 0.9rem; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { display: flex; gap: 4px; }
.testi-star {
  width: 16px; height: 16px; border-radius: 50%; background: var(--amber);
}
.testi-quote {
  font-size: 0.925rem; line-height: 1.78; color: rgba(26,26,26,0.78); flex: 1;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-dark); display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; color: var(--white); flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 800; margin-bottom: 1px; }
.testi-role { font-size: 0.75rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq-left h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.faq-left p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: none; font-size: 0.925rem; font-weight: 700;
  transition: color .25s; user-select: none;
}
.faq-q:hover { color: var(--muted); }
.faq-icon {
  width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.85rem; color: var(--muted); transition: var(--t);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--text); color: var(--text); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding-bottom: 20px; font-size: 0.875rem; color: var(--muted); line-height: 1.8; }

/* ---------- CTA Card ---------- */
.cta-card {
  background: var(--bg-dark); border-radius: var(--r-xl);
  padding: 80px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); margin-bottom: 14px; }
.cta-card p { color: rgba(255,255,255,0.38); font-size: 1rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); padding: 64px 0 32px; border-top: 1px solid var(--border-dk); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--f); font-size: 1.35rem; font-weight: 900;
  letter-spacing: -0.03em; color: var(--white);
  display: block; margin-bottom: 12px;
}
.footer-logo sup { font-size: 0.5em; vertical-align: super; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.3); line-height: 1.75; max-width: 260px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border: 1px solid var(--border-dk); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: var(--t); cursor: none;
}
.social-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.4);
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.3); transition: color .25s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.fci { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.3); line-height: 1.55; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border-dk); flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.22); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.76rem; color: rgba(255,255,255,0.22); transition: color .25s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.55); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border); }

/* ==============================
   INNER PAGES
   ============================== */
.page-hero {
  padding: 156px 0 76px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2); position: relative; overflow: hidden;
}
.page-hero-deco {
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,26,26,0.03) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: 20px; }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 500px; line-height: 1.8; }

/* Services accordion */
.svc-list { border-top: 1px solid var(--border); }
.svc-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.svc-header {
  display: flex; align-items: center; gap: 24px;
  padding: 30px 0; cursor: none; transition: color .25s; user-select: none;
}
.svc-header:hover .svc-title { color: var(--muted); }
.svc-num { font-size: 0.8rem; font-weight: 700; color: var(--muted); min-width: 32px; }
.svc-title { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 800; flex: 1; transition: color .25s; }
.svc-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.svc-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); color: var(--muted);
}
.svc-arrow {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--t); font-size: 0.85rem; color: var(--muted);
}
.svc-item.open .svc-arrow { transform: rotate(45deg); border-color: var(--text); color: var(--text); }
.svc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.svc-body-inner {
  padding: 0 0 26px 56px;
  font-size: 0.925rem; color: var(--muted); line-height: 1.82; max-width: 600px;
}

/* Portfolio filter */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  transition: var(--t); cursor: none; background: none; font-family: var(--f);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--text); color: var(--white); border-color: var(--text);
}
.project-card.hidden { display: none; }

/* Contact */
.contact-main { padding: 80px 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.cd-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-icon {
  width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.cd-item h5 {
  font-size: 0.68rem; color: var(--muted); font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 3px;
}
.cd-item p { font-size: 0.9rem; font-weight: 600; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1a1a1a; color: var(--white); font-weight: 700; font-size: 0.875rem;
  font-family: var(--f);
  padding: 13px 22px; border-radius: 100px; transition: var(--t);
}
.wa-btn:hover { background: #2d2d2d; transform: translateY(-2px); }

.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
}
.contact-form-wrap h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1/-1; }
.fg label {
  font-size: 0.7rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.fg input, .fg select, .fg textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  color: var(--text); font-family: var(--f); font-size: 0.875rem;
  transition: border-color .25s; outline: none;
  -webkit-appearance: none; appearance: none;
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 5L10 1' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; cursor: none;
}
.fg select option { background: #e8e3dc; }
.fg textarea { resize: vertical; min-height: 110px; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--text); }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(26,26,26,0.28); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .32s; }

/* ---------- Page Transition ---------- */
.page-transition {
  position: fixed; inset: 0; background: var(--bg-dark);
  z-index: 9990; pointer-events: none; opacity: 0; transition: opacity .4s;
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .split-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card.tall { grid-row: span 1; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .process-cols { grid-template-columns: 1fr 1fr; }
  .pricing-cols { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-card { min-height: 88vh; margin: 0 12px; border-radius: 20px; }
  .hero-content { padding: 32px 24px; }
  .hero-title { font-size: 2.8rem; }
  .hero-bottom-row { flex-direction: column; gap: 20px; }
  .process-cols { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .projects-header p { text-align: left; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 44px 24px; }
  .page-hero { padding: 116px 0 52px; }
  .svc-tags, .st-tags { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .stats-mini-row { grid-template-columns: 1fr 1fr; }
  .pricing-cols { max-width: 100%; }
  .filter-btn { font-size: 0.78rem; padding: 7px 13px; }
}
