/*
Theme Name: ARK Resources - Computer Repair & Upgrades
Author: ARK Resources
Description: A fast, responsive, customizable WordPress theme for computer repair, upgrades, diagnostics, data recovery, managed IT, and local technology service businesses.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ark-resources
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, right-sidebar, wide-blocks
*/

:root {
  --ark-primary: #2563eb;
  --ark-secondary: #06b6d4;
  --ark-accent: #f59e0b;
  --ark-dark: #0b1220;
  --ark-surface: #111827;
  --ark-text: #172033;
  --ark-muted: #64748b;
  --ark-light: #f8fafc;
  --ark-white: #ffffff;
  --ark-border: #dbe4f0;
  --ark-radius: 18px;
  --ark-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --ark-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ark-text);
  background: var(--ark-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ark-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #1d4ed8; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--ark-secondary) 70%, white); outline-offset: 3px; }

.ark-container { width: min(calc(100% - 40px), var(--ark-container)); margin-inline: auto; }
.ark-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.ark-section { padding: 92px 0; }
.ark-section--muted { background: var(--ark-light); }
.ark-section--dark { color: var(--ark-white); background: var(--ark-dark); }
.ark-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--ark-primary); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ark-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.ark-section-title { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; }
.ark-section-intro { max-width: 720px; margin: 0; color: var(--ark-muted); font-size: 1.1rem; }
.ark-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; color: #111; background: #fff; clip: auto !important; font-weight: 700; }

.ark-topbar { color: rgba(255,255,255,.82); background: #050914; font-size: .88rem; }
.ark-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ark-topbar__items, .ark-socials { display: flex; align-items: center; gap: 18px; }
.ark-topbar a { color: inherit; text-decoration: none; }
.ark-topbar a:hover { color: #fff; }
.ark-socials a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(219,228,240,.8); }
.admin-bar .site-header { top: 32px; }
.ark-header__inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 13px; min-width: 220px; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-width: 220px; max-height: 62px; width: auto; }
.ark-brand-fallback { display: flex; align-items: center; gap: 12px; color: var(--ark-dark); text-decoration: none; }
.ark-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--ark-primary), var(--ark-secondary)); font-size: 1rem; font-weight: 900; letter-spacing: -.05em; box-shadow: 0 10px 24px color-mix(in srgb, var(--ark-primary) 30%, transparent); }
.ark-brand-name { display: block; font-size: 1.03rem; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
.ark-brand-tagline { display: block; margin-top: 3px; color: var(--ark-muted); font-size: .72rem; font-weight: 650; }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { position: relative; display: block; color: var(--ark-text); text-decoration: none; font-size: .94rem; font-weight: 750; }
.main-navigation a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; transform: scaleX(0); background: var(--ark-primary); transition: transform .2s ease; }
.main-navigation a:hover::after, .main-navigation .current-menu-item > a::after { transform: scaleX(1); }
.ark-header-cta { flex: 0 0 auto; }
.ark-menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--ark-border); border-radius: 12px; background: #fff; }
.ark-menu-toggle span, .ark-menu-toggle span::before, .ark-menu-toggle span::after { display: block; width: 20px; height: 2px; margin: auto; background: var(--ark-dark); transition: .2s ease; }
.ark-menu-toggle span { position: relative; }
.ark-menu-toggle span::before, .ark-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.ark-menu-toggle span::before { top: -6px; }
.ark-menu-toggle span::after { top: 6px; }
.ark-menu-toggle[aria-expanded="true"] span { background: transparent; }
.ark-menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.ark-menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.ark-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 21px;
  border: 1px solid transparent; border-radius: 12px; color: #fff; background: var(--ark-primary); box-shadow: 0 10px 24px color-mix(in srgb, var(--ark-primary) 24%, transparent);
  text-decoration: none; font-size: .95rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ark-button:hover { color: #fff; transform: translateY(-2px); background: color-mix(in srgb, var(--ark-primary) 87%, #000); box-shadow: 0 16px 32px color-mix(in srgb, var(--ark-primary) 30%, transparent); }
.ark-button--secondary { color: var(--ark-dark); background: #fff; border-color: var(--ark-border); box-shadow: none; }
.ark-button--secondary:hover { color: var(--ark-dark); background: var(--ark-light); }
.ark-button--accent { color: #1f2937; background: var(--ark-accent); box-shadow: 0 10px 24px color-mix(in srgb, var(--ark-accent) 28%, transparent); }
.ark-button--small { min-height: 42px; padding: 10px 17px; font-size: .86rem; }
.ark-link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; text-decoration: none; }
.ark-link-arrow::after { content: "→"; transition: transform .2s ease; }
.ark-link-arrow:hover::after { transform: translateX(4px); }

.ark-hero { position: relative; overflow: hidden; color: #fff; background: var(--ark-dark); }
.ark-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ark-secondary) 25%, transparent), transparent 36%), radial-gradient(circle at 10% 70%, color-mix(in srgb, var(--ark-primary) 24%, transparent), transparent 34%); }
.ark-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.ark-hero__inner { position: relative; z-index: 1; min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-block: 88px; }
.ark-hero__badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #dbeafe; background: rgba(255,255,255,.06); font-size: .79rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ark-hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.13); }
.ark-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.06em; }
.ark-hero h1 em { color: var(--ark-secondary); font-style: normal; }
.ark-hero__text { max-width: 650px; margin: 24px 0 0; color: #cbd5e1; font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.ark-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.ark-hero__proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 35px; color: #cbd5e1; font-size: .9rem; }
.ark-hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.ark-hero__proof span::before { content: "✓"; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #052e16; background: #86efac; font-size: .72rem; font-weight: 900; }

.ark-tech-panel { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); box-shadow: 0 35px 90px rgba(0,0,0,.38); backdrop-filter: blur(14px); }
.ark-tech-panel::before { content: ""; position: absolute; inset: -20px; z-index: -1; border-radius: 38px; background: linear-gradient(135deg, color-mix(in srgb, var(--ark-primary) 35%, transparent), color-mix(in srgb, var(--ark-secondary) 25%, transparent)); filter: blur(38px); opacity: .52; }
.ark-tech-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ark-window-dots { display: flex; gap: 6px; }
.ark-window-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.ark-system-label { color: #94a3b8; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ark-device { position: relative; min-height: 310px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #0f172a, #020617); border: 1px solid rgba(255,255,255,.08); }
.ark-device::before { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid rgba(6,182,212,.28); border-radius: 50%; box-shadow: 0 0 0 26px rgba(37,99,235,.06), 0 0 0 54px rgba(6,182,212,.04); animation: arkPulse 4s ease-in-out infinite; }
.ark-device__icon { position: relative; z-index: 2; width: 150px; height: 105px; border: 4px solid #dbeafe; border-radius: 10px; box-shadow: inset 0 0 35px rgba(6,182,212,.25), 0 0 40px rgba(37,99,235,.22); }
.ark-device__icon::before { content: ""; position: absolute; right: 15px; bottom: -22px; left: 15px; height: 4px; border-radius: 3px; background: #dbeafe; box-shadow: 0 8px 0 -1px #dbeafe; }
.ark-device__icon::after { content: "ARK"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ark-secondary); font-size: 1.7rem; font-weight: 950; letter-spacing: .12em; }
.ark-scanline { position: absolute; z-index: 3; top: 20%; right: 12%; left: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--ark-secondary), transparent); box-shadow: 0 0 18px var(--ark-secondary); animation: arkScan 3s ease-in-out infinite; }
.ark-metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.ark-metric { padding: 12px; border-radius: 13px; background: rgba(2,6,23,.55); border: 1px solid rgba(255,255,255,.08); }
.ark-metric strong { display: block; color: #fff; font-size: 1.05rem; }
.ark-metric span { color: #94a3b8; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes arkPulse { 50% { transform: scale(1.05); opacity: .75; } }
@keyframes arkScan { 0%,100% { top: 20%; opacity: .2; } 50% { top: 78%; opacity: 1; } }

.ark-trustbar { position: relative; z-index: 2; margin-top: -1px; color: #fff; background: linear-gradient(90deg, var(--ark-primary), #1e40af 55%, #0e7490); }
.ark-trustbar__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ark-stat { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.ark-stat:last-child { border-right: 0; }
.ark-stat strong { display: block; font-size: 1.55rem; line-height: 1.1; }
.ark-stat span { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font-size: .82rem; }

.ark-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ark-service-card { position: relative; min-height: 275px; padding: 30px; overflow: hidden; border: 1px solid var(--ark-border); border-radius: var(--ark-radius); background: #fff; box-shadow: 0 12px 35px rgba(15,23,42,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ark-service-card::after { content: ""; position: absolute; right: -42px; bottom: -42px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--ark-primary) 7%, transparent); transition: transform .25s ease; }
.ark-service-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--ark-primary) 40%, var(--ark-border)); box-shadow: var(--ark-shadow); }
.ark-service-card:hover::after { transform: scale(1.35); }
.ark-service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 15px; color: var(--ark-primary); background: color-mix(in srgb, var(--ark-primary) 9%, #fff); }
.ark-service-icon svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ark-service-card h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.025em; }
.ark-service-card p { margin: 0 0 18px; color: var(--ark-muted); }

.ark-about-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.ark-about-visual { position: relative; min-height: 510px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(150deg, #0f172a, #1e3a8a); box-shadow: var(--ark-shadow); }
.ark-about-visual.has-image { background-size: cover; background-position: center; }
.ark-about-visual.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,23,.88), rgba(2,6,23,.1)); }
.ark-about-chip { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(2,6,23,.68); backdrop-filter: blur(12px); }
.ark-about-chip__icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; color: #052e16; background: #86efac; font-size: 1.3rem; font-weight: 900; }
.ark-about-chip strong { display: block; }
.ark-about-chip span { color: #cbd5e1; font-size: .83rem; }
.ark-circuit { position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(circle at center, rgba(6,182,212,.22) 0 2px, transparent 3px); background-size: 36px 36px; }
.ark-circuit::before, .ark-circuit::after { content: ""; position: absolute; border: 2px solid rgba(6,182,212,.35); }
.ark-circuit::before { width: 210px; height: 210px; top: 80px; left: 70px; border-radius: 40px; transform: rotate(18deg); }
.ark-circuit::after { width: 130px; height: 130px; top: 130px; left: 120px; border-radius: 50%; box-shadow: 0 0 50px rgba(6,182,212,.2); }
.ark-checklist { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.ark-checklist li { display: flex; gap: 12px; }
.ark-checklist li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; color: #065f46; background: #d1fae5; font-size: .78rem; font-weight: 900; }

.ark-process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: arkstep; }
.ark-process-card { position: relative; padding: 30px; border-radius: var(--ark-radius); background: #fff; border: 1px solid var(--ark-border); counter-increment: arkstep; }
.ark-process-card::before { content: "0" counter(arkstep); display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--ark-primary), var(--ark-secondary)); font-weight: 900; }
.ark-process-card h3 { margin: 0 0 9px; }
.ark-process-card p { margin: 0; color: var(--ark-muted); }
.ark-process-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 40px; right: -20px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ark-border); border-radius: 50%; background: #fff; font-weight: 900; }

.ark-testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ark-quote { margin: 0; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--ark-radius); background: rgba(255,255,255,.055); }
.ark-stars { color: var(--ark-accent); letter-spacing: .12em; }
.ark-quote blockquote { margin: 18px 0 24px; color: #e2e8f0; font-size: 1.03rem; }
.ark-quote figcaption strong { display: block; }
.ark-quote figcaption span { color: #94a3b8; font-size: .82rem; }

.ark-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ark-post-card { overflow: hidden; border: 1px solid var(--ark-border); border-radius: var(--ark-radius); background: #fff; box-shadow: 0 12px 35px rgba(15,23,42,.055); }
.ark-post-card__image { aspect-ratio: 16/9; display: block; overflow: hidden; background: linear-gradient(135deg, #dbeafe, #cffafe); }
.ark-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ark-post-card:hover img { transform: scale(1.04); }
.ark-post-card__body { padding: 24px; }
.ark-post-card__meta, .entry-meta { color: var(--ark-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 750; }
.ark-post-card h3 { margin: 9px 0 10px; font-size: 1.22rem; line-height: 1.25; }
.ark-post-card h3 a { color: var(--ark-text); text-decoration: none; }
.ark-post-card p { color: var(--ark-muted); }

.ark-cta { position: relative; overflow: hidden; padding: 58px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, var(--ark-primary), #1e3a8a 62%, #0e7490); box-shadow: 0 24px 70px color-mix(in srgb, var(--ark-primary) 24%, transparent); }
.ark-cta::after { content: ""; position: absolute; right: -100px; top: -150px; width: 360px; height: 360px; border: 55px solid rgba(255,255,255,.08); border-radius: 50%; }
.ark-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.ark-cta h2 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.1rem); line-height: 1.05; letter-spacing: -.045em; }
.ark-cta p { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.ark-cta__actions { display: flex; flex: 0 0 auto; gap: 12px; }

.ark-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ark-contact-card { padding: 34px; border: 1px solid var(--ark-border); border-radius: var(--ark-radius); background: #fff; }
.ark-contact-list { display: grid; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.ark-contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.ark-contact-list i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ark-primary); background: color-mix(in srgb, var(--ark-primary) 8%, white); font-style: normal; }
.ark-contact-list strong { display: block; }
.ark-contact-list span, .ark-contact-list a { color: var(--ark-muted); text-decoration: none; }
.ark-map-placeholder { min-height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: var(--ark-radius); color: #cbd5e1; background: linear-gradient(145deg, #111827, #0f172a); text-align: center; }
.ark-map-placeholder__inner { padding: 48px; }
.ark-map-placeholder strong { display: block; margin-bottom: 8px; color: #fff; font-size: 1.35rem; }

.site-content { min-height: 50vh; }
.ark-page-header { padding: 82px 0 62px; color: #fff; background: linear-gradient(135deg, var(--ark-dark), #172554); }
.ark-page-header h1 { margin: 0; font-size: clamp(2.4rem,5vw,4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.ark-page-header p { max-width: 760px; margin: 16px 0 0; color: #cbd5e1; }
.ark-content-wrap { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 52px; padding: 76px 0; }
.ark-content-wrap--full { display: block; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1120px; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-title { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.12; letter-spacing: -.04em; }
.entry-content h2, .entry-content h3 { line-height: 1.2; letter-spacing: -.025em; }
.entry-content blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--ark-primary); background: var(--ark-light); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--ark-border); text-align: left; }
.post-thumbnail { display: block; margin: 26px 0; overflow: hidden; border-radius: var(--ark-radius); }
.ark-post-list { display: grid; gap: 24px; }
.ark-post-list article { padding: 28px; border: 1px solid var(--ark-border); border-radius: var(--ark-radius); }
.ark-post-list h2 { margin: 8px 0 10px; }
.ark-post-list h2 a { color: var(--ark-text); text-decoration: none; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ark-border); border-radius: 10px; text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--ark-primary); border-color: var(--ark-primary); }
.widget { margin-bottom: 28px; padding: 24px; border: 1px solid var(--ark-border); border-radius: 16px; }
.widget-title { margin-top: 0; }
.widget ul { padding-left: 18px; }
.search-form { display: flex; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--ark-border); border-radius: 10px 0 0 10px; }
.search-submit { min-height: 46px; padding: 10px 14px; border: 0; border-radius: 0 10px 10px 0; color: #fff; background: var(--ark-primary); }
.comments-area { margin-top: 50px; }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin-bottom: 20px; padding: 22px; border: 1px solid var(--ark-border); border-radius: 14px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--ark-border); border-radius: 10px; }
.form-submit .submit { padding: 12px 20px; border: 0; border-radius: 10px; color: #fff; background: var(--ark-primary); font-weight: 800; }

.site-footer { color: #cbd5e1; background: #050914; }
.ark-footer-main { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 42px; padding: 72px 0 48px; }
.ark-footer-brand p { max-width: 360px; color: #94a3b8; }
.site-footer h3 { margin: 0 0 17px; color: #fff; font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.ark-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); color: #64748b; font-size: .83rem; }
.ark-footer-menu { display: flex; gap: 18px; }
.ark-footer-menu ul { display: flex; gap: 18px; }

@media (max-width: 1024px) {
  .ark-header-cta { display: none; }
  .main-navigation ul { gap: 18px; }
  .ark-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .ark-hero__content { max-width: 800px; }
  .ark-tech-panel { max-width: 720px; }
  .ark-services-grid, .ark-testimonials-grid, .ark-posts-grid { grid-template-columns: repeat(2,1fr); }
  .ark-about-grid { gap: 42px; }
  .ark-content-wrap { grid-template-columns: minmax(0,1fr) 290px; gap: 35px; }
  .ark-footer-main { grid-template-columns: 1.5fr repeat(2,1fr); }
}

@media (max-width: 820px) {
  .admin-bar .site-header { top: 46px; }
  .ark-topbar { display: none; }
  .ark-menu-toggle { display: block; }
  .main-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--ark-border); box-shadow: 0 18px 30px rgba(15,23,42,.12); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-navigation a { padding: 12px 4px; }
  .main-navigation a::after { display: none; }
  .ark-hero__inner { gap: 45px; padding-block: 70px; }
  .ark-trustbar__grid { grid-template-columns: repeat(2,1fr); }
  .ark-stat:nth-child(2) { border-right: 0; }
  .ark-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .ark-about-grid, .ark-contact-grid { grid-template-columns: 1fr; }
  .ark-about-visual { min-height: 420px; }
  .ark-process-grid { grid-template-columns: 1fr; }
  .ark-process-card:not(:last-child)::after { display: none; }
  .ark-cta__inner { align-items: flex-start; flex-direction: column; }
  .ark-content-wrap { grid-template-columns: 1fr; }
  .ark-footer-main { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .ark-container, .ark-narrow { width: min(calc(100% - 28px), var(--ark-container)); }
  .ark-section { padding: 70px 0; }
  .ark-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 32px; }
  .site-branding { min-width: 0; }
  .ark-brand-tagline { display: none; }
  .custom-logo { max-width: 170px; max-height: 54px; }
  .ark-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .ark-hero__actions, .ark-cta__actions { flex-direction: column; width: 100%; }
  .ark-hero__actions .ark-button, .ark-cta__actions .ark-button { width: 100%; }
  .ark-hero__proof { align-items: flex-start; flex-direction: column; gap: 11px; }
  .ark-tech-panel { padding: 14px; border-radius: 21px; }
  .ark-device { min-height: 240px; }
  .ark-metric-grid { grid-template-columns: 1fr; }
  .ark-services-grid, .ark-testimonials-grid, .ark-posts-grid { grid-template-columns: 1fr; }
  .ark-service-card { min-height: 0; }
  .ark-trustbar__grid { grid-template-columns: 1fr; }
  .ark-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .ark-stat:last-child { border-bottom: 0; }
  .ark-cta { padding: 36px 25px; }
  .ark-footer-main { grid-template-columns: 1fr; }
  .ark-footer-bottom { align-items: flex-start; flex-direction: column; }
  .ark-footer-menu ul { flex-wrap: wrap; }
}

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