/* ============================
   ACROCODING WORDPRESS THEME
   Main Stylesheet
   ============================ */

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

:root {
  --primary: #0A0F1E;
  --accent: #5B6BF8;
  --accent2: #00D4AA;
  --surface: #F8F9FF;
  --card: #FFFFFF;
  --text: #0A0F1E;
  --muted: #6B7280;
  --border: #E5E7F0;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.6; overflow-x: hidden; }

/* ---- NAVIGATION ---- */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(16px);
  display: flex; align-items: center;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #5B6BF8, #00D4AA);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #fff; letter-spacing: -1px;
}
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #fff; }
.logo-text span { color: #00D4AA; }
.logo img { max-height: 44px; width: auto; }

.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-links a.nav-cta {
  background: var(--accent); color: #fff;
  padding: 8px 20px; margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: #4a58e8; }

/* Mobile nav */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.mobile-nav {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,15,30,0.98); padding: 16px 5%; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a {
  display: block; color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 12px 0; font-size: 16px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.nav-cta { color: #00D4AA; border: none; margin-top: 8px; }
.mobile-nav.open { display: block; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--primary);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 5%;
  padding-top: calc(var(--nav-h) + 80px);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(91,107,248,0.15) 0%, transparent 60%),
              radial-gradient(ellipse 50% 80% at 20% 80%, rgba(0,212,170,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91,107,248,0.15); border: 1px solid rgba(91,107,248,0.3);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; color: #a5b0ff; font-weight: 500; margin-bottom: 28px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5B6BF8; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700; color: #fff; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
.hero h1 .accent { color: #00D4AA; }
.hero h1 .accent2 { color: #5B6BF8; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 40px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 56px; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #fff; }
.stat-num span { color: #00D4AA; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(10px);
}
.code-window { background: #0D1117; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.code-bar { background: #161B22; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FFBD2E; } .dot-g { background: #28CA42; }
.code-bar span { font-size: 12px; color: #8B949E; }
.code-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.8; }
.c-g { color: #79C0FF; } .c-p { color: #D2A8FF; } .c-y { color: #FFA657; } .c-w { color: #E6EDF3; } .c-m { color: #A5D6FF; }
.floating-badges { position: absolute; top: -20px; right: -20px; display: flex; flex-direction: column; gap: 12px; }
.tech-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
  color: #fff; backdrop-filter: blur(10px); white-space: nowrap;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary:hover { background: #4a58e8; transform: translateY(-1px); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.2s; cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

/* ---- SECTIONS ---- */
section { padding: 96px 5%; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: var(--text); line-height: 1.2; letter-spacing: -1px;
}
.section-sub { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 560px; line-height: 1.7; }

/* Page Hero */
.page-hero {
  background: var(--primary); text-align: center;
  padding: calc(var(--nav-h) + 80px) 5% 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(91,107,248,0.15) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: #fff;
  letter-spacing: -1.5px; margin: 16px 0;
}
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #00D4AA; }

/* ---- CLIENTS BAR ---- */
.clients-bar { padding: 40px 5%; background: #F8F9FF; overflow: hidden; }
.clients-label { text-align: center; margin-bottom: 24px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.clients-logos { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; opacity: 0.5; }
.clients-logos span { font-size: 15px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }

/* ---- SERVICES ---- */
.home-services { background: var(--surface); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; margin-bottom: 8px; }
.home-svcs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 56px; }
.svc-mini { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: 0.3s; }
.svc-mini:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(91,107,248,0.08); }
.svc-mini-icon { font-size: 28px; margin-bottom: 14px; }
.svc-mini h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; font-family: 'Space Grotesk', sans-serif; }
.svc-mini p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: all 0.3s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(91,107,248,0.1); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px; text-align: center; }
.why-card h3 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 10px; font-family: 'Space Grotesk', sans-serif; }
.why-card p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; }

/* ---- PROCESS ---- */
.process-section { background: #fff; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 56px; position: relative; }
.process-step { text-align: center; padding: 32px 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #00D4AA);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700;
  color: #fff; margin: 0 auto 20px;
}
.process-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; font-family: 'Space Grotesk', sans-serif; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.testimonial-card::before { content: '❝'; font-size: 56px; color: var(--accent); opacity: 0.15; position: absolute; top: 16px; right: 20px; font-family: serif; line-height: 1; }
.stars { color: #F59E0B; font-size: 16px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.t-name { font-size: 14px; font-weight: 600; }
.t-role { font-size: 13px; color: var(--muted); }

/* ---- PORTFOLIO ---- */
.portfolio-preview-section { background: #fff; }
.portfolio-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; margin-top: 40px; }
.filter-btn {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  transition: all 0.2s; color: var(--muted);
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.portfolio-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.1); }
.portfolio-thumb { height: 220px; position: relative; overflow: hidden; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.portfolio-info { padding: 24px; background: #fff; }
.portfolio-cat { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.portfolio-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.portfolio-info p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.portfolio-tech { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.portfolio-link { display: inline-block; margin-top: 16px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.portfolio-link:hover { color: #4a58e8; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, #0A0F1E 0%, #1a1f3e 100%);
  border-radius: 20px; padding: 48px 40px; border: 1px solid rgba(91,107,248,0.2);
}
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-stat { text-align: center; padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.about-stat-n { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #00D4AA; }
.about-stat-l { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.values-list { margin-top: 32px; }
.value-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }
.value-num { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent); min-width: 48px; opacity: 0.4; }
.value-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.value-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.team-section { margin-top: 80px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.team-card { background: var(--surface); border-radius: 16px; padding: 28px; text-align: center; border: 1px solid var(--border); transition: 0.3s; }
.team-card:hover { border-color: var(--accent); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.team-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--muted); }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; margin-top: 60px; }
.contact-info-block { background: var(--primary); border-radius: 20px; padding: 48px 40px; color: #fff; }
.contact-info-block h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.contact-info-block > p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.7; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-item:last-of-type { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: #fff; font-size: 15px; text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: #00D4AA; }
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; text-decoration: none; color: #fff;
  transition: all 0.2s;
}
.social-btn:hover { background: rgba(91,107,248,0.3); border-color: var(--accent); }

.contact-form { background: var(--surface); border-radius: 20px; padding: 48px 40px; border: 1px solid var(--border); }
.contact-form h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--text); transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 8px; margin-bottom: 20px; }
.submit-btn {
  width: 100%; padding: 15px; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s;
}
.submit-btn:hover { background: #4a58e8; transform: translateY(-1px); }
.success-msg { background: #ECFDF5; border: 1px solid #6EE7B7; border-radius: 10px; padding: 16px 20px; color: #065F46; font-size: 14px; font-weight: 500; margin-top: 16px; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--primary); text-align: center;
  padding: 96px 5%; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(91,107,248,0.2) 0%, transparent 70%);
}
.cta-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 700; color: #fff; letter-spacing: -1px; margin: 16px 0; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }

/* ---- FOOTER ---- */
#main-footer { background: var(--primary); color: rgba(255,255,255,0.7); }
.footer-main {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding: 72px 5% 56px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-top: 12px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: 0.2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-links a:hover { color: #00D4AA; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact-item a:hover { color: #00D4AA; }

/* ---- POST CONTENT ---- */
.post-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin: 32px 0 16px; }
.post-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; margin: 24px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--accent); }
.post-content img { max-width: 100%; border-radius: 12px; margin: 24px 0; }

/* ---- BLOG ---- */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.blog-search { position: relative; min-width: 280px; }
.blog-search input {
  width: 100%; padding: 12px 44px 12px 18px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff; font-size: 14px;
  font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s;
}
.blog-search input:focus { border-color: var(--accent); }
.blog-search button {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 34px;
  border: none; background: var(--accent); border-radius: 8px; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-cats a {
  padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.blog-cats a:hover, .blog-cats a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.featured-post {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: var(--primary); border-radius: 20px; overflow: hidden; margin: 48px 0 56px;
}
.featured-post-img { position: relative; min-height: 320px; background-size: cover; background-position: center; }
.featured-post-img .featured-tag {
  position: absolute; top: 20px; left: 20px; background: var(--accent2); color: #0A0F1E;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 6px;
}
.featured-post-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-post-cat { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #00D4AA; margin-bottom: 14px; }
.featured-post-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px,3vw,32px); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.featured-post-body p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.featured-post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font-size: 13px; color: rgba(255,255,255,0.45); }
.featured-post-meta span { display: flex; align-items: center; gap: 6px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 16px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(91,107,248,0.1); }
.blog-card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.blog-card-img .no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.blog-card-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--text); text-decoration: none; }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.blog-card-meta span { display: flex; align-items: center; gap: 5px; }
.blog-card-readmore { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.blog-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  border-radius: 10px; border: 1.5px solid var(--border); color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 0 14px; transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.blog-empty { text-align: center; padding: 80px 20px; }
.blog-empty .blog-empty-icon { font-size: 48px; margin-bottom: 16px; }
.blog-empty h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-bottom: 10px; }
.blog-empty p { color: var(--muted); font-size: 15px; }

.blog-sidebar-cta {
  margin-top: 64px; background: linear-gradient(135deg, var(--primary) 0%, #1a1f3e 100%);
  border-radius: 20px; padding: 48px 40px; text-align: center; border: 1px solid rgba(91,107,248,0.2);
}
.blog-sidebar-cta h3 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 22px; margin-bottom: 10px; }
.blog-sidebar-cta p { color: rgba(255,255,255,0.55); font-size: 15px; max-width: 480px; margin: 0 auto 24px; }

/* ---- GET A QUOTE PAGE ---- */
.quote-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; margin-top: 48px; }
.quote-side { position: sticky; top: 100px; }
.quote-side h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.quote-side > p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 32px; }
.quote-perk { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.quote-perk:last-of-type { border-bottom: none; }
.quote-perk-icon {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(91,107,248,0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.quote-perk h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.quote-perk p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.quote-trust { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.quote-trust-stat { text-align: center; }
.quote-trust-stat .n { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent); }
.quote-trust-stat .l { font-size: 12px; color: var(--muted); }

.quote-form-card { background: var(--surface); border-radius: 20px; padding: 48px 44px; border: 1px solid var(--border); }
.quote-form-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.quote-form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 32px; }
.quote-step-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 28px 0 16px; }
.quote-step-label:first-of-type { margin-top: 0; }
.budget-options, .timeline-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 8px; }
.choice-pill { position: relative; }
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 10px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all 0.2s; min-height: 44px;
}
.choice-pill input:checked + label { background: var(--accent); color: #fff; border-color: var(--accent); }
.service-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 8px; }
.service-check { position: relative; }
.service-check input { position: absolute; opacity: 0; pointer-events: none; }
.service-check label {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff; font-size: 13.5px; font-weight: 500;
  color: var(--text); cursor: pointer; transition: all 0.2s;
}
.service-check label::before {
  content: ''; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--border); flex-shrink: 0; transition: all 0.2s;
}
.service-check input:checked + label { border-color: var(--accent); background: rgba(91,107,248,0.06); }
.service-check input:checked + label::before { background: var(--accent); border-color: var(--accent); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-side { position: static; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 220px; }
  .services-header { grid-template-columns: 1fr; }
  .services-header div[style*="text-align:right"] { text-align: left !important; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  section { padding: 64px 5%; }
  .hero { padding: 40px 5%; padding-top: calc(var(--nav-h) + 40px); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .contact-info-block { padding: 32px 24px; }
  .floating-badges { display: none; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { min-width: 0; }
  .featured-post-body { padding: 32px 24px; }
  .quote-form-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .cta-section div[style*="display:flex"] { flex-direction: column; align-items: center; }
  .services-header { display: block; }
}
