/* ==========================================================================
   Eight Digital — Design System (RTL-first, Persian)
   ========================================================================== */

/* ---------- Fonts (self-hosted Vazirmatn) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 800 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #060A1A;
  --bg2: #0B1228;
  --card: #101838;
  --card2: #151F45;
  --line: rgba(154, 166, 214, .14);
  --line2: rgba(154, 166, 214, .32);
  --tx: #EEF2FF;
  --mut: #A6B0DC;
  --dim: #7A86B8;
  --vio: #7C5CFF;
  --pur: #A855F7;
  --cyan: #38BDF8;
  --gold: #FFC24B;
  --green: #34D399;
  --grad: linear-gradient(135deg, #7C5CFF 0%, #A855F7 55%, #38BDF8 130%);
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 20px 60px rgba(2, 5, 18, .55);
  --glow: 0 0 0 1px rgba(124, 92, 255, .35), 0 12px 40px rgba(124, 92, 255, .25);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif !important;
  font-size: 1.02rem;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset-inline-start: -20vw; top: -30vh;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(124, 92, 255, .16) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset-inline-end: -25vw; top: 20vh;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(56, 189, 248, .10) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.ek-header-wrap, .ek-main, .ek-footer-wrap { position: relative; z-index: 1; }

p { color: var(--mut); margin: 0 0 1.1em; }
strong { color: var(--tx); font-weight: 700; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  color: var(--tx);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.01em;
}
h2.wp-block-heading, .ek-main h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 .7em; }
h3.wp-block-heading, .ek-main h3 { font-size: 1.28rem; margin: 0 0 .5em; }

/* ---------- Layout ---------- */
.ek-container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.ek-section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.ek-main > * + * { margin-top: 0 !important; }

/* ---------- Header ---------- */
.ek-header-wrap {
  position: sticky; top: 0; z-index: 99;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 10, 26, .78);
  border-bottom: 1px solid var(--line);
}
.ek-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.ek-logo { display: inline-flex; align-items: center; gap: 12px; }
.ek-logo-t { display: flex; flex-direction: column; line-height: 1.3; font-weight: 900; font-size: 1.35rem; color: var(--tx); }
.ek-logo-t small { font-weight: 500; font-size: .68rem; color: var(--dim); letter-spacing: .02em; }
.ek-logo:hover .ek-logo-t { color: var(--tx); }
.ek-nav { display: flex; align-items: center; gap: 6px; }
.ek-nav > a {
  color: var(--mut); font-weight: 500; font-size: .95rem;
  padding: 9px 14px; border-radius: 12px; transition: all .2s;
}
.ek-nav > a:hover { color: var(--tx); background: rgba(124, 92, 255, .12); }
.ek-nav .ek-btn { margin-inline-start: 10px; }
.ek-burger { display: none; cursor: pointer; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.ek-burger span { display: block; width: 22px; height: 2px; background: var(--tx); margin: 5px 0; border-radius: 2px; transition: .3s; }
.ek-burger-input { display: none; }

/* ---------- Buttons ---------- */
.ek-btn, .wp-block-button .wp-block-button__link.ek-btn,
.wp-block-buttons .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 1rem;
  padding: 14px 30px; border-radius: 14px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 10px 30px rgba(124, 92, 255, .35);
}
.ek-btn:hover, .wp-block-buttons .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(124, 92, 255, .5);
  filter: brightness(1.08);
  color: #fff !important;
}
.ek-btn-ghost {
  background: transparent !important;
  border: 1px solid var(--line2);
  color: var(--tx) !important;
  box-shadow: none;
}
.ek-btn-ghost:hover { border-color: var(--vio); background: rgba(124, 92, 255, .08) !important; box-shadow: none; }
.ek-btn-sm { padding: 9px 18px; font-size: .88rem; border-radius: 12px; }

/* ---------- Hero ---------- */
.ek-sec-hero {
  background:
    radial-gradient(ellipse 80% 55% at 70% -5%, rgba(124, 92, 255, .22), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 110%, rgba(56, 189, 248, .12), transparent 60%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.ek-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ek-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .4);
  color: #C9BBFF; font-size: .85rem; font-weight: 500;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 22px;
}
.ek-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.ek-h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem) !important;
  font-weight: 900 !important; line-height: 1.5 !important;
  margin: 0 0 20px !important;
}
.ek-grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ek-lead { font-size: 1.14rem; color: var(--mut); max-width: 560px; margin-bottom: 30px; }
.ek-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.ek-hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--dim); font-size: .88rem; }
.ek-hero-trust b { color: var(--tx); font-weight: 800; }
.ek-hero-media { position: relative; }
.ek-hero-media::before {
  content: ''; position: absolute; inset: 8% 4%;
  background: var(--grad); opacity: .25; filter: blur(60px);
  border-radius: 40px; z-index: 0;
}
.ek-hero-img {
  position: relative; z-index: 1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}
.ek-hero-img img { display: block; width: 100%; height: auto; }
.ek-float-chip {
  position: absolute; z-index: 2;
  background: rgba(13, 20, 48, .92); border: 1px solid var(--line2);
  border-radius: 14px; padding: 10px 16px;
  font-size: .82rem; font-weight: 700; color: var(--tx);
  backdrop-filter: blur(8px); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.ek-float-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.ek-chip-1 { top: 7%; inset-inline-start: -4%; }
.ek-chip-2 { bottom: 9%; inset-inline-end: -3%; }
.ek-chip-1 .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.ek-chip-2 .dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

@keyframes ekfade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ek-sec-hero .ek-container > * { animation: ekfade .7s ease both; }
.ek-sec-hero .ek-container > *:nth-child(2) { animation-delay: .08s; }
.ek-sec-hero .ek-container > *:nth-child(3) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .ek-sec-hero .ek-container > * { animation: none; } }

/* ---------- Eyebrow + section headers ---------- */
.ek-eyebrow {
  display: inline-block; font-size: .84rem; font-weight: 700;
  color: #C9BBFF; background: rgba(124, 92, 255, .13);
  border: 1px solid rgba(124, 92, 255, .35);
  padding: 5px 14px; border-radius: 100px; margin: 0 0 16px;
}
.ek-sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.ek-sec-head p { margin-bottom: 0; }
.ek-center { text-align: center; }
.ek-center .ek-sec-head { margin-inline: auto; }

/* ---------- Stats ---------- */
.ek-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ek-stat {
  background: linear-gradient(180deg, var(--card) 0%, rgba(16, 24, 56, .5) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.ek-stat:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .5); }
.ek-stat b {
  display: block; font-size: 2rem; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.4; margin-bottom: 4px;
}
.ek-stat span { color: var(--dim); font-size: .9rem; }

/* ---------- Service cards ---------- */
.ek-cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ek-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ek-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ek-card {
  background: linear-gradient(180deg, var(--card) 0%, rgba(16, 24, 56, .35) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.ek-card:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .55); box-shadow: var(--glow); }
.ek-card h3 { margin: 0 0 10px; font-size: 1.22rem; }
.ek-card p { margin: 0; font-size: .95rem; color: var(--mut); }
.ek-card .ek-more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .92rem; }
.ek-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124, 92, 255, .15); border: 1px solid rgba(124, 92, 255, .35);
  margin-bottom: 18px; flex-shrink: 0;
}
.ek-icon svg { width: 26px; height: 26px; stroke: #C9BBFF; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ek-icon.cy { background: rgba(56, 189, 248, .13); border-color: rgba(56, 189, 248, .35); }
.ek-icon.cy svg { stroke: #7DD3FC; }
.ek-icon.gd { background: rgba(255, 194, 75, .12); border-color: rgba(255, 194, 75, .35); }
.ek-icon.gd svg { stroke: var(--gold); }
.ek-icon.gr { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); }
.ek-icon.gr svg { stroke: var(--green); }

/* ---------- Media split (image + text) ---------- */
.ek-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.ek-split-img {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line2); box-shadow: var(--shadow);
}
.ek-split-img img { display: block; width: 100%; height: auto; }
.ek-checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ek-checklist li {
  position: relative; padding-inline-start: 34px; margin-bottom: 12px; color: var(--mut);
}
.ek-checklist li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px;
  background: rgba(52, 211, 153, .15); color: var(--green);
  font-size: .8rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Steps ---------- */
.ek-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: ekstep; }
.ek-steps.s3 { grid-template-columns: repeat(3, 1fr); }
.ek-steps.s5 { grid-template-columns: repeat(5, 1fr); }
.ek-step {
  position: relative; background: rgba(16, 24, 56, .6);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 22px; overflow: hidden;
}
.ek-step::before {
  counter-increment: ekstep; content: counter(ekstep, decimal);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.1rem;
  margin-bottom: 16px; font-family: inherit;
}
.ek-step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.ek-step p { font-size: .9rem; margin: 0; }

/* ---------- CTA band ---------- */
.ek-band {
  position: relative; overflow: hidden;
  background: var(--grad);
  border-radius: 32px; padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.ek-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 120%, rgba(255,255,255,.22), transparent 60%);
}
.ek-band > * { position: relative; }
.ek-band h2 { color: #fff !important; font-size: clamp(1.7rem, 3.4vw, 2.5rem) !important; margin-bottom: 12px !important; }
.ek-band p { color: rgba(255, 255, 255, .88) !important; max-width: 560px; margin-inline: auto; }
.ek-band .ek-btn {
  background: #0B1228; color: #fff;
  box-shadow: 0 12px 34px rgba(4, 8, 26, .5);
}
.ek-band .ek-btn:hover { background: #101A3C; }

/* ---------- FAQ ---------- */
.ek-faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.ek-faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .2s;
}
.ek-faq details[open] { border-color: rgba(124, 92, 255, .5); }
.ek-faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 24px; font-weight: 700; color: var(--tx);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.02rem;
}
.ek-faq summary::-webkit-details-marker { display: none; }
.ek-faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--vio);
  transition: transform .25s; line-height: 1; flex-shrink: 0;
}
.ek-faq details[open] summary::after { transform: rotate(45deg); }
.ek-faq details p { padding: 0 24px 20px; margin: 0; }

/* ---------- Quotes / testimonials ---------- */
.ek-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ek-quotes.q2 { grid-template-columns: repeat(2, 1fr); }
.ek-quote-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.ek-quote-card .stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.ek-quote-card blockquote { margin: 0 0 18px; color: var(--mut); font-size: .97rem; }
.ek-quote-card figcaption, .ek-quote-card .who { margin-top: auto; color: var(--tx); font-weight: 700; font-size: .92rem; }
.ek-quote-card .who small { display: block; color: var(--dim); font-weight: 500; }

/* ---------- Pricing ---------- */
.ek-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ek-plan {
  position: relative; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
  padding: 34px 28px; display: flex; flex-direction: column;
}
.ek-plan.featured { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--glow); }
.ek-plan .tag {
  position: absolute; top: 18px; inset-inline-end: 18px;
  background: rgba(52, 211, 153, .15); color: var(--green);
  border: 1px solid rgba(52, 211, 153, .4);
  font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px;
}
.ek-plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.ek-plan .price { font-size: 1.9rem; font-weight: 900; color: var(--tx); margin-bottom: 2px; }
.ek-plan .price small { font-size: .85rem; font-weight: 500; color: var(--dim); }
.ek-plan .cond { color: var(--dim); font-size: .82rem; margin-bottom: 20px; }
.ek-plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.ek-plan ul li { position: relative; padding-inline-start: 30px; margin-bottom: 11px; color: var(--mut); font-size: .93rem; }
.ek-plan ul li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }
.ek-plan .ek-btn { margin-top: auto; width: 100%; text-align: center; justify-content: center; }

/* ---------- Blog cards ---------- */
.ek-posts .ek-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.ek-post-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.ek-post-card:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .5); box-shadow: var(--glow); }
.ek-post-card-img { margin: 0 !important; }
.ek-post-card-img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ek-post-card .ek-post-meta, .ek-post-card time {
  display: block; padding: 18px 22px 0; color: var(--dim); font-size: .8rem;
}
.ek-post-card-title { font-size: 1.12rem !important; line-height: 1.7 !important; padding: 0 22px !important; margin: 8px 0 0 !important; }
.ek-post-card-title a { color: var(--tx); }
.ek-post-card-title a:hover { color: #C9BBFF; }
.ek-post-card-x { padding: 0 22px !important; font-size: .9rem; margin: 0 0 8px !important; }
.ek-post-card .ek-more { display: inline-block; padding: 0 22px 22px; font-weight: 700; color: var(--cyan); font-size: .9rem; }
.ek-post-card .ek-more:hover { color: var(--gold); }
.ek-pager { margin-top: 44px; gap: 8px; flex-wrap: wrap; }
.ek-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line);
  color: var(--mut); font-weight: 600;
}
.ek-pager .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }
.ek-pager .page-numbers:hover { color: var(--tx); border-color: var(--line2); }

/* ---------- Single article ---------- */
.ek-articlehead { padding-bottom: 0; }
.ek-article-wrap { max-width: 780px; }
.ek-single-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem) !important; font-weight: 900 !important; margin: 10px 0 26px !important; }
.ek-single-img { margin: 0 0 12px !important; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ek-single-img img { width: 100%; display: block; }
.ek-sec-article { padding-top: clamp(36px, 5vw, 54px); }
.ek-sec-article h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.6em 0 .6em; }
.ek-sec-article h3 { font-size: 1.2rem; margin: 1.3em 0 .5em; }
.ek-sec-article ul { padding-inline-start: 22px; }
.ek-sec-article ul li { margin-bottom: 10px; color: var(--mut); }
.ek-sec-article ul li::marker { color: var(--vio); }
.ek-sec-article blockquote {
  border-inline-start: 4px solid var(--vio); background: rgba(124, 92, 255, .07);
  margin: 1.4em 0; padding: 18px 24px; border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--tx); font-weight: 500;
}
.ek-sec-article blockquote p { color: var(--tx); }
.ek-sec-article a { text-decoration: underline; text-decoration-color: rgba(56, 189, 248, .4); text-underline-offset: 4px; }
.ek-sec-article a:hover { text-decoration-color: var(--gold); }
.ek-authorbox {
  margin-top: 48px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 28px;
}
.ek-authorbox p { margin: 0; font-size: .95rem; }

/* ---------- Page head (inner pages) ---------- */
.ek-pagehead { text-align: center; padding-bottom: clamp(36px, 5vw, 60px); }
.ek-pagehead .ek-lead { margin-inline: auto; }
.ek-pagehead .ek-h1 { margin-bottom: 14px !important; }

/* ---------- Contact form ---------- */
.ek-form { display: grid; gap: 16px; max-width: 640px; margin-inline: auto; }
.ek-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ek-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--tx); }
.ek-form input, .ek-form select, .ek-form textarea {
  width: 100%; background: var(--bg2); color: var(--tx);
  border: 1px solid var(--line2); border-radius: 12px;
  padding: 13px 16px; font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.ek-form input:focus, .ek-form select:focus, .ek-form textarea:focus {
  outline: none; border-color: var(--vio); box-shadow: 0 0 0 3px rgba(124, 92, 255, .22);
}
.ek-form textarea { min-height: 130px; resize: vertical; }
.ek-form .hp { position: absolute; inset-inline-end: -9999px; }
.ek-form .ek-note { font-size: .84rem; color: var(--dim); text-align: center; margin: 0; }
.ek-form-ok {
  background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4);
  color: var(--green); border-radius: 12px; padding: 14px 18px; font-weight: 600; display: none;
}
.ek-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.ek-contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px; text-align: center;
}
.ek-contact-card b { display: block; color: var(--tx); margin-bottom: 4px; }
.ek-contact-card span { color: var(--mut); font-size: .9rem; }
.ek-contact-card a { color: var(--cyan); }

/* ---------- Portfolio ---------- */
.ek-folio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ek-folio-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ek-folio-card:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .5); box-shadow: var(--glow); }
.ek-folio-screen { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.ek-folio-screen::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0; inset-inline-end: 0; height: 26px;
  background: rgba(6, 10, 26, .85); display: block; z-index: 2;
}
.ek-folio-screen::after {
  content: '● ● ●'; position: absolute; top: 5px; inset-inline-start: 14px; z-index: 3;
  color: var(--dim); font-size: 9px; letter-spacing: 3px;
}
.ek-folio-body { padding: 22px 24px; }
.ek-folio-body h3 { margin: 0 0 6px; font-size: 1.08rem; }
.ek-folio-body p { margin: 0 0 12px; font-size: .88rem; }
.ek-folio-body .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ek-folio-body .chips span {
  font-size: .72rem; background: rgba(124, 92, 255, .13); color: #C9BBFF;
  border: 1px solid rgba(124, 92, 255, .3); padding: 3px 10px; border-radius: 100px;
}

/* ---------- Footer ---------- */
.ek-footer-wrap { margin-top: clamp(50px, 7vw, 90px); }
.ek-footer {
  background: #04081A; border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.ek-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ek-footer-brand p { font-size: .92rem; margin-top: 18px; }
.ek-footer-col h3 { font-size: 1rem; margin: 0 0 18px; color: var(--tx); }
.ek-footer-col ul { list-style: none; padding: 0; margin: 0 0 18px; }
.ek-footer-col li { margin-bottom: 11px; }
.ek-footer-col a, .ek-footer-col span { color: var(--mut); font-size: .92rem; transition: color .2s; }
.ek-footer-col a:hover { color: var(--gold); }
.ek-footer-bar {
  margin-top: 44px; padding: 20px 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--dim); font-size: .82rem;
}

/* ---------- WP core alignment fixes inside our layout ---------- */
.ek-main .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.ek-main figure.wp-block-image img { border-radius: var(--r-lg); }
.ek-main .wp-block-image { margin-bottom: 1.4em; }
.ek-main .wp-block-separator { border-color: var(--line); opacity: 1; }
.alignfull, .alignwide { max-width: 100vw; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ek-cards4 { grid-template-columns: repeat(2, 1fr); }
  .ek-steps, .ek-steps.s5 { grid-template-columns: repeat(2, 1fr); }
  .ek-steps.s3 { grid-template-columns: repeat(3, 1fr); }
  .ek-pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ek-quotes, .ek-folio { grid-template-columns: repeat(2, 1fr); }
  .ek-posts .ek-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .ek-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .ek-burger { display: block; }
  .ek-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(6, 10, 26, .98); border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px; backdrop-filter: blur(20px);
  }
  .ek-burger-input:checked ~ .ek-nav { display: flex; }
  .ek-nav > a { padding: 12px 14px; font-size: 1rem; }
  .ek-nav .ek-btn { margin: 8px 0 0; justify-content: center; }
  .ek-hero-grid, .ek-split { grid-template-columns: 1fr; }
  .ek-hero-media { order: -1; max-width: 560px; }
  .ek-chip-1 { inset-inline-start: 2%; }
  .ek-chip-2 { inset-inline-end: 2%; }
  .ek-stats { grid-template-columns: repeat(2, 1fr); }
  .ek-cards2, .ek-cards3 { grid-template-columns: 1fr; }
  .ek-quotes, .ek-folio, .ek-posts .ek-posts-grid { grid-template-columns: 1fr; }
  .ek-steps, .ek-steps.s3, .ek-steps.s5 { grid-template-columns: 1fr; }
  .ek-contact-cards { grid-template-columns: 1fr; }
  .ek-form-row { grid-template-columns: 1fr; }
  .ek-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ek-footer-bar { justify-content: center; text-align: center; }
}
