/*
Theme Name: Showrav Hasan 2026
Theme URI: https://showravhasan.com
Author: Showrav Hasan
Author URI: https://showravhasan.com
Description: Custom theme-level redesign for showravhasan.com. SEO and AEO optimized (JSON-LD structured data, FAQPage/Service/Review/Article schema, llms.txt), Core Web Vitals friendly (zero dependencies, system fonts, deferred JS), with native contact form and custom content types for services, reviews, and case studies.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: showravhasan
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --bg: #000000;
  --bg-soft: #050605;
  --bg-elevated: #0d0f0c;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(214, 255, 145, 0.12);
  --border-strong: rgba(214, 255, 145, 0.24);
  --text: #f6faf0;
  --text-body: #d9e2d0;
  --muted: #97a48e;
  --accent: #a3e635;
  --accent-2: #4ade80;
  --accent-3: #bef264;
  --green: #4ade80;
  --trustpilot: #00b67a;
  --amber: #fbbf24;
  --red: #f87171;
  --gradient: linear-gradient(135deg, #d4f94c 0%, #a3e635 45%, #34d399 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.9);
  --header-h: 68px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-3); text-decoration: none; transition: color .18s ease; }
a:hover { color: #7dd3fc; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.18; margin: 0 0 .55em; font-weight: 750; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(163, 230, 53, .4); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #07130a; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #07130a; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(52px, 8vw, 100px) 0; position: relative; }
.section--tight { padding: clamp(34px, 5vw, 60px) 0; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gradient); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ==========================================================================
   3. Buttons, badges, chips
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  line-height: 1.2; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--gradient); color: #07130a; box-shadow: 0 10px 30px -12px rgba(163, 230, 53, .5); }
.btn--primary:hover { color: #07130a; box-shadow: 0 16px 38px -12px rgba(163, 230, 53, .65); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-3); background: rgba(163,230,53,.07); }
.btn--lg { padding: 16px 32px; font-size: 1.04rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; border-radius: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); font-size: .85rem; color: var(--text-body);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.15); }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600;
  background: rgba(163,230,53,.1); color: #cdf57e; border: 1px solid rgba(163,230,53,.28);
  transition: background .18s ease, color .18s ease;
}
a.tag:hover { background: rgba(163,230,53,.22); color: #e4ffa8; }
.tag--green { background: rgba(74,222,128,.1); color: #86efac; border-color: rgba(74,222,128,.3); }
.tag--amber { background: rgba(251,191,36,.1); color: #fcd34d; border-color: rgba(251,191,36,.3); }

.icon-svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ==========================================================================
   4. Cards
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.card h3 { margin-bottom: .5em; }

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(var(--container), 92%); margin-inline: auto; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gradient); color: #07130a; font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
  box-shadow: 0 6px 20px -6px rgba(163,230,53,.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .98rem; color: var(--text); }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 9px; color: var(--text-body);
  font-size: .93rem; font-weight: 550;
}
.main-nav a:hover { color: var(--text); background: var(--surface-strong); }
.main-nav li.current-menu-item > a, .main-nav li.current_page_item > a {
  color: var(--accent-3); background: rgba(163,230,53,.08);
}
.mobile-menu-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }

  /* Slide-down panel below the header; header (with toggle) stays on top. */
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(0, 0, 0, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 20px 20px calc(36px + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 1.1rem; font-weight: 600; color: var(--text-body);
    padding: 14px 18px; min-height: 52px; border-radius: 12px;
    border: 1px solid transparent;
  }
  .main-nav a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; color: var(--accent-3); }
  .main-nav a:hover::after, .main-nav a:active::after { opacity: 1; transform: none; }
  .main-nav a:active { background: var(--surface-strong); }
  .main-nav li.current-menu-item > a, .main-nav li.current_page_item > a {
    background: rgba(163,230,53,.08); border-color: rgba(163,230,53,.25); color: var(--accent-3);
  }
  .mobile-menu-cta { display: inline-flex; width: 100%; margin-top: 18px; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero { padding: calc(var(--header-h) + clamp(44px, 8vw, 90px)) 0 clamp(44px, 7vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -220px; right: -180px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,230,53,.16) 0%, transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -280px; left: -200px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.1) 0%, transparent 65%); pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(214,255,145,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(214,255,145,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero-title { margin: 18px 0 20px; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .88rem; align-items: center; }
.hero-meta a { color: var(--text-body); }
.hero-meta .sep { opacity: .4; }

.hero-visual { position: relative; justify-self: center; }
.hero-photo-wrap {
  position: relative; width: min(380px, 82%); margin-inline: auto; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 8px 60px -12px rgba(163,230,53,.25);
}
.hero-photo-wrap::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
}
.hero-glow { position: absolute; inset: -16%; background: radial-gradient(circle at 50% 30%, rgba(163,230,53,.24), transparent 60%); z-index: -1; }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(10, 12, 9, .92); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 10px 16px; font-size: .82rem; color: var(--text-body); box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-chip strong { color: var(--text); display: block; font-size: .95rem; }
.hero-chip--tl { top: 6%; left: -8%; }
.hero-chip--br { bottom: 8%; right: -6%; }
.hero-chip .chip-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(163,230,53,.14); color: var(--accent-3);
}
.hero-chip .chip-icon .icon-svg { width: 1.05em; height: 1.05em; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 4vw, 56px); margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stats > div { margin: 0; }
.hero-stats dt { order: 2; }
.hero-stats dd { order: 1; margin: 0; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .hero-photo-wrap { width: min(280px, 66%); }
  .hero-chip--tl { left: 2%; }
  .hero-chip--br { right: 2%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat-num { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { font-size: .82rem; gap: 6px 12px; }
  .hero-chip { padding: 8px 12px; font-size: .74rem; }
  .hero-chip strong { font-size: .85rem; }
}

/* ==========================================================================
   7. Logo strip
   ========================================================================== */
.logos { padding: 26px 0; border-block: 1px solid var(--border); background: var(--bg-soft); }
.logos-inner { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; }
.logos-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--mono); }
.logos img { height: 28px; width: auto; opacity: .75; filter: grayscale(1) brightness(1.6); transition: opacity .2s, filter .2s; }
.logos img:hover { opacity: 1; filter: none; }

/* ==========================================================================
   8. Case studies
   ========================================================================== */
.case-grid { display: grid; gap: 24px; }
.case-card { display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 28px 0; }
.case-body { padding: 20px 28px 28px; }
.case-steps { display: grid; gap: 16px; margin-top: 18px; }
.case-step { border-left: 2px solid rgba(163,230,53,.45); padding-left: 16px; }
.case-step dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-3); font-weight: 700; margin-bottom: 3px; font-family: var(--mono); }
.case-step dd { margin: 0; font-size: .94rem; color: var(--text-body); }

/* ==========================================================================
   9. Reviews (Trustpilot wall)
   ========================================================================== */
.review-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.review-summary .card { text-align: center; padding: 22px 16px; }
.review-big { font-size: 2rem; font-weight: 800; color: var(--text); }
.review-summary small { color: var(--muted); font-size: .82rem; }
.review-summary .trustpilot-stars { color: var(--trustpilot); font-size: 1.1rem; letter-spacing: 2px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote {
  margin: 0; font-size: .96rem; color: var(--text-body);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card blockquote::before { content: "“"; color: var(--trustpilot); font-size: 1.6rem; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #07130a; font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.review-avatar--alt { background: linear-gradient(135deg, #00b67a, #a3e635); color: #fff; }
.review-meta strong { color: var(--text); font-size: .92rem; display: block; line-height: 1.25; }
.review-meta span { color: var(--muted); font-size: .78rem; }
.review-stars { color: var(--trustpilot); letter-spacing: 2px; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.review-stars .tp-word { font-size: .72rem; color: var(--muted); letter-spacing: .04em; font-family: var(--mono); }
.review-source { font-size: .78rem; color: var(--muted); }
.review-source a { color: var(--trustpilot); }
.review-verify {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: .8rem; color: var(--trustpilot); font-weight: 600;
}
@media (max-width: 900px) { .review-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  /* Mobile: horizontal snap carousel instead of a deep vertical stack. */
  .review-grid--snap {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding: 4px 4.5% 14px; margin: 0 -4.5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .review-grid--snap::-webkit-scrollbar { display: none; }
  .review-grid--snap > * { flex: 0 0 84%; max-width: 340px; scroll-snap-align: center; }
}

/* ==========================================================================
   10. Split / about preview
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; color: var(--text-body); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
  background: rgba(52,211,153,.14); color: var(--green); border: 1px solid rgba(52,211,153,.3);
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img { max-width: 480px; }
}

/* ==========================================================================
   11. Services grid
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(163,230,53,.16), rgba(52,211,153,.14));
  border: 1px solid rgba(163,230,53,.32); font-size: 1.4rem; color: var(--accent-3);
}
.service-card p { color: var(--muted); font-size: .95rem; }
.service-scenarios { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 9px; flex: 1; }
.service-scenarios li { font-size: .9rem; padding-left: 22px; position: relative; color: var(--text-body); }
.service-scenarios li::before { content: "→"; position: absolute; left: 0; color: var(--accent-3); }
.service-link { font-weight: 650; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.service-link .arrow { transition: transform .18s ease; display: inline-block; }
.service-link:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   12. Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured { border-color: rgba(163,230,53,.5); background: linear-gradient(180deg, rgba(163,230,53,.08), var(--surface)); }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #07130a; font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.price-amount { font-size: 2.3rem; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.price-amount small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-features { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
.price-features li { padding-left: 26px; position: relative; font-size: .93rem; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ==========================================================================
   13. Workflow
   ========================================================================== */
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.workflow-step { position: relative; padding-top: 8px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--gradient); color: #07130a; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 8px 24px -8px rgba(163,230,53,.55);
}
.workflow-step h3 { font-size: 1.06rem; }
.workflow-step p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .workflow-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; color: var(--text);
  position: relative; font-size: .99rem; min-height: 56px; display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--accent-3); font-size: 1.05rem;
  transition: transform .25s ease, background .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(163,230,53,.14); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; margin: 0; }

/* ==========================================================================
   15. CTA band
   ========================================================================== */
.cta-band {
  border: 1px solid var(--border-strong); border-radius: 24px; padding: clamp(34px, 6vw, 64px);
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(163,230,53,.07), rgba(52,211,153,.04));
}
.cta-band::before {
  content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 560px; height: 280px;
  background: radial-gradient(ellipse, rgba(163,230,53,.2), transparent 70%); pointer-events: none;
}
.cta-band h2 { position: relative; }
.cta-band p { color: var(--muted); max-width: 560px; margin-inline: auto; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .hero-actions { justify-content: center; }
.cta-email { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: .95rem; color: var(--accent-3); }

/* ==========================================================================
   16. Contact form
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(163,230,53,.1); border: 1px solid rgba(163,230,53,.28); color: var(--accent-3);
}
.contact-info-item strong { color: var(--text); display: block; font-size: .95rem; }
.contact-info-item span { color: var(--muted); font-size: .88rem; }

.form-card { padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(0, 0, 0, .6); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(163,230,53,.18);
}
.form-field select option { background: var(--bg-elevated); }
.form-field .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #86efac; }
.form-status.is-err { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Intent cards (contact page) */
.intent-card { display: block; }
.intent-card .service-icon { margin-bottom: 16px; }
.intent-card p { font-size: .92rem; }

/* ==========================================================================
   17. Page hero (inner pages)
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 76px)) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 420px;
  background: radial-gradient(ellipse, rgba(163,230,53,.11), transparent 68%); pointer-events: none;
}
.page-hero p.lead { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.18rem); max-width: 760px; margin: 0; }
.page-hero .hero-actions { margin: 26px 0 0; }

.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-3); }
.breadcrumbs [aria-current] { color: var(--text-body); }

/* ==========================================================================
   18. About page
   ========================================================================== */
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.about-stats .card { padding: 22px; }
.about-stats .review-big { font-size: 1.65rem; }
.about-stats small { display: block; margin-top: 6px; font-size: .84rem; }

.timeline { position: relative; margin-top: 44px; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), transparent); opacity: .35; }
.timeline-item { position: relative; padding-left: 52px; }
.timeline-item::before {
  content: ""; position: absolute; left: 7px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(77,163,255,.14);
}
.timeline-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.timeline-role h3 { margin: 0; }
.timeline-meta { color: var(--accent-3); font-size: .85rem; font-weight: 650; }
.timeline-item ul { margin: 10px 0 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 700px) { .about-stats { grid-template-columns: 1fr; } }

.philosophy-grid, .skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skills-grid ul { margin: 12px 0 0; padding-left: 1.1em; font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 900px) { .philosophy-grid, .skills-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   19. Services detail
   ========================================================================== */
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.deliverables .card { padding: 22px; }
.deliverables h4 { margin-bottom: .4em; font-size: 1rem; color: var(--text); }
.deliverables p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .detail-side { position: static; } .deliverables { grid-template-columns: 1fr; } }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-grid .card h3 { display: flex; gap: 10px; align-items: center; }
.fit-grid ul { margin: 14px 0 0; padding-left: 1.1em; display: grid; gap: 9px; font-size: .93rem; color: var(--muted); }
@media (max-width: 800px) { .fit-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   20. Blog
   ========================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-elevated); position: relative; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-img--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(163,230,53,.16), rgba(52,211,153,.18));
}
.post-card-img--placeholder .ph-label {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #cdf57e; border: 1px dashed rgba(205,245,126,.4); padding: 8px 16px; border-radius: 8px;
}
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.post-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent-3); }
.post-card p { font-size: .92rem; color: var(--muted); margin: 0; }

.single-post { max-width: 780px; margin-inline: auto; }
.single-post .post-hero-img { border-radius: var(--radius); overflow: hidden; margin: 28px 0; border: 1px solid var(--border); }
.post-content { font-size: 1.04rem; }
.post-content h2 { margin-top: 1.9em; font-size: 1.5rem; }
.post-content h3 { margin-top: 1.6em; font-size: 1.2rem; }
.post-content img { border-radius: var(--radius-sm); border: 1px solid var(--border); margin: 1.4em 0; }
.post-content pre {
  background: #0a0c09; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  overflow-x: auto; font-size: .88rem; line-height: 1.6;
}
.post-content code { font-family: var(--mono); }
.post-content p code, .post-content li code {
  background: rgba(163,230,53,.1); border: 1px solid rgba(163,230,53,.24);
  padding: 1.5px 7px; border-radius: 6px; font-size: .86em; color: #cdf57e;
}
.post-content pre code { background: none; border: none; padding: 0; color: #c9d7ee; }
.post-content blockquote {
  border-left: 3px solid var(--accent); margin: 1.5em 0; padding: 12px 22px;
  background: var(--surface); border-radius: 0 10px 10px 0; color: var(--text-body);
}
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; display: block; overflow-x: auto; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.post-content th { background: var(--surface-strong); color: var(--text); }
.post-content ul, .post-content ol { margin: 1.1em 0; }
.post-content li { margin-bottom: .45em; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.post-nav a.card { font-size: .92rem; color: var(--text-body); }
.post-nav small { color: var(--muted); display: block; margin-bottom: 6px; }
@media (max-width: 700px) { .post-nav { grid-template-columns: 1fr; } }

/* ==========================================================================
   21. Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: clamp(44px, 6vw, 72px) 0 30px; margin-top: clamp(44px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 44px; }
.footer-about p { color: var(--muted); font-size: .92rem; max-width: 380px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-social a:hover { color: var(--accent-3); border-color: var(--accent); transform: translateY(-2px); }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--text-body); font-size: .93rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--accent-3); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #23b558; box-shadow: 0 12px 30px -8px rgba(35,181,88,.65);
  transition: transform .2s ease, opacity .4s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float.wa-pre { opacity: 0; transform: translateY(18px); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text);
  padding: 7px 14px; border-radius: 10px; font-size: .8rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover .wa-float-label, .wa-float.wa-hello .wa-float-label { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: wa-pulse 2.4s ease 2s 3; }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(35,181,88,.65), 0 0 0 0 rgba(35,181,88,.28); }
  50% { box-shadow: 0 12px 30px -8px rgba(35,181,88,.65), 0 0 0 16px rgba(35,181,88,0); }
}

/* ==========================================================================
   22. Scroll reveal
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal { opacity: 0; transform: translateY(18px); }
  .reveal-on .reveal.revealed {
    opacity: 1; transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }
  .reveal-on .reveal.revealed:hover { transform: translateY(-4px); }
  .reveal-on .card.reveal:nth-child(2) { transition-delay: .07s; }
  .reveal-on .card.reveal:nth-child(3) { transition-delay: .14s; }
  .reveal-on .card.reveal:nth-child(4) { transition-delay: .21s; }
}

/* ==========================================================================
   23. Utilities & misc
   ========================================================================== */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span {
  padding: 9px 15px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-body); font-size: .9rem;
}
.pagination .current { background: var(--gradient); border-color: transparent; color: #07130a; font-weight: 650; }

.resume-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0 34px; }
.resume-embed { border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.resume-embed iframe { display: block; width: 100%; height: 780px; border: 0; }
@media (max-width: 700px) { .resume-embed iframe { height: 560px; } }

.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: 4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .wa-float, .resume-toolbar { display: none !important; }
  body { background: #fff; color: #111; }
}
