/*
 * Nowa Solutions — Main Stylesheet
 * Design: "Warm Authority" — Editorial Minimalism + Premium Service Brand
 * Version: 1.0.0
 */

/* ─── Google Fonts are loaded via functions.php ─── */

/* ─── CSS Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ns-blue: #1E6FFF;
  --ns-blue-dark: #1558D6;
  --ns-blue-light: #EBF2FF;
  --ns-slate: #0F1923;
  --ns-slate-mid: #2D3748;
  --ns-amber: #F59E0B;
  --ns-warm-white: #FAFAF8;
  --ns-gray-light: #F4F4F2;
  --ns-gray-mid: #E8E8E5;
  --ns-gray-text: #6B7280;
  --ns-body-text: #4A5568;
  --ns-green: #10B981;
  --ns-purple: #8B5CF6;
  --ns-red: #EF4444;
  --container-max: 1280px;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 2px 8px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
  --shadow-md: 0 8px 24px rgba(15,25,35,0.10), 0 2px 6px rgba(15,25,35,0.06);
  --shadow-lg: 0 16px 48px rgba(15,25,35,0.14), 0 4px 12px rgba(15,25,35,0.08);
  --shadow-xl: 0 24px 64px rgba(15,25,35,0.16);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ns-warm-white);
  color: var(--ns-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--ns-slate);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

a { color: var(--ns-blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ns-blue-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ns-gray-light); }
::-webkit-scrollbar-thumb { background: #CBD5E0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ns-blue); }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ─── Typography Utilities ─── */
.ns-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ns-blue);
  display: block;
}

.ns-heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ns-heading-lg {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.ns-heading-md {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ns-body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ns-body-text);
}

.ns-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ns-body-text);
}

.ns-gradient-text {
  background: linear-gradient(135deg, var(--ns-blue) 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ns-divider {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--ns-blue), #00B4D8);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

/* ─── Sections ─── */
.ns-section { padding: 5rem 0; }
.ns-section-sm { padding: 3rem 0; }
@media (min-width: 768px) {
  .ns-section { padding: 7rem 0; }
  .ns-section-sm { padding: 4.5rem 0; }
}

.ns-bg-white { background: #ffffff; }
.ns-bg-warm { background: var(--ns-warm-white); }
.ns-bg-gray { background: var(--ns-gray-light); }
.ns-bg-dark { background: linear-gradient(135deg, var(--ns-slate) 0%, #1a2d42 100%); }
.ns-bg-blue { background: linear-gradient(135deg, #0F1923 0%, #1a2d42 60%, #1E3A5F 100%); }

/* ─── Buttons ─── */
.ns-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.ns-btn-primary {
  background: var(--ns-blue);
  color: white;
  box-shadow: 0 2px 8px rgba(30,111,255,0.2);
}
.ns-btn-primary:hover {
  background: var(--ns-blue-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30,111,255,0.35);
}

.ns-btn-secondary {
  background: transparent;
  color: var(--ns-slate);
  border: 1.5px solid var(--ns-gray-mid);
}
.ns-btn-secondary:hover {
  border-color: var(--ns-blue);
  color: var(--ns-blue);
  background: var(--ns-blue-light);
}

.ns-btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.ns-btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: white;
}

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

/* ─── Badges ─── */
.ns-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--ns-blue-light);
  color: var(--ns-blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(30,111,255,0.2);
}
.ns-badge-amber { background: #FEF3C7; color: #92400E; border-color: rgba(245,158,11,0.3); }
.ns-badge-green { background: #ECFDF5; color: #065F46; border-color: rgba(16,185,129,0.3); }
.ns-badge-dark { background: rgba(30,111,255,0.2); border-color: rgba(30,111,255,0.4); color: #93C5FD; }

/* ─── Cards ─── */
.ns-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ns-gray-mid);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ns-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ns-card-body { padding: 1.75rem; }

/* ─── Service Icon ─── */
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: var(--ns-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-blue);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ns-card:hover .service-icon {
  background: var(--ns-blue);
  color: white;
  transform: scale(1.05);
}

/* ─── Navigation ─── */
.ns-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ns-nav.scrolled {
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15,25,35,0.08);
}
.ns-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.ns-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.ns-logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--ns-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ns-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ns-slate);
  letter-spacing: -0.02em;
}
.ns-logo-text span { color: var(--ns-blue); }

.ns-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .ns-nav-links { display: flex; } }

.nav-link {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ns-slate-mid);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ns-blue);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.current-menu-item { color: var(--ns-blue); }
.nav-link:hover::after, .nav-link.current-menu-item::after { width: 100%; }

.ns-nav-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .ns-nav-cta { display: flex; } }

.ns-nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ns-body-text);
  text-decoration: none;
}

/* Mobile menu toggle */
.ns-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ns-slate);
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.ns-menu-toggle:hover { background: var(--ns-gray-light); }
@media (min-width: 1024px) { .ns-menu-toggle { display: none; } }

/* Mobile menu */
.ns-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20rem;
  background: white;
  z-index: 1001;
  padding: 1.5rem;
  box-shadow: -4px 0 24px rgba(15,25,35,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ns-mobile-menu.open { transform: translateX(0); }
.ns-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,25,35,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ns-mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── Hero Section ─── */
.ns-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  overflow: hidden;
}
.ns-hero-bg {
  position: absolute;
  inset: 0;
}
.ns-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.ns-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,18,30,0.88) 0%, rgba(10,18,30,0.75) 50%, rgba(10,18,30,0.4) 100%);
}
.ns-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(30,111,255,0.15) 0%, transparent 70%);
}
.ns-hero-content { position: relative; z-index: 10; max-width: 48rem; }
.ns-hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1.5rem;
}
.ns-hero-title .accent { color: #60A5FA; }
.ns-hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.ns-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.ns-hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ns-hero-trust-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ─── Trust Bar ─── */
.ns-trust-bar {
  background: white;
  border-top: 1px solid var(--ns-gray-mid);
  border-bottom: 1px solid var(--ns-gray-mid);
  padding: 1.25rem 0;
}
.ns-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) { .ns-trust-bar-inner { justify-content: space-between; } }

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--ns-gray-mid);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ns-slate-mid);
  box-shadow: var(--shadow-sm);
}
.trust-badge svg { color: var(--ns-blue); }

/* ─── Services Grid ─── */
.ns-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .ns-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ns-services-grid { grid-template-columns: repeat(3, 1fr); } }

.ns-service-card {
  padding: 1.75rem;
  height: 100%;
  cursor: pointer;
}
.ns-service-card-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ns-blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.25rem;
}

/* ─── Stats Section ─── */
.ns-stats-section {
  background: var(--ns-slate);
  padding: 3.5rem 0;
}
.ns-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 1024px) { .ns-stats-grid { grid-template-columns: repeat(4, 1fr); } }

.ns-stat-item { text-align: center; }
.ns-stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(30,111,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.ns-stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.ns-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
}

/* ─── Two Column Layout ─── */
.ns-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .ns-two-col { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }

.ns-two-col .reverse-lg { order: 0; }
@media (min-width: 1024px) { .ns-two-col .reverse-lg { order: -1; } }

/* ─── Testimonials ─── */
.ns-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .ns-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--ns-gray-mid);
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(30,111,255,0.1);
  line-height: 1;
}
.ns-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.ns-star { color: #F59E0B; }
.testimonial-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ns-slate-mid);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--ns-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ns-slate);
}
.testimonial-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: var(--ns-gray-text);
}

/* ─── Page Hero ─── */
.page-hero {
  background: linear-gradient(135deg, var(--ns-slate) 0%, #1a2d42 60%, #1E3A5F 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(30,111,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Contact Form ─── */
.ns-form-group { margin-bottom: 1.25rem; }
.ns-form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ns-slate);
  margin-bottom: 0.5rem;
}
.ns-input, .ns-textarea, .ns-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ns-gray-mid);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--ns-slate);
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.ns-input:focus, .ns-textarea:focus, .ns-select:focus {
  border-color: var(--ns-blue);
  box-shadow: 0 0 0 3px rgba(30,111,255,0.12);
}
.ns-input::placeholder, .ns-textarea::placeholder { color: #A0AEC0; }
.ns-textarea { resize: vertical; min-height: 140px; }
.ns-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--ns-gray-mid); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ns-slate);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--ns-blue); }
.faq-answer {
  padding-bottom: 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ns-body-text);
}

/* ─── Blog Cards ─── */
.blog-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ns-gray-mid);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-image { overflow: hidden; }
.blog-card-image img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-body { padding: 1.5rem; }

/* ─── Footer ─── */
.ns-footer { background: var(--ns-slate); color: rgba(255,255,255,0.7); }
.ns-footer-main { padding: 4rem 0 3rem; }
.ns-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .ns-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ns-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }

.ns-footer-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ns-footer-link {
  display: block;
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
  text-decoration: none;
}
.ns-footer-link:hover { color: white; }
.ns-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.ns-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .ns-footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.ns-footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}
.ns-social-links { display: flex; gap: 0.75rem; }
.ns-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
  text-decoration: none;
}
.ns-social-link:hover { background: var(--ns-blue); color: white; }

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ─── Utility Classes ─── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ─── WordPress Specific ─── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--ns-gray-text); margin-top: 0.5rem; }
.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 1rem; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* Entry content styles */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.entry-content p { margin-bottom: 1.25rem; color: var(--ns-body-text); line-height: 1.75; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5rem; color: var(--ns-body-text); }
.entry-content a { color: var(--ns-blue); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--ns-blue);
  padding: 1rem 1.5rem;
  background: var(--ns-blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.entry-content img { border-radius: var(--radius-lg); margin: 1.5rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.entry-content th, .entry-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--ns-gray-mid);
  text-align: left;
}
.entry-content th { background: var(--ns-gray-light); font-weight: 600; }

/* ─── Map ─── */
.ns-map {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ns-gray-mid);
  overflow: hidden;
}
.ns-map iframe { width: 100%; height: 100%; border: 0; }

/* ─── Pagination ─── */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ns-slate-mid);
  border: 1.5px solid var(--ns-gray-mid);
  transition: all 0.2s ease;
  text-decoration: none;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--ns-blue);
  color: white;
  border-color: var(--ns-blue);
}

/* ─── Accessibility ─── */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 2px solid var(--ns-blue); outline-offset: 2px; }

/* ─── Print ─── */
@media print {
  .ns-nav, .ns-footer, .ns-hero-actions { display: none; }
  body { font-size: 12pt; }
}
