/*
Theme Name: Hart IT
Theme URI: https://hartit.nl
Author: Hart IT
Author URI: https://hartit.nl
Description: Custom WordPress theme voor Hart IT - Websites & Online Groei
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hartit
Tags: custom, business, portfolio, dark-theme
*/

/* ==========================================
   DARK/LIGHT THEME SYSTEM
   ========================================== */

/* Clash Display - Self-hosted */
@font-face {
    font-family: 'Clash Display';
    src: url('./fonts/ClashDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('./fonts/ClashDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('./fonts/ClashDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('./fonts/ClashDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   CSS Variables — DARK (default)
   ========================================== */
:root {
    --color-bg: #0a0a14;
    --color-bg-alt: #0f0f1a;
    --color-bg-card: #12121e;
    --color-bg-card-hover: #1a1a2e;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    --color-dark: #f0f0f5;
    --color-text: #c8c8d4;
    --color-text-muted: #8888a0;

    --color-accent: #6366f1;
    --color-accent-light: rgba(99, 102, 241, 0.15);
    --color-accent-dark: #4f46e5;
    --color-accent-glow: rgba(99, 102, 241, 0.25);

    --color-green: #10B981;
    --color-green-light: rgba(16, 185, 129, 0.15);
    --color-blue: #3B82F6;
    --color-blue-light: rgba(59, 130, 246, 0.15);
    --color-red: #ef4444;
    --color-red-light: rgba(239, 68, 68, 0.15);
    --color-yellow: #F59E0B;
    --color-yellow-light: rgba(245, 158, 11, 0.15);
    --color-warm: #64748B;
    --color-warm-light: rgba(100, 116, 139, 0.15);

    --font-display: 'Clash Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 10px 40px rgba(99, 102, 241, 0.2);

    --color-header-bg: rgba(10, 10, 20, 0.85);
    --color-footer-bg: #06060e;
    --color-input-bg: #12121e;
    --color-input-border: rgba(255, 255, 255, 0.1);
    --color-input-focus: rgba(99, 102, 241, 0.3);

    --color-selection-bg: var(--color-accent);
    --color-selection-text: white;
}

/* ==========================================
   CSS Variables — LIGHT MODE
   ========================================== */
[data-theme="light"] {
    --color-bg: #FDFBF7;
    --color-bg-alt: #F5F1E8;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f8f8fc;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);

    --color-dark: #1A1A1A;
    --color-text: #2D2D2D;
    --color-text-muted: #6B6B6B;

    --color-accent: #4f46e5;
    --color-accent-light: #DBEAFE;
    --color-accent-dark: #3730a3;
    --color-accent-glow: rgba(79, 70, 229, 0.15);

    --color-green-light: #D1FAE5;
    --color-blue-light: #DBEAFE;
    --color-red-light: #FEE2E2;
    --color-yellow-light: #FEF3C7;
    --color-warm-light: #E2E8F0;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 10px 40px rgba(79, 70, 229, 0.15);

    --color-header-bg: rgba(253, 251, 247, 0.9);
    --color-footer-bg: #1A1A1A;
    --color-input-bg: #FDFBF7;
    --color-input-border: #E5E5E5;
    --color-input-focus: rgba(79, 70, 229, 0.2);
}

/* ==========================================
   Reset & Base
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    transition: background 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

::selection {
    background: var(--color-selection-bg, var(--color-accent));
    color: var(--color-selection-text, white);
}

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

/* ==========================================
   Utilities
   ========================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

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

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { max-width: 65ch; }

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

em {
    font-style: italic;
    color: var(--color-accent);
}

a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark);
    border: 1.5px solid var(--color-border-hover);
}

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

.btn-arrow {
    transition: transform 0.3s var(--ease-bounce);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ==========================================
   Theme Toggle Button
   ========================================== */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--color-border-hover);
    border-radius: 50%;
    background: var(--color-bg-card);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    z-index: 1001;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s var(--ease-smooth);
}

.theme-toggle:hover svg {
    stroke: var(--color-accent);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ==========================================
   Header
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-dark);
    text-decoration: none;
}

.logo-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: transform 0.3s var(--ease-bounce);
}

.site-logo:hover .logo-heart {
    transform: scale(1.1) rotate(-5deg);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-smooth);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--color-dark);
}

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

.main-navigation .btn {
    padding: 0.75rem 1.5rem;
}

.main-navigation .btn-primary {
    background: var(--color-accent);
    color: white;
}

.main-navigation .btn-primary:hover {
    background: var(--color-accent-dark);
    color: white;
}

.main-navigation .btn::after {
    display: none;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.hero-gradient-1 {
    top: -200px;
    right: -200px;
    background: var(--color-accent);
}

.hero-gradient-2 {
    bottom: -300px;
    left: -200px;
    background: #818cf8;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.05); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s var(--ease-smooth);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent-light);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-section h1 span {
    display: block;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s var(--ease-smooth) 0.2s both;
}

.hero-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #818cf8);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-card-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), #818cf8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hero-card-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-card-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hero-stat {
    text-align: center;
    padding: 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
    display: block;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-float {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
}

.hero-float-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: -2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-float-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: clamp(5rem, 12vw, 8rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-accent-light);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--color-dark);
}

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

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-accent);
    transition: height 0.4s var(--ease-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease-smooth);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ==========================================
   Packages Section
   ========================================== */
.packages-section {
    background: var(--color-bg);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.package-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s var(--ease-smooth);
    box-shadow: var(--shadow-sm);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-website {
    border-color: rgba(99, 102, 241, 0.2);
}

.package-website:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-accent);
}

.package-nas {
    border-color: rgba(16, 185, 129, 0.2);
}

.package-nas:hover {
    border-color: var(--color-green);
    box-shadow: 0 30px 70px rgba(16, 185, 129, 0.15);
}

.package-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--color-green), #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.package-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s var(--ease-bounce);
}

.package-website .package-icon {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
}

.package-nas .package-icon {
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green));
}

.package-card:hover .package-icon {
    transform: scale(1.1) rotate(-5deg);
}

.package-icon svg {
    width: 36px;
    height: 36px;
}

.package-website .package-icon svg { stroke: white; }
.package-nas .package-icon svg { stroke: white; }

.package-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.package-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.package-price { margin-bottom: 2rem; }

.price-from {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.price-amount-large {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.price-split {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-onetime, .price-monthly {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.price-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-value-small {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-dark);
}

.price-amount-small {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount-small .price-currency { font-size: 1.25rem; }
.price-amount-small .price-value { font-size: 2.5rem; }

.package-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.package-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.feature-icon svg { width: 100%; height: 100%; }
.package-website .feature-icon svg { stroke: var(--color-accent); }
.package-nas .feature-icon svg { stroke: var(--color-green); }

.package-feature span {
    font-size: 0.95rem;
    color: var(--color-text);
}

.btn-package {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.package-website .btn-secondary {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.package-website .btn-secondary:hover {
    background: var(--color-accent);
    color: white;
}

.package-nas .btn-primary {
    background: var(--color-green);
}

.package-nas .btn-primary:hover {
    background: #059669;
}

.package-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.packages-help {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.packages-help p {
    color: var(--color-text-muted);
    margin: 0 auto 1rem;
    max-width: 500px;
}

.packages-help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease-smooth);
}

.packages-help-link:hover { gap: 0.75rem; }

/* ==========================================
   About Section
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-image {
    border-radius: 32px;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

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

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-accent);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.about-badge-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-accent);
    display: block;
}

.about-badge-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-content .lead { margin-bottom: 1.5rem; }

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.about-content p a {
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.about-content p a:hover {
    color: var(--color-accent);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================
   Process Section
   ========================================== */
.process-section {
    background: var(--color-bg-alt);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.process-section .section-badge {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.process-section .section-header h2 { color: var(--color-dark); }
.process-section .section-header p { color: var(--color-text-muted); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), #818cf8);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 240px;
    margin: 0 auto;
}

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.portfolio-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.portfolio-image::before {
    content: 'Bekijk live website →';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    z-index: 2;
}

.portfolio-card:hover .portfolio-image::before { opacity: 1; }

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.portfolio-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-accent);
}

.portfolio-content { padding: 2rem; }

.portfolio-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--color-accent-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.portfolio-content h3 { margin-bottom: 0.75rem; color: var(--color-dark); }
.portfolio-content p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ==========================================
   Demo Showcase
   ========================================== */
.demo-showcase { background: var(--color-bg-alt); }

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.demo-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease-smooth);
    box-shadow: var(--shadow-sm);
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.demo-card-image {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-alt);
}

/* Iframe preview inside demo cards */
.demo-card-iframe {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2400px;
    height: 1500px;
    border: 0;
    transform: translateX(-50%) scale(0.24);
    transform-origin: top center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.demo-card-iframe.loaded {
    opacity: 1;
}

.demo-card-iframe-skeleton {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-accent-light));
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.demo-card-iframe-skeleton::before {
    content: '';
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: demo-card-spin 0.8s linear infinite;
}

@keyframes demo-card-spin {
    to { transform: rotate(360deg); }
}

.demo-card-iframe-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    z-index: 2;
}

.demo-card:hover .demo-card-overlay { opacity: 1; }

.demo-card-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.demo-card:hover .demo-card-overlay span {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.demo-card-content { padding: 1.5rem; }

.demo-card-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.demo-card-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.demo-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section { background: var(--color-bg-alt); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--color-accent-light);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), #818cf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    overflow: hidden;
}

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

.testimonial-name { font-weight: 600; color: var(--color-dark); }
.testimonial-role { font-size: 0.85rem; color: var(--color-text-muted); }

/* ==========================================
   Regio Section (split layout)
   ========================================== */
.hrl-section {
    padding: 80px 0 40px;
}

.hrl-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.hrl-intro {
    position: sticky;
    top: 120px;
}

.hrl-intro h2 {
    margin-bottom: 1.25rem;
}

.hrl-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0;
}

.hrl-intro p a {
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hrl-intro p a:hover {
    color: var(--color-accent);
}

.hrl-regions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.hrl-region-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--color-border);
}

.hrl-region ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hrl-region ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.6;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.hrl-region ul li a:hover {
    color: var(--color-dark);
    padding-left: 6px;
}

.hrl-region ul li a strong {
    color: var(--color-dark);
    font-weight: 500;
}

@media (max-width: 900px) {
    .hrl-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hrl-intro {
        position: static;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hrl-section {
        padding: 60px 0 30px;
    }
    .hrl-regions {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .hrl-intro p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .hrl-regions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    padding: clamp(4rem, 10vw, 6rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
}

.cta-content { position: relative; }

.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section h2 em { color: #DBEAFE !important; }

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-accent);
}

.cta-section .btn-primary:hover {
    background: var(--color-dark);
    color: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 { margin-bottom: 1.5rem; color: var(--color-dark); }
.contact-info > p { color: var(--color-text-muted); margin-bottom: 2rem; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: var(--color-accent);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method a:hover { color: var(--color-accent-dark); }

.contact-method span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1.5px solid var(--color-input-border);
    border-radius: 14px;
    background: var(--color-input-bg);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 4px var(--color-input-focus);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Contact Form 7 */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1.5px solid var(--color-input-border);
    border-radius: 14px;
    background: var(--color-input-bg);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 4px var(--color-input-focus);
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 1.25rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.wpcf7-response-output {
    border-radius: 14px !important;
    padding: 1rem 1.5rem !important;
    margin-top: 1.5rem !important;
}

.contact-message {
    padding: 1.5rem 2rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.contact-message strong { display: block; font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-message p { margin: 0; font-size: 0.95rem; }

.contact-success {
    background: var(--color-green-light);
    border: 1px solid var(--color-green);
    color: #10B981;
}

.contact-error {
    background: var(--color-red-light);
    border: 1px solid var(--color-red);
    color: var(--color-red);
}

.contact-error a { color: var(--color-red); text-decoration: underline; }

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--color-footer-bg);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .site-logo {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand .logo-heart { background: var(--color-accent); }

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.footer-legal a:hover { color: white; }

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

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

.footer-social-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.site-footer .custom-logo {
    max-height: 46px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

/* ==========================================
   Footer Contact Section
   ========================================== */
.footer-contact-section {
    padding: 5rem 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.footer-contact-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.footer-contact-info h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-contact-info > p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

a.footer-contact-method:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-contact-method svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-accent);
}

.footer-contact-method span {
    font-size: 0.95rem;
}

.footer-contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
}

@media (max-width: 768px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-contact-info h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Scroll Animations
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-smooth);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================
   SVG Icons
   ========================================== */
.service-icon svg,
.about-feature-icon svg,
.contact-method-icon svg,
.hero-float-icon svg,
.hero-card-avatar svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent) !important;
    stroke-width: 1.5;
    fill: none;
    display: block;
}

.service-icon svg { width: 32px; height: 32px; }
.about-feature-icon svg { width: 24px; height: 24px; }
.contact-method-icon svg { width: 26px; height: 26px; }

.hero-float-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: var(--color-dark) !important;
}

.hero-card-avatar svg {
    width: 26px;
    height: 26px;
    stroke: white !important;
}

/* ==========================================
   WordPress Specific
   ========================================== */
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.wp-block-image img { border-radius: 16px; }

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

.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

[data-theme="light"] .custom-logo {
    filter: none;
}

.website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================
   Dropdown Navigation
   ========================================== */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul li.menu-item-has-children > a::after {
    position: static;
    bottom: auto;
    left: auto;
    width: 8px;
    height: 8px;
    background: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    margin-left: 6px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
}

.main-navigation ul li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
}

.main-navigation ul li.menu-item-has-children:hover > a::after {
    width: 8px;
    height: 8px;
    background: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-135deg);
    margin-top: 3px;
    opacity: 1;
}

.main-navigation ul ul.sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(20px);
}

.main-navigation ul li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.main-navigation ul li.menu-item-has-children > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.main-navigation ul ul.sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation ul ul.sub-menu li a::after {
    display: none !important;
}

.main-navigation ul ul.sub-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 0;
    border-left: 3px solid transparent;
}

.main-navigation ul ul.sub-menu li a:hover {
    color: var(--color-dark);
    background: var(--color-accent-light);
    border-left-color: var(--color-accent);
    padding-left: 1.4rem;
}

.main-navigation ul ul.sub-menu li:first-child a {
    border-radius: 12px 12px 0 0;
}

.main-navigation ul ul.sub-menu li:last-child a {
    border-radius: 0 0 12px 12px;
}

.main-navigation ul ul.sub-menu li + li {
    border-top: 1px solid var(--color-border);
}

/* Light theme dropdown */
[data-theme="light"] .main-navigation ul ul.sub-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .main-navigation ul ul.sub-menu li a {
    color: #4a5568;
    border-left-color: transparent;
}

[data-theme="light"] .main-navigation ul ul.sub-menu li a:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.06);
    border-left-color: #4f46e5;
}

[data-theme="light"] .main-navigation ul ul.sub-menu li + li {
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { order: -1; max-width: 400px; margin: 0 auto; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid .demo-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
    .demo-card-iframe { transform: translateX(-50%) scale(0.18); }
}

@media (max-width: 768px) {
    .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-card);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        transition: right 0.4s var(--ease-smooth);
        gap: 1rem;
        align-items: flex-start;
    }

    .main-navigation ul.active { right: 0; }
    .main-navigation a { font-size: 1.1rem; padding: 0.75rem 0; }
    .nav-toggle { display: flex; }
    .hero-section { min-height: auto; padding: 7rem 0 4rem; }
    .hero-float { display: none; }
    .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
    .about-features { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .wpcf7-form .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .demo-grid { grid-template-columns: 1fr; }
    .demo-grid .demo-card:last-child { grid-column: span 1; max-width: 100%; }
    .demo-card-iframe { transform: translateX(-50%) scale(0.16); }
    .packages-grid { grid-template-columns: 1fr; }
    .package-card { padding: 2rem; }
    .price-value { font-size: 3rem; }
    .custom-logo { max-height: 36px; }
    .site-footer .custom-logo { max-height: 36px; }

    /* Mobile dropdown */
    .main-navigation ul ul.sub-menu {
        position: static;
        transform: none !important;
        min-width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0.25rem 0 0.25rem 0.75rem;
        backdrop-filter: none;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-navigation ul li.menu-item-has-children:hover > ul.sub-menu,
    .main-navigation ul li.menu-item-has-children.active > ul.sub-menu {
        display: block;
        transform: none !important;
    }

    .main-navigation ul ul.sub-menu li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        border-left: 2px solid var(--color-accent);
    }

    .main-navigation ul ul.sub-menu li a:hover {
        padding-left: 1rem;
    }

    .main-navigation ul ul.sub-menu li:first-child a,
    .main-navigation ul ul.sub-menu li:last-child a {
        border-radius: 0;
    }

    .main-navigation ul ul.sub-menu li + li {
        border-top: none;
    }

    [data-theme="light"] .main-navigation ul ul.sub-menu {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    [data-theme="light"] .main-navigation ul ul.sub-menu li a {
        border-left: 2px solid #4f46e5;
    }
}
/* ==========================================
   BLOG - Archive & Single Post
   Hart IT Theme Extension
   ========================================== */

/* Blog Hero */
.blog-hero {
    padding: 10rem 0 3rem;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 1rem;
}

.blog-hero .lead {
    max-width: 550px;
    margin: 0 auto;
}

/* Category Filters */
.blog-filters {
    padding-bottom: 2rem;
}

.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.blog-filter-chip {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.blog-filter-chip:hover {
    color: var(--color-dark);
    border-color: var(--color-border-hover);
}

.blog-filter-chip.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Blog Grid */
.blog-grid-section {
    padding-bottom: clamp(5rem, 12vw, 8rem);
}

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

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

/* Featured card spans full width */
.blog-card-featured {
    grid-column: 1 / -1;
}

.blog-card-featured .blog-card-link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.blog-card-featured .blog-card-image {
    aspect-ratio: 16/10;
    border-radius: 20px 0 0 20px;
}

.blog-card-featured .blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.blog-card-featured .blog-card-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Regular Card */
.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-alt);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-accent-light));
}

.blog-card-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-accent);
    opacity: 0.4;
}

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.blog-card-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.3s var(--ease-smooth);
}

.blog-card:hover .blog-card-read {
    gap: 0.7rem;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination a:hover {
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.blog-pagination .current {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.blog-empty {
    text-align: center;
    padding: 4rem 0;
}

.blog-empty p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin: 0 auto 1.5rem;
}

/* ==========================================
   SINGLE POST
   ========================================== */

/* Post Hero */
.post-hero {
    padding: 10rem 0 3rem;
    text-align: center;
}

.post-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    max-width: 800px;
    margin: 0 auto;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.post-hero-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-hero-tag:hover {
    background: var(--color-accent);
    color: white;
}

.post-hero-dot {
    color: var(--color-border-hover);
}

.post-hero-excerpt {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 3rem;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
}

/* Post Content */
.post-content-wrapper {
    padding-bottom: clamp(4rem, 10vw, 6rem);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
}

.post-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 3rem 0 1.25rem;
    padding-top: 1rem;
}

.post-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: 2.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.post-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: var(--color-accent-dark);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.75rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--color-accent);
    background: var(--color-bg-alt);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--color-dark);
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content img {
    border-radius: 16px;
    margin: 2rem 0;
}

.post-content strong {
    color: var(--color-dark);
}

.post-content code {
    background: var(--color-bg-alt);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Table of Contents */
.post-toc {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.post-toc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.post-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}

.post-toc li {
    counter-increment: toc;
    margin-bottom: 0.35rem;
}

.post-toc li::before {
    content: counter(toc) ".";
    color: var(--color-text-muted);
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.post-toc li a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.post-toc li a:hover {
    color: var(--color-accent);
}

.post-toc li.toc-sub {
    padding-left: 1.5rem;
}

.post-toc li.toc-sub::before {
    font-size: 0.8rem;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.post-tag-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag-chip:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Author Box */
.post-author-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.post-author-avatar {
    flex-shrink: 0;
}

.post-author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.post-author-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.post-author-bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Post CTA */
.post-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.post-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
}

.post-cta h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.post-cta h3 em {
    color: #DBEAFE !important;
}

.post-cta p {
    color: rgba(255,255,255,0.85);
    margin: 0 auto 1.5rem;
    position: relative;
}

.post-cta .btn-primary {
    background: white;
    color: var(--color-accent);
    position: relative;
}

.post-cta .btn-primary:hover {
    background: var(--color-dark);
    color: white;
}

/* Related Posts */
.post-related {
    padding: clamp(4rem, 10vw, 6rem) 0;
    background: var(--color-bg-alt);
}

.post-related h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-card-featured .blog-card-link {
        grid-template-columns: 1fr;
    }
    .blog-card-featured .blog-card-image {
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 7rem 0 2rem;
    }
    .post-hero {
        padding: 7rem 0 2rem;
    }
    .blog-grid,
    .blog-grid-3 {
        grid-template-columns: 1fr;
    }
    .blog-card-featured .blog-card-content {
        padding: 1.75rem;
    }
    .post-author-box {
        flex-direction: column;
        text-align: center;
    }
    .post-cta {
        padding: 2rem 1.5rem;
    }
    .post-featured-image img {
        border-radius: 16px;
    }
}