/*
Theme Name: NetCloud24
Theme URI: https://netcloud24.com/
Author: NWMA sp. z o.o.
Author URI: https://netcloud24.com/
Description: Profesjonalny motyw WordPress dla NetCloud24 – VPS Windows, Cloud, Hosting. Dark design z akcentem blue-600. Zoptymalizowany pod SEO i Core Web Vitals.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://netcloud24.com/
Text Domain: netcloud24
Tags: dark, business, hosting, seo, responsive, custom-menu, custom-logo, featured-images, schema-markup

*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-bg:         #0f172a;
  --color-surface:    #1e293b;
  --color-border:     #334155;
  --color-text:       #f1f5f9;
  --color-muted:      #94a3b8;
  --color-accent:     #2563eb;
  --color-accent-h:   #1d4ed8;
  --color-accent-lt:  #3b82f6;
  --color-white:      #ffffff;
  --color-green:      #22c55e;

  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.35);

  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --max-w:       80rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { color: var(--color-muted); line-height: 1.75; }

strong { color: var(--color-text); font-weight: 600; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-h); border-color: var(--color-accent-h); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover { border-color: var(--color-accent-lt); color: var(--color-accent-lt); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.625rem 0;
}

.site-header.scrolled .site-title a,
.site-header.scrolled .nav-menu a,
.site-header.scrolled .nav-phone { color: #0f172a !important; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.site-branding .logo-icon {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-branding .logo-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; }
.site-title a {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1;
}
.site-title .accent { color: var(--color-accent-lt); }

/* Desktop nav */
.nav-wrap { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: center; }

.nav-menu { display: flex; align-items: center; gap: 0.125rem; }
.nav-menu > li { position: relative; }
.nav-menu > li > a,
.nav-menu > li > button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > button:hover { color: var(--color-accent-lt); }

/* Dropdown */
.dropdown-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-menu > li:hover .dropdown-wrap { opacity: 1; visibility: visible; }
.dropdown-inner {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 0.5rem;
  min-width: 16rem;
}
.dropdown-inner a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.dropdown-inner a:hover { background: #eff6ff; color: var(--color-accent); }
.dropdown-divider { border-top: 1px solid #f1f5f9; margin: 0.25rem 0; }

/* Right nav */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.875rem;
  white-space: nowrap;
}
.nav-phone svg { color: var(--color-accent-lt); width: 1rem; height: 1rem; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  color: var(--color-white);
  padding: 0.375rem;
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

/* Mobile menu */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 1rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  color: #374151;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: #f1f5f9; }
.mobile-nav .mobile-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: #94a3b8;
  padding: 1rem 0.75rem 0.25rem;
}
.mobile-nav .mobile-sub-link { padding-left: 1.5rem; font-size: 0.875rem; color: #6b7280; font-weight: 400; }

@media (max-width: 1023px) {
  .nav-wrap { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-phone { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37,99,235,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 { color: var(--color-white); margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--color-accent-lt); }
.hero .hero-desc { font-size: 1.125rem; color: #94a3b8; margin-bottom: 2rem; max-width: 36rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2.5rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.stat-item { text-align: left; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.stat-label { font-size: 0.75rem; color: #64748b; margin-top: 0.25rem; }

/* Hero card panel */
.hero-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-lt));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.trust-item svg { color: var(--color-accent-lt); width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-lt);
  margin-bottom: 0.75rem;
}
.section-header h2 { color: var(--color-white); margin-bottom: 1rem; }
.section-header p { max-width: 42rem; margin: 0 auto; color: var(--color-muted); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: var(--color-accent-lt); }
.feature-card h3 { color: var(--color-white); margin-bottom: 0.5rem; font-size: 1.125rem; }
.feature-card p { color: var(--color-muted); font-size: 0.875rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--color-surface) 100%);
}
.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-plan { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent-lt); margin-bottom: 0.75rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem; }
.pricing-price .amount { font-size: 2.25rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.pricing-price .currency { font-size: 1.125rem; font-weight: 600; color: var(--color-white); }
.pricing-price .period { font-size: 0.875rem; color: var(--color-muted); }
.pricing-vat { font-size: 0.75rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.pricing-specs { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.spec-row { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; }
.spec-row svg { width: 1rem; height: 1rem; color: var(--color-accent-lt); flex-shrink: 0; }
.spec-row span { color: var(--color-muted); }
.spec-row strong { color: var(--color-text); }
.pricing-divider { border-top: 1px solid var(--color-border); margin: 1rem 0; }
.pricing-cta { margin-top: auto; }
.pricing-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   SPECS TABLE
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.specs-table th {
  background: var(--color-surface);
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.specs-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(51,65,85,0.5);
  color: var(--color-muted);
}
.specs-table td strong { color: var(--color-text); }
.specs-table tr:hover td { background: rgba(30,41,59,0.5); }
.specs-table .check { color: var(--color-green); }
.specs-table .table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-accent-lt); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; }
.faq-icon svg { width: 1.25rem; height: 1.25rem; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.faq-item.is-open .faq-answer { max-height: 500px; opacity: 1; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--color-muted); line-height: 1.75; }

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}
.review-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; color: #f59e0b; }
.review-stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.review-text { color: var(--color-muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 600; color: var(--color-text); font-size: 0.9375rem; }
.review-date { font-size: 0.75rem; color: var(--color-muted); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 1.25rem; height: 1.25rem; color: var(--color-accent-lt); }
.contact-detail-text { font-size: 0.875rem; color: var(--color-muted); }
.contact-detail-text strong { display: block; color: var(--color-text); font-weight: 600; margin-bottom: 0.125rem; }

.contact-form-wrap {
  background: rgba(30,41,59,0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: #cbd5e1; }
.form-group label .req { color: var(--color-accent-lt); margin-left: 0.125rem; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(15,23,42,0.6);
  color: var(--color-text);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-control::placeholder { color: #475569; }
.form-control.is-error { border-color: #ef4444; }
textarea.form-control { resize: vertical; min-height: 8rem; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem; padding-right: 2.5rem; }

.form-submit { margin-top: 1rem; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.nc-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  max-width: 22rem;
  pointer-events: none;
}
.nc-toast.is-visible { transform: translateY(0); opacity: 1; }
.nc-toast.is-success { background: #064e3b; color: #6ee7b7; border: 1px solid #065f46; }
.nc-toast.is-error   { background: #450a0a; color: #fca5a5; border: 1px solid #7f1d1d; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f172a;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2.5rem;
  color: #94a3b8;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-bottom: 4rem;
}
.footer-brand { max-width: 20rem; }
.footer-brand .site-branding { margin-bottom: 1rem; }
.footer-brand-info { font-size: 0.875rem; line-height: 1.7; }
.footer-brand-info p { margin-bottom: 0.25rem; }
.footer-brand-info .company-name { color: var(--color-text); font-weight: 600; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: #94a3b8;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.footer-social svg { width: 1rem; height: 1rem; }

.footer-col h4 { color: var(--color-white); font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { font-size: 0.875rem; color: #94a3b8; transition: color 0.2s; }
.footer-col ul li a:hover { color: #60a5fa; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.footer-phone svg { color: var(--color-accent-lt); width: 1.125rem; height: 1.125rem; }
.footer-phone a { color: var(--color-text); font-weight: 700; font-size: 0.9375rem; transition: color 0.2s; }
.footer-phone a:hover { color: var(--color-accent-lt); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: #475569;
}
.footer-bottom a { color: #64748b; transition: color 0.2s; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #94a3b8; }

/* ============================================================
   WORDPRESS CORE - Alignment, Gutenberg, etc.
   ============================================================ */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignwide  { width: 100%; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; max-width: 100%; }

/* WP Caption */
.wp-caption { max-width: 100%; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0.5rem; }
.wp-caption-text { font-size: 0.8125rem; color: var(--color-muted); text-align: center; padding: 0.5rem; }

/* Gallery */
.gallery { display: grid; gap: 0.75rem; }
.gallery-columns-2 { grid-template-columns: repeat(2,1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3,1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4,1fr); }
.gallery-item img { border-radius: var(--radius-md); width: 100%; }

/* Post content styles */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { margin: 2rem 0 1rem; }
.entry-content p  { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: revert; color: var(--color-muted); }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-muted);
}
.entry-content code {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.125rem 0.375rem;
  font-size: 0.875em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: #93c5fd;
}
.entry-content pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.entry-content pre code { background: none; border: none; padding: 0; }
.entry-content a { color: var(--color-accent-lt); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--color-white); }
.entry-content hr { border: none; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.entry-content table th { background: var(--color-surface); color: var(--color-text); font-weight: 600; padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.entry-content table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(51,65,85,0.5); color: var(--color-muted); }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.posts-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.post-card-thumb img { width: 100%; height: 12rem; object-fit: cover; }
.post-card-thumb-placeholder { width: 100%; height: 12rem; background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(59,130,246,0.1)); display: flex; align-items: center; justify-content: center; }
.post-card-thumb-placeholder svg { width: 2.5rem; height: 2.5rem; color: rgba(59,130,246,0.4); }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--color-muted); margin-bottom: 0.75rem; flex-wrap: wrap; }
.post-card-meta a:hover { color: var(--color-accent-lt); }
.post-card-title { font-size: 1.125rem; font-weight: 700; color: var(--color-white); margin-bottom: 0.625rem; line-height: 1.4; }
.post-card-title a:hover { color: var(--color-accent-lt); }
.post-card-excerpt { font-size: 0.875rem; color: var(--color-muted); margin-bottom: 1.25rem; flex: 1; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.375rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 0.75rem;
  transition: all 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--color-accent); color: var(--color-accent-lt); }
.pagination .page-numbers.current { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* Sidebar */
.sidebar .widget { margin-bottom: 2rem; }
.sidebar .widget-title { font-size: 1rem; font-weight: 700; color: var(--color-white); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.sidebar .widget ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar .widget ul li a { font-size: 0.875rem; color: var(--color-muted); display: flex; align-items: center; justify-content: space-between; transition: color 0.2s; }
.sidebar .widget ul li a:hover { color: var(--color-accent-lt); }

/* Single post */
.single-header { padding: 4rem 0 2rem; }
.single-header .post-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.875rem; color: var(--color-muted); margin-bottom: 1rem; }
.single-header .post-meta a:hover { color: var(--color-accent-lt); }
.post-category-badge {
  background: rgba(37,99,235,0.15);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.25);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.search-form { display: flex; gap: 0; max-width: 28rem; }
.search-form .search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.875rem;
  outline: none;
}
.search-form .search-field:focus { border-color: var(--color-accent); }
.search-form .search-submit {
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.search-form .search-submit:hover { background: var(--color-accent-h); }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--color-border); }
.comments-title { font-size: 1.375rem; color: var(--color-white); margin-bottom: 2rem; }
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; padding: 0; }
.comment-body {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.comment-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-author-avatar img { border-radius: 50%; }
.comment-author-name { font-weight: 600; color: var(--color-text); font-size: 0.9375rem; }
.comment-date { font-size: 0.75rem; color: var(--color-muted); }
.comment-content p { font-size: 0.9375rem; color: var(--color-muted); }
.comment-reply-link { font-size: 0.8125rem; color: var(--color-accent-lt); font-weight: 500; }

/* ============================================================
   WOOCOMMERCE (basic compat)
   ============================================================ */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.woocommerce-message { background: #064e3b; color: #6ee7b7; border: 1px solid #065f46; }
.woocommerce-error   { background: #450a0a; color: #fca5a5; border: 1px solid #7f1d1d; }
.woocommerce-info    { background: rgba(37,99,235,0.1); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}
.text-accent { color: var(--color-accent-lt); }
.text-muted  { color: var(--color-muted); }
.text-white  { color: var(--color-white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
  .hero-stats { gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nc-toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: 100%; }
  .contact-form-wrap { padding: 1.25rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
