/*
Theme Name: Paqtelias Landing
Theme URI: https://paqtelias.com
Author: Paqtelias Team
Author URI: https://paqtelias.com
Description: A bold, transgressive landing page theme for Paqtelias - "Enviando paquetes sin bullshit"
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paqtelias
Tags: landing-page, one-column, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  /* Color Palette - Based on Logo Colors */
  --app-primary-color: #008080;
  --app-primary-dark: #006666;
  --app-primary-light: #00b3b3;
  --app-primary-very-light: #00e6e6;
  --app-secondary-color: #F8F9FA;
  --app-accent-color: #ff7f2a;
  --app-accent-dark: #cc6522;
  --app-accent-light: #ff9955;
  --app-accent-very-light: #ffccaa;
  --app-success-color: #ffcc00;
  --app-success-dark: #cca300;
  --app-success-light: #ffe64d;
  --app-success-very-light: #fff299;
  --app-warning-color: #ff7f2a;
  --app-error-color: #FF6B6B;
  --app-info-color: #008080;
  --app-alert-color: #006666;
  
  /* Neutral Colors - Based on Logo Dark Gray (#333333) */
  --app-white: #FFFFFF;
  --app-gray-50: #FAFAFA;
  --app-gray-100: #F5F5F5;
  --app-gray-200: #EEEEEE;
  --app-gray-300: #E0E0E0;
  --app-gray-400: #BDBDBD;
  --app-gray-500: #999999;
  --app-gray-600: #808080;
  --app-gray-700: #666666;
  --app-gray-800: #4d4d4d;
  --app-gray-900: #333333;
  
  /* Text Colors */
  --app-text-primary: #333333;
  --app-text-secondary: #666666;
  --app-text-muted: #999999;
  --app-text-inverse: #FFFFFF;
  
  /* Background Colors */
  --app-bg-primary: #FFFFFF;
  --app-bg-secondary: #FFFFFF;
  --app-bg-tertiary: #FFFFFF;
  
  /* Border Colors */
  --app-border-color: #E0E0E0;
  --app-border-light: #F5F5F5;
  
  /* Shadow System */
  --app-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --app-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --app-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.08);
  --app-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.08);
  
  /* Border Radius */
  --app-radius-sm: 4px;
  --app-radius-md: 8px;
  --app-radius-lg: 12px;
  --app-radius-xl: 16px;
  --app-radius-full: 50%;
  
  /* Spacing System */
  --app-spacing-xs: 4px;
  --app-spacing-sm: 8px;
  --app-spacing-md: 16px;
  --app-spacing-lg: 24px;
  --app-spacing-xl: 32px;
  --app-spacing-2xl: 48px;
  --app-spacing-3xl: 64px;
  --app-spacing-4xl: 96px;
  
  /* Typography */
  --app-font-family-base: 'DIN Alternate', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --app-font-family-heading: 'DIN Alternate', sans-serif;
  --app-font-family-mono: var(--app-font-family-base);
  --app-font-size-base: 18px;
  --app-font-size-xs: 14px;
  --app-font-size-sm: 16px;
  --app-font-size-md: 18px;
  --app-font-size-lg: 20px;
  --app-font-size-xl: 22px;
  --app-font-size-2xl: 26px;
  --app-font-size-3xl: 32px;
  
  /* Line Heights */
  --app-line-height-tight: 1.25;
  --app-line-height-normal: 1.5;
  --app-line-height-relaxed: 1.75;
  
  /* Transitions */
  --app-transition-fast: 0.15s ease;
  --app-transition-normal: 0.3s ease;
  --app-transition-slow: 0.5s ease;

  /* Gen X Transgressive Color Palette */
  --grunge-charcoal: #333333;
  --grunge-rust: #ff7f2a;
  --grunge-concrete: #666666;
  --grunge-steel: #808080;
  --grunge-dust: #999999;
  --grunge-acid-green: #ffcc00;
  --grunge-blood: #006666;
  --grunge-paper: #F5F5DC;
  --grunge-ink: #333333;
  --grunge-warning: #ff7f2a;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--app-font-family-heading);
  font-weight: 900;
  line-height: var(--app-line-height-tight);
}

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

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

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

/* ============================================
   Welcome Page Styles
   ============================================ */

.welcome-content {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.welcome-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.form-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.form-card {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: var(--app-spacing-xl) 0;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--grunge-paper);
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  border-top: 8px solid var(--grunge-ink);
  border-bottom: 8px solid var(--grunge-ink);
}

.hero-header {
  position: absolute;
  top: var(--app-spacing-sm);
  left: var(--app-spacing-xl);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--app-spacing-lg);
  max-width: calc(100% - 2 * var(--app-spacing-xl));
  box-sizing: border-box;
}

.hero-logo {
  /* Force small logo even if WP/global img rules try to override */
  height: 155px !important;
  max-height: 160px !important;
  width: auto !important;
  max-width: 295px !important;
  object-fit: contain;
  display: block;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  filter: grayscale(100%) contrast(1.2) brightness(0.7);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.4) 0%, rgba(255, 127, 42, 0.2) 100%);
  z-index: 2;
}

.neoplastic-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  /* background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 98px, rgba(0,0,0,0.1) 100px),
    repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(0,0,0,0.1) 100px); */
  opacity: 0.3;
  pointer-events: none;
}

.color-block {
  position: absolute;
  z-index: 3;
  border: 3px solid var(--grunge-ink);
  opacity: 0.8;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  max-width: 20vw;
  max-height: 15vh;
}

.color-block-1 {
  width: 140px;
  height: 100px;
  background: #ff7f2a;
  top: 10%;
  right: 5%;
  transform: rotate(-8deg);
  clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 95%);
  max-width: min(140px, 20vw);
  max-height: min(100px, 15vh);
}

.color-block-2 {
  width: 120px;
  height: 120px;
  background: var(--grunge-concrete);
  bottom: 15%;
  left: 8%;
  transform: rotate(12deg);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  max-width: min(120px, 20vw);
  max-height: min(120px, 15vh);
}

.color-block-3 {
  width: 100px;
  height: 80px;
  background: #008080;
  top: 50%;
  right: 12%;
  transform: rotate(-15deg);
  clip-path: polygon(0 10%, 90% 0, 100% 90%, 10% 100%);
  max-width: min(100px, 20vw);
  max-height: min(80px, 15vh);
}

.hero-content {
  position: relative;
  z-index: 4;
  color: var(--grunge-ink);
  padding: var(--app-spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-title {
  font-size: 80px;
  font-weight: 900;
  color: var(--grunge-ink);
  line-height: 0.85;
  margin-bottom: var(--app-spacing-xl);
  display: grid;
  grid-template-columns: auto auto;
  gap: var(--app-spacing-md);
  text-transform: uppercase;
  max-width: 100%;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  font-family: 'DIN Alternate', sans-serif;
  justify-items: center;
}

.hero-title .title-word {
  display: block;
  padding: var(--app-spacing-md) var(--app-spacing-lg);
  background: var(--grunge-paper);
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title .title-word-1 {
  transform: rotate(-4deg);
  background: #008080;
  color: #FFFFFF;
}

.hero-title .title-word-2 {
  transform: rotate(3deg);
  background: #ffcc00;
  color: #333333;
}

.hero-title .title-word-3 {
  transform: rotate(-2deg);
  background: #ff7f2a;
  color: #FFFFFF;
}

.hero-title .title-word-4 {
  transform: rotate(5deg);
  background: var(--grunge-ink);
  color: #FFFFFF;
  margin-left: calc(var(--app-spacing-md) * -0.5);
}

.hero-subtitle-wrapper {
  max-width: 900px;
  margin-left: 0;
  margin-bottom: var(--app-spacing-xl);
  border-left: 4px solid var(--grunge-ink);
  padding-left: var(--app-spacing-lg);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-subtitle {
  font-size: var(--app-font-size-md);
  color: var(--grunge-charcoal);
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
}

.hero-cta {
  margin-top: var(--app-spacing-3xl);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cta .app-button {
  transform: rotate(-2deg) scale(1.25);
  box-shadow: 4px 4px 0 #666666;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--app-primary-color);
  color: #FFFFFF;
  border: none;
  padding: var(--app-spacing-md) var(--app-spacing-xl);
  /* font-size: var(--app-font-size-xl); */
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
}

.hero-cta .app-button:hover {
  transform: rotate(0deg) scale(1.35) translateY(-5px) translateX(-5px);
  box-shadow: 12px 12px 0 #666666;
}

.hero-cta .app-button:active {
  transform: rotate(0deg) scale(1.25) translateY(2px) translateX(2px);
  box-shadow: 4px 4px 0 #666666;
}

/* Stats Section */
.stats-section {
  margin: 0;
  padding: var(--app-spacing-3xl) 0;
  background: #FFFFFF;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--app-spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--app-spacing-xl);
}

.stat-item {
  text-align: center;
  padding: var(--app-spacing-2xl) var(--app-spacing-xl);
  background: #FFFFFF;
  position: relative;
}

.stat-number {
  font-size: 72px;
  font-weight: 900;
  color: #333333;
  line-height: 1.1;
  margin-bottom: var(--app-spacing-md);
  letter-spacing: -2px;
  font-family: var(--app-font-family-base);
}

.stat-item-1 .stat-number {
  color: #008080;
}

.stat-item-2 .stat-number {
  color: #ff7f2a;
}

.stat-item-3 .stat-number {
  color: #ffcc00;
}

.stat-label {
  font-size: 16px;
  color: #333333;
  font-weight: 700;
  margin-bottom: var(--app-spacing-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--app-font-family-base);
  line-height: 1.4;
}

.stat-description {
  font-size: 16px;
  color: #666666;
  font-weight: 400;
  line-height: 1.5;
  margin-top: var(--app-spacing-xs);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--app-font-family-base);
}

.stat-divider-vertical {
  width: 2px;
  height: 120px;
  background: #E0E0E0;
  flex-shrink: 0;
  align-self: center;
}

/* Process Section */
.process-section {
  margin: 0;
  padding: var(--app-spacing-3xl) 0;
  position: relative;
  background: #F5F5F5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.process-header {
  text-align: center;
  margin-bottom: var(--app-spacing-3xl);
  padding: 0 var(--app-spacing-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.section-label {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #333333;
  margin-bottom: var(--app-spacing-xl);
  text-transform: uppercase;
  font-family: var(--app-font-family-base);
  text-align: center;
}

.process-title {
  font-size: 80px;
  font-weight: 900;
  color: #333333;
  margin: var(--app-spacing-xl) 0 0 0;
  letter-spacing: -1px;
  line-height: 1.1;
  text-transform: none;
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-3xl);
  font-family: 'DIN Alternate', sans-serif;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.process-title-line {
  display: inline-block;
  border: none;
  padding: var(--app-spacing-lg) var(--app-spacing-2xl);
  background: #ffcc00;
  max-width: calc(100% - 2 * var(--app-spacing-xl));
  text-transform: none;
  box-shadow: none;
  transform: rotate(-1deg);
  color: #333333;
  letter-spacing: 0.5px;
  line-height: 1.2;
  font-size: 80px;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.process-title-accent {
  background: #008080;
  color: #FFFFFF;
  transform: rotate(2deg);
  margin-left: var(--app-spacing-xl);
  text-transform: none;
  box-shadow: none;
  letter-spacing: 1px;
  line-height: 1.2;
  font-size: 80px;
  padding: var(--app-spacing-lg) var(--app-spacing-2xl);
  max-width: calc(100% - 2 * var(--app-spacing-xl));
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.process-dialog-bubble {
  position: absolute;
  top: 60%;
  right: -20px;
  transform: translateY(-50%) rotate(-3deg);
  background: #FFFFFF;
  border: 4px solid #333333;
  padding: var(--app-spacing-md) var(--app-spacing-lg);
  box-shadow: none;
  font-size: 40px;
  font-weight: 900;
  color: #333333;
  font-family: 'DIN Alternate', sans-serif;
  letter-spacing: 0.5px;
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
  max-width: calc(100% - var(--app-spacing-xl));
  box-sizing: border-box;
  line-height: 1.2;
}

.process-dialog-bubble::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid #333333;
}

.process-dialog-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 36px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #FFFFFF;
  z-index: 1;
}

.dialog-quote {
  font-size: 48px;
  font-weight: 900;
  line-height: 0;
  vertical-align: middle;
}

.process-video-container {
  width: 100%;
  margin: var(--app-spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.process-video-placeholder {
  width: 100%;
  position: relative;
  background: #E0E0E0;
  border: 3px solid #333333;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1), 12px 12px 0 #E0E0E0;
  clip-path: polygon(1% 0, 99% 2%, 98% 98%, 2% 100%);
  transform: rotate(0.5deg);
  overflow: hidden;
}

.process-video-placeholder::before {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}

.video-placeholder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--app-spacing-md);
  background: transparent;
  z-index: 1;
}

.video-coming-soon-box {
  display: inline-block;
  padding: var(--app-spacing-md) var(--app-spacing-xl);
  background: #FFFFFF;
  border: 3px solid #333333;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1), 12px 12px 0 #E0E0E0;
  transform: rotate(-1deg);
  color: #333333;
  letter-spacing: 2px;
  line-height: 1.2;
  font-size: 24px;
  font-weight: 900;
  font-family: var(--app-font-family-base);
  text-transform: uppercase;
  margin: 0 0 var(--app-spacing-lg) 0;
  box-sizing: border-box;
  white-space: nowrap;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--app-spacing-xl);
  margin-top: var(--app-spacing-2xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--app-spacing-xl);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #FFFFFF;
  position: relative;
  border: 3px solid #333333;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1), 12px 12px 0 #E0E0E0;
  min-height: 320px;
  overflow: visible;
  clip-path: polygon(2% 0, 98% 2%, 100% 98%, 0 100%);
}

.process-step-1 {
  background: #FFFFFF;
  border-color: #008080;
  clip-path: polygon(0 3%, 97% 0, 100% 97%, 3% 100%);
  transform: rotate(-1.5deg);
}

.process-step-2 {
  background: #FFFFFF;
  border-color: #ff7f2a;
  clip-path: polygon(3% 0, 100% 3%, 97% 100%, 0 97%);
  transform: rotate(1.2deg);
}

.process-step-3 {
  background: #FFFFFF;
  border-color: #333333;
  clip-path: polygon(1% 2%, 99% 1%, 98% 99%, 2% 98%);
  transform: rotate(-0.8deg);
}

.step-number-box {
  width: 100%;
  height: 90px;
  background: #ff7f2a;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  font-family: var(--app-font-family-base);
  letter-spacing: 3px;
  border-bottom: 3px solid #ff7f2a;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 5%, 98% 100%, 2% 95%);
  transform: rotate(0.5deg);
  text-transform: uppercase;
  padding: 0 var(--app-spacing-md);
}

.process-step-1 .step-number-box {
  background: #008080;
  color: #FFFFFF;
  border-bottom-color: #008080;
  clip-path: polygon(2% 0, 98% 3%, 100% 97%, 0 100%);
  transform: rotate(-0.8deg);
}

.process-step-3 .step-number-box {
  background: #333333;
  color: #FFFFFF;
  border-bottom-color: #333333;
  clip-path: polygon(1% 2%, 99% 0, 97% 100%, 3% 98%);
  transform: rotate(0.6deg);
}

.step-content-box {
  padding: var(--app-spacing-xl) var(--app-spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-md);
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-illustration {
  width: calc(100% + 2 * var(--app-spacing-lg));
  height: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  margin: calc(-1 * var(--app-spacing-xl)) calc(-1 * var(--app-spacing-lg)) var(--app-spacing-md) calc(-1 * var(--app-spacing-lg));
  box-shadow: none;
  position: relative;
  clip-path: none;
  transform: none;
  overflow: hidden;
}

.step-illustration img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: none;
  display: block;
}

.step-text {
  font-size: 16px;
  color: #333333;
  margin: 0;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.1px;
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.step-text li {
  position: relative;
  padding-left: var(--app-spacing-lg);
  margin-bottom: var(--app-spacing-sm);
  line-height: 1.6;
}

.step-text li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.4;
}

.process-step-1 .step-text li:before {
  color: #008080;
}

.process-step-2 .step-text li:before {
  color: #ff7f2a;
}

.process-step-3 .step-text li:before {
  color: #333333;
}

/* Features Section */
.features-section {
  margin: 0;
  padding: var(--app-spacing-3xl) 0;
  background: #FFFFFF;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--app-spacing-xl);
  margin-top: var(--app-spacing-2xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--app-spacing-xl);
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #FFFFFF;
  position: relative;
  border: 3px solid #333333;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1), 12px 12px 0 #E0E0E0;
  min-height: 320px;
  overflow: visible;
  clip-path: polygon(2% 0, 98% 2%, 100% 98%, 0 100%);
}

.feature-item-1 {
  background: #FFFFFF;
  border-color: #008080;
  clip-path: polygon(0 3%, 97% 0, 100% 97%, 3% 100%);
  transform: rotate(-1.5deg);
}

.feature-item-2 {
  background: #FFFFFF;
  border-color: #333333;
  clip-path: polygon(1% 2%, 99% 1%, 98% 99%, 2% 98%);
  transform: rotate(-0.8deg);
}

.feature-item-3 {
  background: #FFFFFF;
  color: #333333;
  border-color: #ffcc00;
  clip-path: polygon(3% 0, 100% 3%, 97% 100%, 0 97%);
  transform: rotate(1.2deg);
}

.feature-icon-box {
  width: 100%;
  height: 90px;
  background: #008080;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  font-family: var(--app-font-family-base);
  letter-spacing: 3px;
  border-bottom: 3px solid #008080;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 5%, 98% 100%, 2% 95%);
  transform: rotate(0.5deg);
  text-transform: uppercase;
  padding: 0 var(--app-spacing-md);
}

.feature-item-1 .feature-icon-box {
  background: #008080;
  color: #FFFFFF;
  border-bottom-color: #008080;
  clip-path: polygon(2% 0, 98% 3%, 100% 97%, 0 100%);
  transform: rotate(-0.8deg);
}

.feature-item-2 .feature-icon-box {
  background: #333333;
  color: #FFFFFF;
  border-bottom-color: #333333;
  clip-path: polygon(1% 2%, 99% 0, 97% 100%, 3% 98%);
  transform: rotate(0.6deg);
}

.feature-item-3 .feature-icon-box {
  background: #ffcc00;
  color: #333333;
  border-bottom-color: #ffcc00;
  clip-path: polygon(3% 0, 100% 3%, 97% 100%, 0 97%);
  transform: rotate(1.2deg);
}

.feature-content-box {
  padding: var(--app-spacing-xl) var(--app-spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--app-spacing-lg);
}

.feature-illustration {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  margin-bottom: 0;
  box-shadow: none;
  position: relative;
  border-radius: 50%;
  background: #5BC4C5;
}

.feature-illustration svg,
.feature-illustration ion-icon {
  font-size: 80px;
  color: #FFFFFF;
  width: 80px;
  height: 80px;
  display: block;
}

.feature-illustration svg {
  fill: #FFFFFF;
}

.feature-item-1 .feature-illustration {
  background: #5BC4C5;
}

.feature-item-2 .feature-illustration {
  background: #333333;
}

.feature-item-3 .feature-illustration {
  background: #FCCE6B;
}

.feature-item-3 .feature-illustration svg,
.feature-item-3 .feature-illustration ion-icon {
  color: #333333;
}

.feature-item-3 .feature-illustration svg {
  fill: #333333;
}

.feature-text {
  font-size: 16px;
  color: #333333;
  margin: 0;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.1px;
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.feature-text li {
  position: relative;
  padding-left: var(--app-spacing-lg);
  margin-bottom: var(--app-spacing-sm);
  line-height: 1.6;
}

.feature-text li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.4;
}

.feature-item-1 .feature-text li:before {
  color: #008080;
}

.feature-item-2 .feature-text li:before {
  color: #333333;
}

.feature-item-3 .feature-text li:before {
  color: #ffcc00;
}

/* Footer Section */
.footer-section {
  text-align: center;
  margin: 0;
  padding: var(--app-spacing-2xl) var(--app-spacing-xl);
  border-top: 2px solid #E0E0E0;
  background: #F5F5F5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.footer-text {
  font-size: 12px;
  color: #333333;
  margin: 0;
  line-height: 1.8;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--app-font-family-base);
}

.footer-link {
  color: #333333;
  text-decoration: none;
  font-weight: 900;
  border-bottom: 2px solid #333333;
  transition: all 0.2s ease;
}

.footer-link:hover {
  background: #008080;
  padding: 2px 4px;
  color: #FFFFFF;
}

/* Email Form Page Styles */
.email-form-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--app-spacing-3xl) var(--app-spacing-xl);
  background: var(--grunge-paper);
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
}

.email-form-container {
  max-width: 600px;
  width: 100%;
  background: #FFFFFF;
  padding: var(--app-spacing-3xl);
  border: 3px solid #333333;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1), 12px 12px 0 #E0E0E0;
  clip-path: polygon(2% 0, 98% 2%, 100% 98%, 0 100%);
  transform: rotate(-0.5deg);
}

.email-form-title {
  font-size: 48px;
  font-weight: 900;
  color: #333333;
  margin-bottom: var(--app-spacing-lg);
  text-align: center;
  font-family: 'DIN Alternate', sans-serif;
  text-transform: uppercase;
}

.email-form-description {
  font-size: var(--app-font-size-md);
  color: #666666;
  margin-bottom: var(--app-spacing-2xl);
  text-align: center;
  line-height: 1.6;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-lg);
}

.email-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--app-spacing-sm);
}

.email-form-label {
  font-size: var(--app-font-size-sm);
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.email-form-input {
  padding: var(--app-spacing-md);
  border: 2px solid #333333;
  font-size: var(--app-font-size-md);
  font-family: var(--app-font-family-base);
  background: #FFFFFF;
  color: #333333;
  transition: all 0.2s ease;
}

.email-form-input:focus {
  outline: none;
  border-color: #008080;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.email-form-submit {
  background: #008080;
  color: #FFFFFF;
  border: none;
  padding: var(--app-spacing-lg) var(--app-spacing-xl);
  font-size: var(--app-font-size-lg);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 #666666;
  transform: rotate(-1deg);
  font-family: var(--app-font-family-base);
}

.email-form-submit:hover {
  transform: rotate(0deg) translateY(-2px) translateX(-2px);
  box-shadow: 6px 6px 0 #666666;
  background: #006666;
}

.email-form-submit:active {
  transform: rotate(0deg) translateY(1px) translateX(1px);
  box-shadow: 3px 3px 0 #666666;
}

.email-form-message {
  padding: var(--app-spacing-md);
  border-radius: var(--app-radius-sm);
  margin-bottom: var(--app-spacing-md);
  text-align: center;
  font-weight: 600;
}

.email-form-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.email-form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    padding: var(--app-spacing-lg);
  }
  
  .hero-title {
    font-size: clamp(40px, 8vw, 80px);
    width: 100%;
  }
  
  .hero-title .title-word {
    font-size: clamp(32px, 7vw, 72px);
  }
  
  .process-title {
    font-size: clamp(32px, 7vw, 80px);
  }

  .process-title-line,
  .process-title-accent {
    font-size: clamp(36px, 7vw, 80px);
    padding: var(--app-spacing-md) var(--app-spacing-lg);
    width: fit-content;
    max-width: calc(100% - 2 * var(--app-spacing-md));
  }
  
  .process-dialog-bubble {
    right: -20px;
    max-width: calc(100% - var(--app-spacing-lg));
    font-size: clamp(20px, 4vw, 40px);
    top: 60%;
  }
  
  .color-block {
    max-width: min(120px, 15vw);
    max-height: min(100px, 12vh);
  }
  
  .hero-logo {
    height: 115px !important;
    max-height: 120px !important;
  }

  .hero-content {
    padding-top: calc(120px + var(--app-spacing-xl) + var(--app-spacing-lg));
  }

  /* Keep 3 columns on tablet */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--app-spacing-lg);
  }

  .stat-divider-vertical {
    display: none;
  }

  .process-steps,
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--app-spacing-lg);
  }
}

/* Tablets: 768px-1024px - keep 3 columns */
@media (min-width: 768px) and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--app-spacing-lg);
  }

  .stat-divider-vertical {
    display: none;
  }

  .process-steps,
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--app-spacing-lg);
  }
}

/* Mobile phones: < 768px - 1 column */
@media (max-width: 767px) {
  .hero-section {
    min-height: 600px;
    padding: var(--app-spacing-2xl) 0;
  }

  .hero-header {
    top: var(--app-spacing-md);
    left: var(--app-spacing-md);
  }

  .hero-logo {
    height: 115px !important;
    max-height: 115px !important;
    width: auto;
  }

  .hero-content {
    padding-top: 80px;
    padding-left: var(--app-spacing-md);
    padding-right: var(--app-spacing-md);
    padding-bottom: var(--app-spacing-xl);
  }

  .hero-title {
    grid-template-columns: 1fr;
    gap: var(--app-spacing-sm);
  }

  .process-title {
    font-size: clamp(28px, 6vw, 50px);
  }

  .process-header {
    padding: 0 var(--app-spacing-md);
  }

  .process-title-line,
  .process-title-accent {
    font-size: clamp(28px, 6.5vw, 45px) !important;
    padding: var(--app-spacing-sm) var(--app-spacing-md) !important;
    width: fit-content;
    max-width: calc(100% - 2 * var(--app-spacing-md));
    white-space: nowrap;
    margin-left: 0;
    line-height: 1.2;
    box-sizing: border-box;
  }

  /* Mobile: 1 column layout */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--app-spacing-xl);
  }

  .stat-divider-vertical {
    display: none;
  }

  .stats-divider-horizontal {
    display: block;
    width: 100%;
    height: 2px;
    background: #E0E0E0;
  }

  .process-steps,
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--app-spacing-xl);
    padding: 0 var(--app-spacing-sm);
  }

  .email-form-container {
    padding: var(--app-spacing-xl);
  }

  .email-form-title {
    font-size: 32px;
  }
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 2px solid var(--grunge-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--app-spacing-sm) var(--app-spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
}

.header-logo {
  flex-shrink: 0;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
}

.header-logo a {
  display: block;
  line-height: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-logo-img {
  height: 80px !important;
  width: auto !important;
  max-width: 300px !important;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.main-navigation {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  
  .nav-menu li {
    display: inline-block !important;
    width: auto !important;
  }
  
  .nav-menu a {
    display: inline-block !important;
    width: auto !important;
    padding: var(--app-spacing-xs) 0 !important;
    border-bottom: 2px solid transparent !important;
  }
}

.menu-toggle {
  display: none !important;
  background: none;
  border: 2px solid var(--grunge-ink);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
  height: 14px;
  position: relative;
  justify-content: space-between;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--grunge-ink);
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.nav-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: var(--app-spacing-xl);
  align-items: center;
  flex-direction: row;
}

.nav-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: inline-block;
}

.nav-menu a {
  color: var(--grunge-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--app-font-size-md);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  padding: var(--app-spacing-xs) 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--app-primary-color);
  border-bottom-color: var(--app-primary-color);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================
   Content Area & Layout
   ============================================ */

.site-content {
  margin-top: 0;
}

/* body:not(.home) .site-content,
body.blog .site-content,
body.archive .site-content,
body.search .site-content,
body.single .site-content,
body.page:not(.home) .site-content {
  margin-top: 70px;
} */

body.home .site-content {
  margin-top: 0 !important;
}

.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--app-spacing-2xl) var(--app-spacing-xl);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--app-spacing-2xl);
}

.content-area:has(.welcome-content) {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding: 0;
}

.site-main {
  min-width: 0;
}

/* ============================================
   Blog Post Styles
   ============================================ */

.single-post {
  background: #FFFFFF;
  padding: var(--app-spacing-2xl);
  border: 3px solid var(--grunge-ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
  margin-bottom: var(--app-spacing-2xl);
}

.entry-header {
  margin-bottom: var(--app-spacing-2xl);
}

.post-featured-image,
.page-featured-image {
  margin-bottom: var(--app-spacing-xl);
  overflow: hidden;
}

.post-featured-image img,
.page-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-meta {
  margin-bottom: var(--app-spacing-lg);
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
  margin-bottom: var(--app-spacing-md);
  flex-wrap: wrap;
}

.post-categories {
  display: flex;
  gap: var(--app-spacing-sm);
  flex-wrap: wrap;
}

.category-link {
  display: inline-block;
  padding: var(--app-spacing-xs) var(--app-spacing-md);
  background: var(--app-primary-color);
  color: #FFFFFF;
  text-decoration: none;
  font-size: var(--app-font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.category-link:hover {
  background: var(--app-primary-dark);
}

.post-reading-time {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-xs);
  color: var(--app-text-secondary);
  font-size: var(--app-font-size-sm);
  font-weight: 600;
}

.reading-time-icon {
  font-size: 16px;
}

.entry-title {
  font-size: var(--app-font-size-3xl);
  font-weight: 900;
  color: var(--grunge-ink);
  margin: 0 0 var(--app-spacing-lg) 0;
  line-height: 1.2;
  font-family: var(--app-font-family-heading);
}

.post-meta-bottom {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
  padding-top: var(--app-spacing-md);
  border-top: 2px solid var(--app-border-color);
}

.post-author {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
}

.author-avatar {
  border-radius: 50%;
  border: 2px solid var(--grunge-ink);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 700;
  color: var(--grunge-ink);
  font-size: var(--app-font-size-md);
}

.post-date {
  font-size: var(--app-font-size-sm);
  color: var(--app-text-secondary);
}

.entry-content {
  font-size: var(--app-font-size-md);
  line-height: 1.8;
  color: var(--app-text-primary);
  margin-bottom: var(--app-spacing-2xl);
}

.entry-content p {
  margin-bottom: var(--app-spacing-lg);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--app-font-family-heading);
  font-weight: 900;
  margin-top: var(--app-spacing-2xl);
  margin-bottom: var(--app-spacing-lg);
  color: var(--grunge-ink);
}

.entry-content h2 {
  font-size: var(--app-font-size-2xl);
}

.entry-content h3 {
  font-size: var(--app-font-size-xl);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: var(--app-spacing-lg);
  padding-left: var(--app-spacing-xl);
}

.entry-content li {
  margin-bottom: var(--app-spacing-sm);
}

.entry-content a {
  color: var(--app-primary-color);
  text-decoration: underline;
}

.entry-content a:hover {
  color: var(--app-primary-dark);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: var(--app-spacing-xl) 0;
}

.entry-footer {
  padding-top: var(--app-spacing-xl);
  border-top: 2px solid var(--app-border-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--app-spacing-sm);
  margin-bottom: var(--app-spacing-xl);
  align-items: center;
}

.tags-label {
  font-weight: 700;
  color: var(--grunge-ink);
  margin-right: var(--app-spacing-xs);
}

.tag-link {
  display: inline-block;
  padding: var(--app-spacing-xs) var(--app-spacing-md);
  background: var(--app-gray-100);
  color: var(--grunge-ink);
  text-decoration: none;
  font-size: var(--app-font-size-sm);
  border: 1px solid var(--app-border-color);
  transition: all 0.2s ease;
}

.tag-link:hover {
  background: var(--app-primary-color);
  color: #FFFFFF;
  border-color: var(--app-primary-color);
}

.post-social-sharing {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
  padding-top: var(--app-spacing-lg);
  border-top: 2px solid var(--app-border-color);
}

.sharing-label {
  font-weight: 700;
  color: var(--grunge-ink);
  font-size: var(--app-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--grunge-ink);
  color: var(--grunge-ink);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.share-link:hover {
  background: var(--grunge-ink);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.share-link svg {
  width: 20px;
  height: 20px;
}

/* Post Navigation */
.post-navigation {
  margin: var(--app-spacing-2xl) 0;
  padding: var(--app-spacing-xl);
  background: var(--app-gray-50);
  border: 2px solid var(--app-border-color);
  display: flex;
  justify-content: space-between;
  gap: var(--app-spacing-xl);
}

.nav-links {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: var(--app-spacing-xl);
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-subtitle {
  display: block;
  font-size: var(--app-font-size-sm);
  color: var(--app-text-secondary);
  margin-bottom: var(--app-spacing-xs);
  font-weight: 600;
}

.nav-title {
  display: block;
  font-weight: 700;
  color: var(--grunge-ink);
  text-decoration: none;
}

.nav-title:hover {
  color: var(--app-primary-color);
}

/* Related Posts */
.related-posts {
  margin-top: var(--app-spacing-3xl);
  padding-top: var(--app-spacing-2xl);
  border-top: 3px solid var(--grunge-ink);
}

.related-posts-title {
  font-size: var(--app-font-size-2xl);
  font-weight: 900;
  color: var(--grunge-ink);
  margin-bottom: var(--app-spacing-xl);
  font-family: var(--app-font-family-heading);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--app-spacing-xl);
}

.related-post-item {
  background: #FFFFFF;
  border: 2px solid var(--app-border-color);
  overflow: hidden;
  transition: all 0.2s ease;
}

.related-post-item:hover {
  border-color: var(--app-primary-color);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.related-post-thumbnail {
  display: block;
  overflow: hidden;
}

.related-post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-img {
  transform: scale(1.05);
}

.related-post-content {
  padding: var(--app-spacing-lg);
}

.related-post-title {
  font-size: var(--app-font-size-lg);
  font-weight: 700;
  margin: 0 0 var(--app-spacing-sm) 0;
}

.related-post-title a {
  color: var(--grunge-ink);
  text-decoration: none;
}

.related-post-title a:hover {
  color: var(--app-primary-color);
}

.related-post-meta {
  font-size: var(--app-font-size-sm);
  color: var(--app-text-secondary);
}

/* ============================================
   Archive & Blog Listing
   ============================================ */

.page-header {
  margin-bottom: var(--app-spacing-3xl);
  padding-bottom: var(--app-spacing-xl);
  border-bottom: 3px solid var(--grunge-ink);
}

.page-title {
  font-size: var(--app-font-size-3xl);
  font-weight: 900;
  color: var(--grunge-ink);
  margin: 0;
  font-family: var(--app-font-family-heading);
}

.archive-description {
  margin-top: var(--app-spacing-md);
  font-size: var(--app-font-size-md);
  color: var(--app-text-secondary);
  line-height: 1.6;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--app-spacing-xl);
  margin-bottom: var(--app-spacing-2xl);
}

.post-card {
  background: #FFFFFF;
  border: 2px solid var(--app-border-color);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--app-primary-color);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.post-card-thumbnail {
  display: block;
  overflow: hidden;
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.post-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.post-card-content {
  padding: var(--app-spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
  margin-bottom: var(--app-spacing-md);
  flex-wrap: wrap;
}

.post-card-category {
  display: inline-block;
  padding: var(--app-spacing-xs) var(--app-spacing-sm);
  background: var(--app-primary-color);
  color: #FFFFFF;
  text-decoration: none;
  font-size: var(--app-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card-category:hover {
  background: var(--app-primary-dark);
}

.post-card-date {
  font-size: var(--app-font-size-sm);
  color: var(--app-text-secondary);
}

.post-card-title {
  font-size: var(--app-font-size-xl);
  font-weight: 900;
  margin: 0 0 var(--app-spacing-md) 0;
  line-height: 1.3;
  font-family: var(--app-font-family-heading);
}

.post-card-title a {
  color: var(--grunge-ink);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--app-primary-color);
}

.post-card-excerpt {
  font-size: var(--app-font-size-md);
  color: var(--app-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--app-spacing-lg);
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--app-spacing-md);
  border-top: 1px solid var(--app-border-color);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-sm);
}

.post-card-avatar {
  border-radius: 50%;
  border: 1px solid var(--app-border-color);
}

.post-card-author-name {
  font-size: var(--app-font-size-sm);
  font-weight: 600;
  color: var(--grunge-ink);
}

.post-card-reading-time {
  font-size: var(--app-font-size-xs);
  color: var(--app-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   Sidebar
   ============================================ */

.widget-area {
  min-width: 0;
}

.widget {
  background: #FFFFFF;
  border: 2px solid var(--app-border-color);
  padding: var(--app-spacing-xl);
  margin-bottom: var(--app-spacing-xl);
}

.widget-title {
  font-size: var(--app-font-size-lg);
  font-weight: 900;
  color: var(--grunge-ink);
  margin: 0 0 var(--app-spacing-lg) 0;
  padding-bottom: var(--app-spacing-md);
  border-bottom: 2px solid var(--grunge-ink);
  font-family: var(--app-font-family-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  padding: var(--app-spacing-sm) 0;
  border-bottom: 1px solid var(--app-border-color);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--grunge-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.widget a:hover {
  color: var(--app-primary-color);
}

/* ============================================
   Comments
   ============================================ */

.comments-area {
  margin-top: var(--app-spacing-3xl);
  padding-top: var(--app-spacing-2xl);
  border-top: 3px solid var(--grunge-ink);
}

.comments-title {
  font-size: var(--app-font-size-2xl);
  font-weight: 900;
  color: var(--grunge-ink);
  margin-bottom: var(--app-spacing-xl);
  font-family: var(--app-font-family-heading);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--app-spacing-2xl) 0;
}

.comment {
  padding: var(--app-spacing-lg);
  margin-bottom: var(--app-spacing-lg);
  background: var(--app-gray-50);
  border-left: 3px solid var(--app-primary-color);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: var(--app-spacing-md);
  margin-bottom: var(--app-spacing-md);
}

.comment-author .avatar {
  border-radius: 50%;
  border: 2px solid var(--grunge-ink);
}

.comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comment-author-name {
  font-weight: 700;
  color: var(--grunge-ink);
}

.comment-metadata {
  font-size: var(--app-font-size-sm);
  color: var(--app-text-secondary);
}

.comment-content {
  margin-top: var(--app-spacing-md);
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-block;
  margin-top: var(--app-spacing-md);
  padding: var(--app-spacing-xs) var(--app-spacing-md);
  background: var(--app-primary-color);
  color: #FFFFFF;
  text-decoration: none;
  font-size: var(--app-font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.comment-reply-link:hover {
  background: var(--app-primary-dark);
}

.comment-form {
  margin-top: var(--app-spacing-2xl);
}

.comment-reply-title {
  font-size: var(--app-font-size-xl);
  font-weight: 900;
  color: var(--grunge-ink);
  margin-bottom: var(--app-spacing-lg);
  font-family: var(--app-font-family-heading);
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-weight: 700;
  color: var(--grunge-ink);
  margin-bottom: var(--app-spacing-xs);
  font-size: var(--app-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: var(--app-spacing-md);
  border: 2px solid var(--grunge-ink);
  font-size: var(--app-font-size-md);
  font-family: var(--app-font-family-base);
  margin-bottom: var(--app-spacing-md);
  box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--app-primary-color);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.submit-button {
  background: var(--app-primary-color);
  color: #FFFFFF;
  border: none;
  padding: var(--app-spacing-md) var(--app-spacing-xl);
  font-size: var(--app-font-size-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 4px 4px 0 #666666;
}

.submit-button:hover {
  background: var(--app-primary-dark);
  transform: translateY(-2px) translateX(-2px);
  box-shadow: 6px 6px 0 #666666;
}

/* ============================================
   Search Form
   ============================================ */

.search-form {
  display: flex;
  gap: var(--app-spacing-sm);
  max-width: 400px;
}

.search-field {
  flex: 1;
  padding: var(--app-spacing-md);
  border: 2px solid var(--grunge-ink);
  font-size: var(--app-font-size-md);
  font-family: var(--app-font-family-base);
}

.search-field:focus {
  outline: none;
  border-color: var(--app-primary-color);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.search-submit {
  background: var(--app-primary-color);
  color: #FFFFFF;
  border: 2px solid var(--app-primary-color);
  padding: var(--app-spacing-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  min-width: 44px;
}

.search-submit:hover {
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
}

/* ============================================
   404 Page
   ============================================ */

.error-404 {
  text-align: center;
  padding: var(--app-spacing-3xl) var(--app-spacing-xl);
}

.error-404 .page-title {
  font-size: 120px;
  font-weight: 900;
  color: var(--app-primary-color);
  margin-bottom: var(--app-spacing-md);
  line-height: 1;
}

.error-404 .page-subtitle {
  font-size: var(--app-font-size-2xl);
  font-weight: 700;
  color: var(--grunge-ink);
  margin-bottom: var(--app-spacing-xl);
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--app-font-size-md);
  line-height: 1.6;
  color: var(--app-text-secondary);
}

.error-404-widgets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--app-spacing-xl);
  margin-top: var(--app-spacing-2xl);
  text-align: left;
}

.error-404-widgets .widget {
  background: var(--app-gray-50);
}

/* ============================================
   Pagination
   ============================================ */

.posts-navigation,
.post-navigation {
  margin: var(--app-spacing-2xl) 0;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--app-spacing-sm);
  margin: var(--app-spacing-2xl) 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: var(--app-spacing-sm) var(--app-spacing-md);
  border: 2px solid var(--grunge-ink);
  color: var(--grunge-ink);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--app-primary-color);
  color: #FFFFFF;
  border-color: var(--app-primary-color);
}

.page-numbers.dots {
  border: none;
  cursor: default;
}

.page-numbers.dots:hover {
  background: transparent;
  color: var(--grunge-ink);
}

/* ============================================
   Responsive Styles for Blog
   ============================================ */

@media (max-width: 1024px) {
  .content-area {
    grid-template-columns: 1fr;
    gap: var(--app-spacing-xl);
  }

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

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

@media (max-width: 768px) {
  .site-header {
    padding: 0;
    min-height: 60px;
  }

  .header-container {
    padding: var(--app-spacing-xs) var(--app-spacing-sm);
    min-height: 60px;
  }

  .header-logo {
    max-width: 220px;
    height: 60px;
  }

  .header-logo a {
    height: 60px;
  }

  .header-logo-img {
    height: 60px !important;
    max-width: 220px !important;
    object-fit: contain;
    object-position: left center;
  }

  .menu-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
  }

  .main-navigation {
    position: relative;
  }

  .nav-menu {
    position: fixed !important;
    top: 66px !important;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: var(--app-spacing-xl);
    gap: var(--app-spacing-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999 !important;
    overflow-y: auto;
    border-top: 2px solid var(--grunge-ink);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .main-navigation.nav-open .nav-menu,
  .nav-menu.nav-open {
    transform: translateX(0) !important;
    display: flex !important;
  }

  .nav-menu li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-menu a {
    display: block !important;
    padding: var(--app-spacing-md) 0 !important;
    font-size: var(--app-font-size-lg) !important;
    border-bottom: 1px solid var(--app-border-color) !important;
    width: 100% !important;
    border-bottom-color: var(--app-border-color) !important;
    text-transform: capitalize !important;
  }

  .nav-menu a:hover,
  .nav-menu a:focus {
    border-bottom-color: var(--app-primary-color) !important;
  }

  .site-content {
    margin-top: 60px;
  }
}

  .content-area {
    padding: var(--app-spacing-lg) var(--app-spacing-md);
  }

  .single-post {
    padding: var(--app-spacing-lg);
  }

  .entry-title {
    font-size: var(--app-font-size-2xl);
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .error-404-widgets {
    grid-template-columns: 1fr;
  }

  .post-navigation {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
  }
}

