/*
Theme Name: PixelCraft Digital
Theme URI: https://pixelcraftdigital.com
Author: PixelCraft Digital
Author URI: https://pixelcraftdigital.com
Description: Custom WordPress theme inspired by Bibit.com — clean, modern, SaaS-style landing page with mobile-first responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixelcraft-digital
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, three-columns, responsive-layout
*/

/* ================================================================
   0. CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Colors */
  --color-primary: #1A73E8;
  --color-primary-dark: #1557B0;
  --color-primary-light: #4FC3F7;
  --color-gradient: linear-gradient(135deg, #1A73E8 0%, #4FC3F7 100%);
  --color-gradient-soft: linear-gradient(135deg, #EBF4FF 0%, #F0F9FF 50%, #F7F9FC 100%);
  --color-gradient-hero: linear-gradient(160deg, #EBF4FF 0%, #F0FAFF 40%, #F7F9FC 100%);

  --color-bg: #F7F9FC;
  --color-bg-white: #FFFFFF;
  --color-bg-alt: #F1F5F9;
  --color-bg-footer: #F8FAFC;

  --color-text: #1E293B;
  --color-text-light: #475569;
  --color-text-muted: #64748B;
  --color-text-white: #FFFFFF;

  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE57;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders & Shadows */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.06), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 12px rgba(26, 115, 232, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 30px rgba(26, 115, 232, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 12px 40px rgba(26, 115, 232, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   2. LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-16) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-gradient);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto 0;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

/* ================================================================
   3. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gradient);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(26, 115, 232, 0.4);
  color: var(--color-text-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  font-size: var(--font-size-lg);
  padding: 1rem 2.5rem;
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  color: var(--color-text-white);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-lg);
}

/* ================================================================
   4. HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  z-index: 1001;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo .logo-text {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.main-nav .menu li a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav .menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.main-nav .menu li a:hover,
.main-nav .menu li.current-menu-item a {
  color: var(--color-primary);
}

.main-nav .menu li a:hover::after,
.main-nav .menu li.current-menu-item a::after {
  width: 100%;
}

.header-cta {
  margin-left: var(--space-4);
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-bg-white);
  padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-8);
  transition: right var(--transition-slow);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu .menu li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu .menu li a:hover,
.mobile-menu .menu li.current-menu-item a {
  background: var(--color-bg);
  color: var(--color-primary);
}

.mobile-menu .mobile-cta {
  margin-top: var(--space-8);
}

.mobile-menu .mobile-cta .btn {
  width: 100%;
  text-align: center;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
}

.mobile-overlay.active {
  display: block;
}

/* ================================================================
   5. HERO SECTION
   ================================================================ */
.hero {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
  background: var(--color-gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.hero-text {
  order: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1rem;
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-image {
  order: 1;
  text-align: center;
}

.hero-image .hero-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
}

/* ================================================================
   6. SERVICES SECTION
   ================================================================ */
.services {
  background: var(--color-bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.service-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-gradient-soft);
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ================================================================
   7. PORTFOLIO SECTION
   ================================================================ */
.portfolio {
  background: var(--color-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.portfolio-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-slow);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.portfolio-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-gradient-soft);
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.05);
}

.portfolio-card-image .portfolio-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
}

.portfolio-card-body {
  padding: var(--space-6);
}

.portfolio-card-body h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.portfolio-card-body p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.portfolio-card-body .portfolio-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.portfolio-card-body .portfolio-link:hover {
  gap: var(--space-3);
}

/* ================================================================
   8. FEATURES SECTION
   ================================================================ */
.features {
  background: var(--color-bg-white);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
  align-items: center;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.feature-text {
  flex: 1;
}

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3rem 0.8rem;
  background: rgba(26, 115, 232, 0.08);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.feature-text h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
}

.feature-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-list li {
  display: flex;
  align-items: start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

/* ================================================================
   9. TESTIMONIALS SECTION
   ================================================================ */
.testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-slow);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--color-warning);
}

.testimonial-quote {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--font-size-lg);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ================================================================
   10. CTA SECTION
   ================================================================ */
.cta-section {
  padding: var(--space-16) 0;
  background: var(--color-bg-white);
}

.cta-card {
  background: var(--color-gradient);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: var(--color-text-white);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   11. FAQ SECTION
   ================================================================ */
.faq {
  background: var(--color-bg);
}

.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item[open] {
  box-shadow: var(--shadow-card);
  border-color: rgba(26, 115, 232, 0.15);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item[open] summary {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

/* ================================================================
   12. FOOTER
   ================================================================ */
.site-footer {
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--color-bg);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.footer-main {
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .site-logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ================================================================
   13. BLOG / ARCHIVE STYLES
   ================================================================ */
.page-hero {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  background: var(--color-gradient-hero);
  text-align: center;
}

.page-hero h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-3);
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-12) 0;
}

.blog-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--color-gradient-soft);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-6);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.blog-card-body h2 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.blog-card-body h2 a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.blog-card-body h2 a:hover {
  color: var(--color-primary);
}

.blog-card-body .excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8) 0 var(--space-16);
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}

/* ================================================================
   14. SINGLE POST
   ================================================================ */
.single-post-content {
  padding: var(--space-12) 0 var(--space-16);
}

.single-post-content .container {
  max-width: var(--container-narrow);
}

.post-featured-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.post-body {
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.post-body h2 {
  font-size: var(--font-size-2xl);
  margin: var(--space-10) 0 var(--space-5);
}

.post-body h3 {
  font-size: var(--font-size-xl);
  margin: var(--space-8) 0 var(--space-4);
}

.post-body p {
  margin-bottom: var(--space-6);
  color: var(--color-text-light);
}

.post-body img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.post-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
  background: var(--color-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-body blockquote p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 0;
}

.post-body ul, .post-body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.post-body li {
  margin-bottom: var(--space-2);
  color: var(--color-text-light);
}

.post-body ul li {
  list-style: disc;
}

.post-body ol li {
  list-style: decimal;
}

.post-body code {
  background: var(--color-bg);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

.post-body pre {
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--space-8) 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.post-navigation a {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* ================================================================
   15. PAGE TEMPLATE
   ================================================================ */
.page-content {
  padding: var(--space-12) 0 var(--space-16);
}

.page-content .container {
  max-width: var(--container-narrow);
}

.page-content .entry-content {
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.page-content .entry-content h2 {
  margin: var(--space-10) 0 var(--space-5);
}

.page-content .entry-content h3 {
  margin: var(--space-8) 0 var(--space-4);
}

.page-content .entry-content p {
  margin-bottom: var(--space-6);
  color: var(--color-text-light);
}

.page-content .entry-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

/* ================================================================
   16. RESPONSIVE — TABLET (>=576px)
   ================================================================ */
@media (min-width: 576px) {
  h1 { font-size: var(--font-size-4xl); }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card h2 {
    font-size: var(--font-size-3xl);
  }
}

/* ================================================================
   17. RESPONSIVE — TABLET LANDSCAPE (>=768px)
   ================================================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }

  .section {
    padding: var(--space-20) 0;
  }

  h1 { font-size: var(--font-size-5xl); }
  h2 { font-size: var(--font-size-3xl); }

  .hero {
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20);
  }

  .hero-title {
    font-size: var(--font-size-5xl);
  }

  .hero-description {
    font-size: var(--font-size-xl);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .cta-card {
    padding: var(--space-16) var(--space-8);
  }

  .page-hero h1 {
    font-size: var(--font-size-4xl);
  }
}

/* ================================================================
   18. RESPONSIVE — DESKTOP (>=1024px)
   ================================================================ */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .main-nav {
    display: flex;
  }

  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }

  .hero-text {
    order: 1;
    text-align: left;
    flex: 1;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-image {
    order: 2;
    flex: 1;
  }

  .hero-image .hero-illustration {
    max-width: 520px;
  }

  .hero-title {
    font-size: var(--font-size-6xl);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-row {
    flex-direction: row;
    gap: var(--space-16);
  }

  .feature-row:nth-child(even) {
    flex-direction: row-reverse;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-card h2 {
    font-size: var(--font-size-4xl);
  }

  .cta-card {
    padding: var(--space-20) var(--space-12);
  }

  .section {
    padding: var(--space-24) 0;
  }
}

/* ================================================================
   19. RESPONSIVE — LARGE DESKTOP (>=1280px)
   ================================================================ */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-10);
  }

  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================================================
   20. ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ================================================================
   21. WORDPRESS SPECIFIC
   ================================================================ */
.alignleft {
  float: left;
  margin-right: var(--space-6);
  margin-bottom: var(--space-4);
}

.alignright {
  float: right;
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.aligncenter {
  display: block;
  margin: var(--space-6) auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-2);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WordPress admin bar fix */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
