/* ============================================
   NEXCORE AGENCY v2 — LIGHT PROFESSIONAL THEME
   Clean White + Charcoal + Electric Blue Accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Bricolage+Grotesque:wght@300;400;500;600&display=swap');

:root {
  --white:    #ffffff;
  --bg:       #f7f8fa;
  --bg2:      #f0f2f5;
  --surface:  #ffffff;
  --ink:      #0a0c10;
  --ink2:     #2d3142;
  --muted:    #6b7280;
  --border:   #e5e7eb;
  --border2:  #d1d5db;
  --accent:   #2563eb;
  --accent2:  #1d4ed8;
  --accent-bg:#eff6ff;
  --accent-soft: rgba(37,99,235,0.08);
  --green:    #059669;
  --green-bg: #ecfdf5;
  --red:      #dc2626;
  --red-bg:   #fef2f2;
  --amber:    #d97706;
  --amber-bg: #fffbeb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:   0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
  --radius:   14px;
  --radius-sm:8px;
  --radius-lg:20px;
  --font-head:'Clash Display', 'Syne', sans-serif;
  --font-body:'Bricolage Grotesque', 'DM Sans', sans-serif;
  --transition:0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ---- CURSOR ---- */
.cursor { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: transform 0.1s; }
.cursor-follower { width: 32px; height: 32px; border: 1.5px solid rgba(37,99,235,0.4); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transition: transform 0.25s, width 0.3s, height 0.3s; }

/* ---- UTILITIES ---- */
.accent { color: var(--accent); }
.accent-gradient {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.outline-text { -webkit-text-stroke: 2px var(--ink); -webkit-text-fill-color: transparent; color: transparent; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-bg);
  padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(30px,4vw,50px); font-weight: 700; color: var(--ink); line-height: 1.1; }
.section-header p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: 50px; border: none; cursor: pointer;
  text-decoration: none; transition: var(--transition);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,0.3); }
.btn-primary.large { padding: 16px 38px; font-size: 16px; }
.btn-primary.full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: 50px; border: 1.5px solid var(--border2);
  cursor: pointer; text-decoration: none; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.center-btn { text-align: center; margin-top: 48px; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; background: var(--accent); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.logo-text { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--bg2); }
.btn-nav { display: inline-block; padding: 10px 22px; background: var(--accent); color: #fff !important; font-family: var(--font-head); font-weight: 600; font-size: 13px; border-radius: 50px; text-decoration: none; transition: var(--transition); flex-shrink: 0; }
.btn-nav:hover { background: var(--accent2); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 130px 40px 80px; max-width: 1240px; margin: 0 auto; gap: 60px;
  position: relative;
}
.hero::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(37,99,235,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(124,58,237,0.04) 0%, transparent 60%);
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--accent); background: var(--accent-bg);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 8px 16px; border-radius: 50px; margin-bottom: 28px;
  animation: fadeInUp 0.7s ease both;
}
.hero-badge .badge-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.hero-title {
  font-family: var(--font-head); font-size: clamp(48px,6.5vw,88px);
  font-weight: 700; line-height: 1.0; letter-spacing: -2px;
  margin-bottom: 22px; color: var(--ink);
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero-sub { font-size: 17px; color: var(--muted); max-width: 460px; margin-bottom: 40px; line-height: 1.7; animation: fadeInUp 0.7s 0.2s ease both; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; animation: fadeInUp 0.7s 0.3s ease both; }
.hero-stats { display: flex; align-items: center; gap: 28px; animation: fadeInUp 0.7s 0.4s ease both; }
.stat-num { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--ink); }
.stat p { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; margin-top: 1px; }
.stat-div { width: 1px; height: 36px; background: var(--border); }
.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-visual {
  position: relative; width: 440px; height: 460px;
}
.hero-main-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 24px;
  padding: 28px; box-shadow: var(--shadow-lg);
  position: absolute; top: 30px; left: 0; right: 0;
  animation: fadeInUp 0.7s 0.3s ease both;
}
.hmc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hmc-logo { width: 40px; height: 40px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-head); }
.hmc-name { font-weight: 600; font-size: 15px; }
.hmc-sub { font-size: 12px; color: var(--muted); }
.hmc-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-bottom: 16px; }
.chart-bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent-bg); transition: height 0.5s; }
.chart-bar.active { background: var(--accent); }
.hmc-stat { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.hmc-s-val { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); }
.hmc-s-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }
.hmc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 3px 8px; border-radius: 50px; margin-top: 4px; }

.float-pill {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 13px; font-weight: 500;
}
.fp1 { top: 0; right: 0; animation: float 4s ease-in-out infinite; }
.fp2 { bottom: 40px; right: -10px; animation: float 4s 1.5s ease-in-out infinite; }
.fp-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.fp-icon.blue { background: var(--accent-bg); }
.fp-icon.green { background: var(--green-bg); }

/* ---- MARQUEE ---- */
.marquee-wrap { overflow: hidden; background: var(--ink); padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 22s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.marquee-track .dot { color: var(--accent) !important; opacity: 1 !important; }

/* ---- ACCORDION CARDS ---- */
.services-section { padding: 100px 40px; max-width: 1240px; margin: 0 auto; }
.accordion-cards { display: flex; gap: 10px; height: 540px; }
.acc-card {
  position: relative; flex: 1; min-width: 72px; border-radius: 18px; overflow: hidden;
  cursor: pointer; transition: flex 0.65s cubic-bezier(0.4,0,0.2,1);
  background-size: cover !important; background-position: center !important;
}
.acc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,16,0.88) 0%, rgba(10,12,16,0.2) 50%, transparent 100%); transition: background 0.4s; }
.acc-card.active, .acc-card:hover { flex: 5; }
.acc-card:hover::after { background: linear-gradient(to top, rgba(10,12,16,0.82) 0%, rgba(10,12,16,0.15) 60%, transparent 100%); }
.acc-num { position: absolute; bottom: 20px; right: 16px; font-family: var(--font-head); font-size: 72px; font-weight: 700; color: rgba(255,255,255,0.08); z-index: 1; line-height: 1; }
.acc-label { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%) rotate(-90deg); white-space: nowrap; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.9); z-index: 2; transition: opacity 0.3s; }
.acc-card.active .acc-label, .acc-card:hover .acc-label { opacity: 0; }
.acc-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 2; opacity: 0; transform: translateY(16px); transition: opacity 0.4s 0.2s, transform 0.4s 0.2s; }
.acc-card.active .acc-content, .acc-card:hover .acc-content { opacity: 1; transform: translateY(0); }
.acc-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 50px; margin-bottom: 10px; }
.acc-content h3 { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.acc-content p { font-size: 14px; color: rgba(255,255,255,0.75); max-width: 320px; margin-bottom: 20px; }
.acc-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #fff; color: var(--accent); font-size: 18px; border-radius: 50%; text-decoration: none; font-weight: 700; transition: var(--transition); }
.acc-btn:hover { background: var(--accent); color: #fff; transform: scale(1.1); }

/* ---- WHY SECTION ---- */
.why-section { padding: 100px 40px; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-left h2 { font-family: var(--font-head); font-size: clamp(28px,3.5vw,44px); font-weight: 700; line-height: 1.15; margin-bottom: 18px; color: var(--ink); }
.why-left p { color: var(--muted); margin-bottom: 32px; }
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.why-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.why-card h4 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.why-card p { font-size: 13px; color: var(--muted); }

/* ---- PORTFOLIO ---- */
.portfolio-section { padding: 100px 40px; background: var(--white); }
.portfolio-inner { max-width: 1240px; margin: 0 auto; }
.portfolio-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.pf-btn { background: var(--bg2); border: 1px solid var(--border); color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 9px 20px; border-radius: 50px; cursor: pointer; transition: var(--transition); }
.pf-btn.active, .pf-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.port-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); }
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.2); }
.port-img { width: 100%; height: 220px; object-fit: cover; background: var(--bg2); display: block; }
.port-body { padding: 20px; }
.port-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.port-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; background: var(--accent-bg); color: var(--accent); }
.port-card h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.port-card p { font-size: 13px; color: var(--muted); }
.port-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.port-link:hover { gap: 10px; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 100px 40px; max-width: 1240px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative;
}
.testi-card::before { content: '"'; font-family: var(--font-head); font-size: 80px; font-weight: 700; color: var(--accent); opacity: 0.1; position: absolute; top: 12px; left: 20px; line-height: 1; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,0.2); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars span { color: #f59e0b; font-size: 14px; }
.testi-text { font-size: 15px; color: var(--ink2); line-height: 1.75; margin-bottom: 22px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.testi-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ---- BLOG PREVIEW ---- */
.blog-preview { padding: 100px 40px; max-width: 1240px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.blog-grid.full { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.2); }
.blog-card-img { width: 100%; height: 195px; object-fit: cover; background: var(--bg2); display: block; }
.blog-card-body { padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); background: var(--accent-bg); padding: 3px 10px; border-radius: 50px; }
.blog-date { font-size: 12px; color: var(--muted); }
.blog-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ink); line-height: 1.35; }
.blog-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.blog-read { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---- BLOG FILTER ---- */
.blog-section { padding: 50px 40px 100px; max-width: 1240px; margin: 0 auto; }
.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: var(--white); border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 500; padding: 9px 20px; border-radius: 50px; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- BLOG MODAL ---- */
.blog-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.blog-modal.open { opacity: 1; pointer-events: all; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10,12,16,0.6); backdrop-filter: blur(8px); }
.modal-content { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 22px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(0.97); transition: transform 0.4s; }
.blog-modal.open .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; background: var(--bg2); border: 1px solid var(--border); color: var(--ink); border-radius: 50%; cursor: pointer; font-size: 15px; z-index: 10; transition: var(--transition); }
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.modal-body { padding: 44px; }
.modal-body img { width: 100%; border-radius: 14px; margin-bottom: 26px; }
.modal-body h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.modal-body .modal-meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.modal-body p { color: var(--ink2); line-height: 1.85; margin-bottom: 14px; font-size: 15px; }
.modal-body h4 { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin: 26px 0 10px; color: var(--ink); }

/* ---- CTA ---- */
.cta-section { margin: 0 40px 80px; background: var(--ink); border-radius: 28px; padding: 90px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,0.3) 0%, transparent 70%); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--font-head); font-size: clamp(32px,4.5vw,58px); font-weight: 700; line-height: 1.1; margin-bottom: 14px; color: #fff; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }

/* ---- PAGE HERO ---- */
.page-hero { position: relative; padding: 150px 40px 70px; text-align: center; background: var(--white); border-bottom: 1px solid var(--border); }
.page-hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(42px,6vw,78px); font-weight: 700; letter-spacing: -2px; margin-bottom: 14px; color: var(--ink); }
.page-hero p { font-size: 17px; color: var(--muted); }

/* ---- ABOUT STORY ---- */
.about-story { padding: 80px 40px; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-img-wrap { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.story-badge { position: absolute; bottom: 22px; left: 22px; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 50px; }
.story-right h2 { font-family: var(--font-head); font-size: clamp(26px,3.2vw,40px); font-weight: 700; line-height: 1.2; margin-bottom: 18px; color: var(--ink); }
.story-right p { color: var(--muted); margin-bottom: 14px; }
.story-stats { display: flex; gap: 28px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.s-stat strong { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--accent); display: block; }
.s-stat span { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--accent); }
.s-stat p { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---- VALUES ---- */
.values-section { padding: 80px 40px; max-width: 1240px; margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.value-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s; }
.value-card:hover { border-color: rgba(37,99,235,0.25); transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card:hover::after { transform: scaleX(1); }
.val-num { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 18px; display: block; }
.value-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- TEAM ---- */
.team-section { padding: 80px 40px; max-width: 1240px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(37,99,235,0.2); }
.team-img { width: 100%; height: 230px; background: var(--bg2) center/cover; }
.team-info { padding: 20px; }
.team-info h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 3px; color: var(--ink); }
.team-info span { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.team-info p { font-size: 13px; color: var(--muted); }

/* ---- SERVICES DETAIL ---- */
.services-detail { padding: 60px 40px 80px; max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 70px; }
.srv-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.srv-card.reverse { direction: rtl; }
.srv-card.reverse > * { direction: ltr; }
.srv-img { height: 420px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.srv-num { font-family: var(--font-head); font-size: 56px; font-weight: 700; color: rgba(10,12,16,0.05); line-height: 1; display: block; margin-bottom: -8px; }
.srv-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.srv-body h2 { font-family: var(--font-head); font-size: clamp(26px,2.8vw,38px); font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.srv-body p { color: var(--muted); margin-bottom: 22px; }
.srv-list { list-style: none; margin-bottom: 28px; }
.srv-list li { font-size: 14px; color: var(--ink2); padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.srv-list li::before { content: '→'; color: var(--accent); font-weight: 700; }

/* ---- PROCESS ---- */
.process-section { padding: 80px 40px; max-width: 1240px; margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { text-align: center; padding: 36px 20px; position: relative; }
.ps-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.ps-line { position: absolute; top: 58px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 1px; background: linear-gradient(90deg, var(--accent), rgba(37,99,235,0.1)); }
.process-step:last-child .ps-line { display: none; }
.process-step h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.process-step p { font-size: 14px; color: var(--muted); }

/* ---- CONTACT ---- */
.contact-section { padding: 60px 40px 100px; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.contact-left h2 { font-family: var(--font-head); font-size: clamp(26px,2.8vw,38px); font-weight: 700; margin-bottom: 14px; line-height: 1.2; color: var(--ink); }
.contact-left p { color: var(--muted); margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); box-shadow: var(--shadow-sm); }
.ci-item:hover { border-color: rgba(37,99,235,0.3); box-shadow: var(--shadow); }
.ci-icon { font-size: 22px; flex-shrink: 0; }
.ci-item h5 { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 3px; letter-spacing: 0.5px; }
.ci-item p { font-size: 14px; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select { background: var(--bg); border: 1px solid var(--border); color: var(--ink); font-family: var(--font-body); font-size: 14px; padding: 12px 16px; border-radius: var(--radius-sm); outline: none; transition: border-color 0.25s; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); background: var(--white); }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; }
.form-success { display: none; padding: 14px; background: var(--green-bg); border: 1px solid rgba(5,150,105,0.3); border-radius: var(--radius-sm); color: var(--green); font-size: 14px; }

/* ---- FOOTER ---- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 40px 0; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 240px; opacity: 0.6; }
.footer-links h5, .footer-contact h5 { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 7px; }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: 270px; height: 100vh; background: var(--white); border-left: 1px solid var(--border); flex-direction: column; justify-content: center; padding: 60px 36px; gap: 6px; transition: right 0.4s ease; z-index: 999; box-shadow: var(--shadow-lg); }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 17px; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .ps-line { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 110px 24px 60px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-right { display: none; }
  .accordion-cards { flex-direction: column; height: auto; }
  .acc-card { min-height: 180px; flex: none !important; }
  .acc-card.active, .acc-card:hover { min-height: 380px; }
  .acc-label { writing-mode: horizontal-tb; transform: none; bottom: 16px; left: 16px; transform: translateX(0) !important; }
  .why-section, .about-story, .contact-section { grid-template-columns: 1fr; }
  .srv-card, .srv-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .srv-img { height: 260px; }
  .portfolio-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { margin: 0 20px 60px; padding: 60px 28px; }
  .nav-inner { padding: 0 24px; }
}
