/* ════════════════════════════════════════════════════════════
   ds2k Cloud Services — main.css
   All site styles. Edit freely.
   ════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #070D1A;
  --surface:   #0E1829;
  --surface2:  #162035;
  --border:    #1E2D45;
  --cyan:      #00C8FF;
  --cyan-dim:  rgba(0,200,255,0.12);
  --cyan-glow: rgba(0,200,255,0.26);
  --purple:    #7B5EA7;
  --text:      #E8EEF8;
  --muted:     #6B7A99;
  --white:     #FFFFFF;
  --radius:    12px;
  --radius-lg: 20px;
  --ease:      0.25s ease;
  /* Accent colours for problem cards */
  --danger:    rgba(245,66,54,0.12);
  --danger-b:  rgba(245,66,54,0.2);
  --danger-h:  rgba(245,66,54,0.55);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--cyan); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.85rem; font-weight: 600; }
p  { line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, #00C8FF 0%, #7B5EA7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-surface { background: var(--surface); }

/* ── UTILITY COMPONENTS ───────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan-dim); border: 1px solid var(--cyan-glow);
  color: var(--cyan); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.tag::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--cyan); color: #070D1A; }
.btn-primary:hover { background: var(--white); color: #070D1A; transform: translateY(-2px); }
.btn-ghost   { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(7,13,26,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--ease), background var(--ease);
}
#navbar.scrolled { padding: 12px 0; background: rgba(7,13,26,0.97); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem;
  color: var(--white); text-decoration: none; letter-spacing: -0.02em; flex-shrink: 0;
  display: flex; align-items: center;
}
.logo img { max-height: 48px; width: auto; }
.logo span { color: var(--cyan); }

.nav-links {
  display: flex; align-items: center; gap: 30px; list-style: none; flex: 1; justify-content: center;
}
.nav-links .nav-item { list-style: none; }
.nav-links .nav-link {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color var(--ease); padding: 4px 0;
}
.nav-links .nav-link:hover { color: var(--cyan); }

/* Current page highlight */
.nav-links .current-menu-item .nav-link,
.nav-links .current-page-ancestor .nav-link { color: var(--white); }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 16px;
  padding: 20px 24px 28px;
  background: var(--surface); border-top: 1px solid var(--border);
}
.mobile-menu .nav-item,
.mobile-menu .nav-link,
.mobile-menu a { color: var(--muted); text-decoration: none; font-size: 1rem; font-weight: 500; }
.mobile-menu .nav-item { list-style: none; }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative; padding: 160px 0 100px; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,255,0.07) 0%, transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.grid-bg svg { width: 100%; height: 100%; opacity: 0.055; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-copy .hero-badge { margin-bottom: 24px; }
.hero-headline { margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.trust-bar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--muted); }
.trust-icon { color: var(--cyan); font-style: normal; }

/* Hero dashboard widget */
.hero-graphic { position: relative; display: flex; justify-content: center; align-items: center; }
.dashboard-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; width: 100%; max-width: 380px;
  box-shadow: 0 0 60px rgba(0,200,255,0.07);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-title  { font-family:'Syne',sans-serif; font-size:0.8rem; font-weight:600; color:var(--muted); letter-spacing:0.07em; text-transform:uppercase; }
.status-dot  { width:8px; height:8px; border-radius:50%; background:#22d36c; box-shadow:0 0 8px rgba(34,211,108,0.6); animation:pulse 2s infinite; }

.dash-metric {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem;
}
.dash-metric:last-child { border-bottom: none; }
.dash-label { color: var(--muted); }
.dash-val { font-family:'Syne',sans-serif; font-weight:600; }
.dash-val.good { color: #22d36c; }
.dash-val.warn { color: #f5a623; }
.dash-val.cyan { color: var(--cyan); }

.floating-badge {
  position: absolute; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; font-size: 0.8rem; font-weight: 500;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.floating-badge.top-right { top: -20px; right: -20px; }
.floating-badge.bottom-left { bottom: -20px; left: -20px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .hero-sub { max-width: 100%; }
}
@media (max-width: 480px) {
  #hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   PROBLEMS
═══════════════════════════════════════════════════════════ */
.problems-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.problem-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color var(--ease), transform var(--ease);
  position: relative; overflow: hidden;
}
.problem-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, transparent, var(--danger-b), transparent);
  transition: background var(--ease);
}
.problem-card:hover { border-color: var(--danger-h); transform: translateY(-4px); }
.problem-card:hover::before { background: linear-gradient(90deg, transparent, rgba(245,66,54,0.9), transparent); }
.problem-icon {
  width:44px; height:44px; border-radius:10px;
  background: var(--danger); border: 1px solid var(--danger-b);
  display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:16px;
}
.problem-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.problem-card p  { color: var(--muted); font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════════
   SOLUTIONS
═══════════════════════════════════════════════════════════ */
.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.solution-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color var(--ease), transform var(--ease);
  position: relative; overflow: hidden;
}
.solution-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  transition: background var(--ease);
}
.solution-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.solution-card:hover::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.solution-icon {
  width:44px; height:44px; border-radius:10px;
  background: var(--cyan-dim); border: 1px solid var(--cyan-glow);
  display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:16px;
}
.solution-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.solution-card p  { color: var(--muted); font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.plan {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 30px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan.featured {
  border-color: var(--cyan); background: var(--surface2);
  box-shadow: 0 0 40px rgba(0,200,255,0.1);
}
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--cyan); color: #070D1A;
  font-family:'Syne',sans-serif; font-size:11px; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  padding: 4px 10px; border-radius: 50px;
}
.plan-name  { font-family:'Syne',sans-serif; font-size:0.8rem; font-weight:600; color:var(--muted); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px; }
.plan-price { display:flex; align-items:baseline; gap:4px; margin-bottom:6px; }
.price-amount { font-family:'Syne',sans-serif; font-size:2.8rem; font-weight:800; color:var(--white); }
.price-period { color:var(--muted); font-size:0.9rem; }
.plan-desc    { color:var(--muted); font-size:0.875rem; margin-bottom:28px; }
.plan-divider { height:1px; background:var(--border); margin-bottom:24px; }

.plan-features { list-style:none; flex:1; margin-bottom:32px; display:flex; flex-direction:column; gap:12px; }
.plan-features li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:0.9rem; color:var(--muted); position:relative; padding-left:22px;
}
.plan-features li::before {
  content:'✓'; color:var(--cyan); font-weight:700; font-size:13px;
  position:absolute; left:0; top:1px;
}
.plan-features li.inactive { opacity: 0.35; }
.plan-features li.inactive::before { color: var(--border); content: '–'; }

.plan-cta { margin-top: auto; }

@media (max-width: 900px)  { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
@media (max-width: 480px)  { .plan { padding: 28px 22px; } }

/* ══════════════════════════════════════════════════════════
   LOCAL
═══════════════════════════════════════════════════════════ */
#local {
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(123,94,167,0.06) 0%, transparent 70%);
}
.local-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.local-content h2 { margin: 12px 0 0; }
.local-points { display:flex; flex-direction:column; gap:24px; margin-top:36px; }
.local-point  { display:flex; gap:16px; align-items:flex-start; }
.lp-num {
  width:36px; height:36px; border-radius:8px; flex-shrink:0;
  background:var(--cyan-dim); border:1px solid var(--cyan-glow);
  display:flex; align-items:center; justify-content:center;
  font-family:'Syne',sans-serif; font-weight:700; font-size:0.8rem; color:var(--cyan);
}
.lp-content h3 { font-size:1rem; margin-bottom:4px; }
.lp-content p  { color:var(--muted); font-size:0.875rem; }

.local-visual {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:44px; text-align:center;
}
.local-location { font-family:'Syne',sans-serif; font-size:3.8rem; font-weight:800; line-height:1; margin-bottom:10px; }
.local-area { color:var(--muted); font-size:0.9rem; margin-bottom:30px; }
.coverage-tags { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.c-tag {
  background:var(--bg); border:1px solid var(--border);
  padding:6px 14px; border-radius:50px; font-size:0.8rem; color:var(--muted);
}

@media (max-width: 768px) {
  .local-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════════════════════════
   JARGON BUSTER
═══════════════════════════════════════════════════════════ */
.jargon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.jargon-card {
  background:var(--bg); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px;
  transition: border-color var(--ease), transform var(--ease);
}
.jargon-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.jargon-term  { color:var(--muted); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:6px; }
.jargon-plain { font-family:'Syne',sans-serif; font-size:1rem; font-weight:600; color:var(--cyan); margin-bottom:10px; }
.jargon-desc  { color:var(--muted); font-size:0.875rem; }

/* ══════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════ */
#cta {
  background: linear-gradient(135deg, rgba(0,200,255,0.07) 0%, rgba(123,94,167,0.07) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 96px 0; text-align: center;
}
#cta h2 { margin-bottom: 16px; }
#cta p  { color:var(--muted); font-size:1.05rem; margin-bottom:36px; max-width:520px; margin-left:auto; margin-right:auto; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start;
}
.contact-info h2 { margin: 12px 0 0; }
.contact-detail {
  display:flex; align-items:flex-start; gap:14px; margin-bottom:20px;
}
.contact-detail-icon {
  width:40px; height:40px; border-radius:10px; flex-shrink:0;
  background:var(--cyan-dim); border:1px solid var(--cyan-glow);
  display:flex; align-items:center; justify-content:center; font-size:18px;
}
.contact-detail-text { color:var(--muted); font-size:0.8rem; margin-bottom:2px; }
.contact-detail-val  { font-weight:500; }

/* Form card */
.contact-form {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:36px;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:20px; }
.form-group label {
  display:block; font-size:0.78rem; font-weight:500; color:var(--muted);
  letter-spacing:0.05em; text-transform:uppercase; margin-bottom:8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; background:var(--bg); border:1px solid var(--border);
  border-radius:8px; padding:12px 16px; color:var(--text);
  font-family:'DM Sans',sans-serif; font-size:0.95rem; outline:none;
  transition:border-color var(--ease); -webkit-appearance:none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color:var(--cyan); }
.form-group input::placeholder,
.form-group textarea::placeholder { color:#2d3d57; }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group select { cursor:pointer; }
.form-group select option { background:var(--bg); }
.form-submit { width:100%; padding:14px; font-size:1rem; }

/* CF7 overrides — makes CF7's output match our design */
.wpcf7 p { margin:0; }
.wpcf7 .wpcf7-form-control-wrap { display:block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width:100% !important; background:var(--bg) !important; border:1px solid var(--border) !important;
  border-radius:8px !important; padding:12px 16px !important; color:var(--text) !important;
  font-family:'DM Sans',sans-serif !important; font-size:0.95rem !important;
  outline:none !important; box-shadow:none !important; margin-bottom:16px !important;
}
.wpcf7 input[type="submit"] {
  background:var(--cyan) !important; color:#070D1A !important; border:none !important;
  padding:13px 28px !important; border-radius:8px !important;
  font-family:'Syne',sans-serif !important; font-weight:600 !important; cursor:pointer !important;
  width:100% !important;
}
.wpcf7 input[type="submit"]:hover { background:var(--white) !important; }
.wpcf7-not-valid-tip { color:#f54236; font-size:0.82rem; margin-top:4px; display:block; }
.wpcf7-response-output {
  margin:16px 0 0 !important; padding:12px 16px !important; border-radius:8px !important;
  border:1px solid var(--border) !important; font-size:0.9rem !important;
}
.wpcf7-mail-sent-ok { border-color:#22d36c !important; color:#22d36c !important; }
.wpcf7-validation-errors { border-color:#f54236 !important; color:#f54236 !important; }

/* Form success state (fallback form) */
.form-success {
  text-align:center; padding:40px 20px;
  border:1px solid rgba(34,211,108,0.3); border-radius:var(--radius); background:rgba(34,211,108,0.06);
}

@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap:48px; } }
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer {
  background:var(--surface); border-top:1px solid var(--border); padding:56px 0 28px;
}
.footer-inner {
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:48px; margin-bottom:48px;
}
.footer-brand p { color:var(--muted); font-size:0.875rem; margin-top:14px; max-width:280px; }
.footer-col h4 {
  font-family:'Syne',sans-serif; font-size:0.78rem; font-weight:600;
  letter-spacing:0.07em; text-transform:uppercase; color:var(--muted); margin-bottom:16px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul li { list-style:none; }
.footer-col ul a,
.footer-col ul li a {
  color:var(--muted); text-decoration:none; font-size:0.875rem;
  transition:color var(--ease);
}
.footer-col ul a:hover,
.footer-col ul li a:hover { color:var(--cyan); }

.footer-widgets { margin-bottom:48px; padding-top:32px; border-top:1px solid var(--border); }
.footer-bottom {
  border-top:1px solid var(--border); padding-top:24px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-bottom p { color:var(--muted); font-size:0.8rem; }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { color:var(--muted); font-size:0.8rem; text-decoration:none; }
.footer-legal a:hover { color:var(--cyan); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}

/* ══════════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════════ */
.back-top {
  position:fixed; bottom:28px; right:28px; z-index:99;
  width:44px; height:44px; border-radius:50%;
  background:var(--cyan); color:#070D1A; border:none; cursor:pointer;
  font-size:18px; display:none; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(0,200,255,0.35); transition:var(--ease);
}
.back-top:hover { transform:translateY(-3px); background:var(--white); }
.back-top.show  { display:flex; }

/* ══════════════════════════════════════════════════════════
   BLOG / ARCHIVE
═══════════════════════════════════════════════════════════ */
.blog-inner { display:grid; grid-template-columns:1fr 280px; gap:48px; }
.blog-inner:has(.blog-sidebar:empty),
.blog-inner:not(:has(.blog-sidebar)) { grid-template-columns:1fr; max-width:760px; margin:0 auto; }
.blog-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; margin-bottom:28px;
  display:grid; grid-template-columns:280px 1fr; transition:transform var(--ease);
}
.blog-card:hover { transform:translateY(-4px); }
.blog-card-thumb img { width:100%; height:200px; object-fit:cover; }
.blog-card-body { padding:28px; display:flex; flex-direction:column; }
.blog-meta { font-size:0.8rem; color:var(--muted); margin-bottom:12px; }
.blog-meta a { color:var(--muted); text-decoration:none; }
.blog-card-title { font-size:1.25rem; margin-bottom:12px; }
.blog-card-title a { color:var(--white); text-decoration:none; }
.blog-card-title a:hover { color:var(--cyan); }
.blog-excerpt { color:var(--muted); font-size:0.9rem; margin-bottom:20px; flex:1; }
.blog-sidebar .widget { margin-bottom:28px; }
.widget-title { font-size:0.85rem; color:var(--muted); letter-spacing:0.07em; text-transform:uppercase; margin-bottom:16px; }

.pagination { margin-top:48px; }
.pagination .nav-links { justify-content:flex-start; gap:8px; }
.page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:8px; border:1px solid var(--border);
  color:var(--muted); text-decoration:none; font-size:0.9rem; transition:var(--ease);
}
.page-numbers:hover, .page-numbers.current { border-color:var(--cyan); color:var(--cyan); }

@media (max-width:768px) {
  .blog-inner { grid-template-columns:1fr; }
  .blog-card { grid-template-columns:1fr; }
}

/* ══════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════ */
.single-post { max-width:760px; margin:0 auto; }
.single-header { margin-bottom:36px; }
.single-header h1 { margin-top:16px; }
.single-thumb { border-radius:var(--radius-lg); overflow:hidden; margin-bottom:36px; }
.single-thumb img { width:100%; max-height:480px; object-fit:cover; }
.single-content { color:var(--muted); line-height:1.8; }
.single-content h2,
.single-content h3 { color:var(--white); margin:2rem 0 1rem; }
.single-content p { margin-bottom:1.2rem; }
.single-content a { color:var(--cyan); }
.single-footer { margin-top:48px; padding-top:32px; border-top:1px solid var(--border); }

/* ══════════════════════════════════════════════════════════
   PAGE (generic)
═══════════════════════════════════════════════════════════ */
.page-content { max-width:760px; margin:0 auto; }
.page-header h1 { margin-bottom:36px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.page-body { color:var(--muted); line-height:1.8; }
.page-body h2, .page-body h3 { color:var(--white); margin:2rem 0 1rem; }
.page-body p { margin-bottom:1.2rem; }
.page-body ul, .page-body ol { padding-left:1.4rem; margin-bottom:1.2rem; }
.page-body li { margin-bottom:0.4rem; }
.page-body a { color:var(--cyan); }

/* ══════════════════════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.screen-reader-text {
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
