/**
 * WriteDrip Client Theme CSS
 * Premium article-first theme for local service businesses.
 * @version 1.0.0
 */

/* ═══════════════════════════════════════════
   CSS Variables — WriteDrip Design System
   ═══════════════════════════════════════════ */
:root {
    --wd-accent: #2563eb;
    --wd-accent-hover: #1d4ed8;
    --wd-accent-light: #dbeafe;
    --wd-accent-glow: rgba(37,99,235,0.3);
    --wd-teal: #19e6c1;
    --wd-dark: #0a0d12;
    --wd-dark-card: #151b24;
    --wd-dark-line: #1e2a38;
    --wd-text: #0f172a;
    --wd-text-sub: #475569;
    --wd-text-dim: #94a3b8;
    --wd-text-light: #f1f5f9;
    --wd-line: #e2e8f0;
    --wd-bg: #ffffff;
    --wd-bg-alt: #f8fafc;
    --wd-radius: 12px;
    --wd-radius-lg: 16px;
    --wd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wd-header-h: 72px;
    --wd-max-w: 1200px;
    --wd-content-w: 760px;
}

/* ═══════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--wd-font);
    color: var(--wd-text);
    background: var(--wd-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--wd-header-h);
}
::selection { background: var(--wd-accent-light); color: #1e3a8a; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wd-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--wd-accent-hover); }

/* Skip link */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 99999;
    padding: 8px 16px; background: var(--wd-accent); color: #fff;
    text-decoration: none; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* ═══════════════════════════════════════════
   Header
   ═══════════════════════════════════════════ */
.wdc-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wd-line);
    transition: box-shadow 0.3s;
}
.wdc-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.wdc-header-inner {
    max-width: var(--wd-max-w); margin: 0 auto;
    padding: 0 24px; height: var(--wd-header-h);
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo / Brand */
.wdc-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.wdc-brand:hover { text-decoration: none; }
.wdc-brand-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--wd-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800;
    box-shadow: 0 2px 8px var(--wd-accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wdc-brand:hover .wdc-brand-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--wd-accent-glow);
}
.wdc-brand-name {
    font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
    color: var(--wd-text);
}

/* Custom logo image */
.wdc-custom-logo {
    max-height: 44px; width: auto;
}

/* Nav */
.wdc-nav {
    display: flex; gap: 8px; align-items: center;
}
.wdc-nav-link {
    color: var(--wd-text-sub); font-size: 15px; font-weight: 500;
    text-decoration: none; padding: 8px 14px; border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.wdc-nav-link:hover {
    color: var(--wd-accent); background: var(--wd-accent-light);
    text-decoration: none;
}
.wdc-nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
    height: 2px; background: var(--wd-accent); border-radius: 2px;
    transform: scaleX(0); transition: transform 0.2s;
}
.wdc-nav-link:hover::after { transform: scaleX(1); }
.wdc-nav-link.current::after { transform: scaleX(1); }
.wdc-nav-link.current { color: var(--wd-accent); }

/* Phone CTA in header */
.wdc-header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 8px;
    background: var(--wd-accent); color: #fff !important;
    font-size: 15px; font-weight: 600;
    text-decoration: none !important; margin-left: 8px;
    box-shadow: 0 2px 10px var(--wd-accent-glow);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.wdc-header-cta:hover {
    background: var(--wd-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--wd-accent-glow);
}
.wdc-header-cta:active { transform: translateY(0); }
.wdc-header-cta svg { width: 16px; height: 16px; }

/* Mobile menu */
.wdc-mobile-btn {
    display: none; background: none; border: none; cursor: pointer;
    padding: 10px; border-radius: 8px;
    transition: background 0.2s;
}
.wdc-mobile-btn:hover { background: var(--wd-bg-alt); }
.wdc-mobile-btn span {
    display: block; width: 20px; height: 2px;
    background: var(--wd-text); border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}
.wdc-mobile-btn span + span { margin-top: 5px; }
.wdc-mobile-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wdc-mobile-btn.active span:nth-child(2) { opacity: 0; }
.wdc-mobile-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.wdc-mobile-nav {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--wd-line);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 12px 0;
    animation: slideDown 0.25s ease;
}
.wdc-mobile-nav.open { display: flex; }
.wdc-mobile-nav a {
    display: block; color: var(--wd-text); font-weight: 500;
    font-size: 16px; padding: 12px 24px; text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.wdc-mobile-nav a:hover { background: var(--wd-bg-alt); color: var(--wd-accent); }
.wdc-mobile-nav .wdc-header-cta {
    margin: 8px 16px; text-align: center; justify-content: center;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    :root { --wd-header-h: 60px; }
    .wdc-nav { display: none !important; }
    .wdc-mobile-btn { display: flex; flex-direction: column; }
    .wdc-brand-name { font-size: 17px; }
}

/* ═══════════════════════════════════════════
   Homepage Hero
   ═══════════════════════════════════════════ */
.wdc-hero {
    position: relative;
    background: linear-gradient(135deg, var(--wd-dark) 0%, #131a25 100%);
    padding: 80px 24px 100px;
    overflow: hidden;
}
.wdc-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(25,230,193,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.wdc-hero-inner {
    max-width: var(--wd-max-w); margin: 0 auto;
    position: relative; z-index: 1;
    text-align: center;
}
.wdc-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 50px;
    background: rgba(37,99,235,0.15); color: var(--wd-accent);
    font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
    margin-bottom: 20px;
    border: 1px solid rgba(37,99,235,0.2);
}
.wdc-hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--wd-teal);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.wdc-hero h1 {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800;
    line-height: 1.1; letter-spacing: -1.5px;
    color: var(--wd-text-light);
    max-width: 700px; margin: 0 auto 18px;
    text-align: center;
}
.wdc-hero h1 em {
    font-style: normal; color: var(--wd-accent);
    position: relative;
}
.wdc-hero h1 em::after {
    content: ''; position: absolute;
    bottom: 2px; left: 0; right: 0; height: 3px;
    background: var(--wd-accent); border-radius: 2px; opacity: 0.4;
}
.wdc-hero-sub {
    font-size: clamp(16px, 2vw, 19px); color: var(--wd-text-dim);
    line-height: 1.7; max-width: 560px; margin: 0 auto 32px;
}
.wdc-hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 10px;
    background: var(--wd-accent); color: #fff !important;
    font-size: 17px; font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 20px var(--wd-accent-glow);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.wdc-hero-cta:hover {
    background: var(--wd-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--wd-accent-glow);
}
.wdc-hero-cta:active { transform: translateY(0); }
.wdc-hero-cta svg { width: 18px; height: 18px; }

/* Service area chips in hero */
.wdc-hero-areas {
    margin-top: 40px; padding-top: 32px;
    border-top: 1px solid var(--wd-dark-line);
}
.wdc-hero-areas-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--wd-text-dim); margin-bottom: 12px;
    text-align: center;
}
.wdc-area-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
}
.wdc-area-chip {
    padding: 6px 14px; border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--wd-dark-line);
    color: var(--wd-text-dim); font-size: 13px; font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
}
.wdc-area-chip:hover {
    border-color: rgba(37,99,235,0.4);
    color: var(--wd-text-light);
}

/* ═══════════════════════════════════════════
   Sections (homepage blocks)
   ═══════════════════════════════════════════ */
.wdc-section {
    padding: 72px 24px;
}
.wdc-section-alt {
    background: var(--wd-bg-alt);
}
.wdc-section-inner {
    max-width: var(--wd-max-w); margin: 0 auto;
}
.wdc-section-header {
    text-align: center; margin-bottom: 48px;
}
.wdc-section-header h2 {
    font-size: clamp(26px, 3.5vw, 36px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 10px;
}
.wdc-section-header p {
    font-size: 17px; color: var(--wd-text-sub);
    max-width: 520px; margin: 0 auto;
}

/* ═══════════════════════════════════════════
   Article Cards
   ═══════════════════════════════════════════ */
.wdc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.wdc-card {
    background: var(--wd-bg);
    border: 1.5px solid var(--wd-line);
    border-radius: var(--wd-radius-lg);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.wdc-card:hover {
    border-color: var(--wd-accent);
    box-shadow: 0 8px 32px rgba(37,99,235,0.08);
    transform: translateY(-3px);
}
.wdc-card-img {
    overflow: hidden;
}
.wdc-card-img img {
    width: 100%; height: 210px; object-fit: cover;
    transition: transform 0.4s;
}
.wdc-card:hover .wdc-card-img img {
    transform: scale(1.04);
}
.wdc-card-body { padding: 24px; }
.wdc-card-meta {
    font-size: 12px; color: var(--wd-text-dim); font-weight: 600;
    margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.wdc-card-cat {
    color: var(--wd-accent); font-weight: 700;
}
.wdc-card-dot { color: var(--wd-line); }
.wdc-card-title {
    font-size: 19px; font-weight: 700; line-height: 1.3;
    margin-bottom: 10px; letter-spacing: -0.3px;
}
.wdc-card-title a {
    color: var(--wd-text); text-decoration: none;
    transition: color 0.2s;
}
.wdc-card-title a:hover { color: var(--wd-accent); }
.wdc-card-excerpt {
    font-size: 14px; color: var(--wd-text-sub); line-height: 1.65;
    margin-bottom: 16px;
}
.wdc-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; color: var(--wd-accent);
    text-decoration: none;
    transition: gap 0.2s;
}
.wdc-card-link:hover { gap: 10px; text-decoration: none; }
.wdc-card-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.wdc-card:hover .wdc-card-link svg { transform: translateX(2px); }

/* Featured (first) card on homepage */
.wdc-card-featured {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
}
.wdc-card-featured .wdc-card-img img {
    height: 100%; min-height: 300px;
    border-radius: var(--wd-radius-lg) 0 0 var(--wd-radius-lg);
}
.wdc-card-featured .wdc-card-body {
    display: flex; flex-direction: column; justify-content: center;
    padding: 36px;
}
.wdc-card-featured .wdc-card-title { font-size: 24px; }
.wdc-card-featured .wdc-card-excerpt { font-size: 15px; }

@media (max-width: 768px) {
    .wdc-card-featured { grid-template-columns: 1fr; }
    .wdc-card-featured .wdc-card-img img {
        min-height: 200px;
        border-radius: var(--wd-radius-lg) var(--wd-radius-lg) 0 0;
    }
    .wdc-card-featured .wdc-card-title { font-size: 20px; }
    .wdc-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Service Cards (homepage)
   ═══════════════════════════════════════════ */
.wdc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.wdc-service-card {
    padding: 28px;
    border-radius: var(--wd-radius);
    border: 1.5px solid var(--wd-line);
    background: var(--wd-bg);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.wdc-service-card:hover {
    border-color: var(--wd-accent);
    box-shadow: 0 4px 20px rgba(37,99,235,0.06);
    transform: translateY(-2px);
}
.wdc-service-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--wd-accent-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 20px;
}
.wdc-service-card h3 {
    font-size: 17px; font-weight: 700; margin-bottom: 8px;
    color: var(--wd-text);
}
.wdc-service-card p {
    font-size: 14px; color: var(--wd-text-sub); line-height: 1.6;
}

/* ═══════════════════════════════════════════
   Blog Archive
   ═══════════════════════════════════════════ */
.wdc-archive {
    max-width: var(--wd-max-w); margin: 0 auto;
    padding: 48px 24px 80px;
}
.wdc-archive-header {
    margin-bottom: 40px;
}
.wdc-archive-header h1 {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 8px;
}
.wdc-archive-header p {
    font-size: 17px; color: var(--wd-text-sub);
}

/* Category filters */
.wdc-filters {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.wdc-filter {
    padding: 7px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; border: 1.5px solid var(--wd-line);
    color: var(--wd-text-dim); background: transparent;
    transition: all 0.2s;
}
.wdc-filter:hover {
    color: var(--wd-accent); border-color: var(--wd-accent);
    background: var(--wd-accent-light); text-decoration: none;
}
.wdc-filter.active {
    color: #fff; background: var(--wd-accent);
    border-color: var(--wd-accent);
}

/* Pagination */
.wdc-pagination { margin-top: 48px; text-align: center; }
.wdc-pagination .nav-links {
    display: flex; gap: 6px; justify-content: center;
}
.wdc-pagination a, .wdc-pagination span {
    padding: 10px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
}
.wdc-pagination a {
    background: var(--wd-bg-alt); color: var(--wd-text-sub);
    text-decoration: none; transition: all 0.2s;
}
.wdc-pagination a:hover {
    background: var(--wd-accent-light); color: var(--wd-accent);
}
.wdc-pagination .current {
    background: var(--wd-accent); color: #fff;
}

/* Empty state */
.wdc-empty {
    text-align: center; padding: 100px 24px;
}
.wdc-empty-icon { font-size: 56px; margin-bottom: 20px; opacity: 0.7; }
.wdc-empty h2 {
    font-size: 24px; font-weight: 700; margin-bottom: 10px;
}
.wdc-empty p { color: var(--wd-text-sub); font-size: 16px; }

/* ═══════════════════════════════════════════
   Single Post
   ═══════════════════════════════════════════ */
.wdc-single {
    max-width: var(--wd-content-w); margin: 0 auto;
    padding: 48px 24px 80px;
}

/* Breadcrumb */
.wdc-breadcrumb {
    font-size: 13px; color: var(--wd-text-dim); font-weight: 500;
    margin-bottom: 28px;
}
.wdc-breadcrumb a {
    color: var(--wd-text-dim); text-decoration: none;
    transition: color 0.15s;
}
.wdc-breadcrumb a:hover { color: var(--wd-accent); }
.wdc-breadcrumb-sep { margin: 0 8px; color: var(--wd-line); }

/* Article header */
.wdc-article-header { margin-bottom: 36px; }
.wdc-article-meta {
    font-size: 13px; color: var(--wd-text-dim); font-weight: 500;
    margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.wdc-article-meta a { color: var(--wd-accent); font-weight: 600; }
.wdc-article-title {
    font-size: clamp(28px, 5vw, 42px); font-weight: 800;
    line-height: 1.12; letter-spacing: -1px; color: var(--wd-text);
}

/* Featured image */
.wdc-featured-img {
    margin-bottom: 36px; border-radius: var(--wd-radius-lg);
    overflow: hidden;
}
.wdc-featured-img img {
    width: 100%; height: auto;
    border-radius: var(--wd-radius-lg);
}

/* Article body — styled for WriteDrip pipeline output */
.wdc-article-body {
    font-size: 17px; line-height: 1.85; color: #334155;
}
.wdc-article-body h2 {
    font-size: 26px; font-weight: 700; margin: 44px 0 16px;
    color: var(--wd-text); letter-spacing: -0.5px;
    padding-top: 8px;
}
.wdc-article-body h3 {
    font-size: 20px; font-weight: 700; margin: 36px 0 12px;
    color: var(--wd-text);
}
.wdc-article-body p { margin-bottom: 20px; }
.wdc-article-body ul, .wdc-article-body ol {
    margin: 0 0 20px 24px;
}
.wdc-article-body li {
    margin-bottom: 8px; line-height: 1.75;
}
.wdc-article-body a {
    color: var(--wd-accent); text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.wdc-article-body a:hover { color: var(--wd-accent-hover); }

/* Blockquotes */
.wdc-article-body blockquote {
    margin: 28px 0; padding: 20px 24px;
    border-left: 4px solid var(--wd-accent);
    background: var(--wd-bg-alt);
    border-radius: 0 var(--wd-radius) var(--wd-radius) 0;
    font-style: italic; color: var(--wd-text-sub);
}

/* Tables (comparison tables from WriteDrip content) */
.wdc-article-body table {
    width: 100%; border-collapse: collapse; margin: 28px 0;
    font-size: 15px; border-radius: var(--wd-radius);
    overflow: hidden; border: 1px solid var(--wd-line);
}
.wdc-article-body thead th {
    background: var(--wd-bg-alt); padding: 14px 18px;
    text-align: left; font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--wd-text-sub);
    border-bottom: 2px solid var(--wd-line);
}
.wdc-article-body td {
    padding: 14px 18px; border-bottom: 1px solid var(--wd-line);
    color: var(--wd-text);
}
.wdc-article-body tbody tr:last-child td { border-bottom: none; }
.wdc-article-body tbody tr {
    transition: background 0.15s;
}
.wdc-article-body tbody tr:hover {
    background: rgba(37,99,235,0.03);
}

/* Table responsive wrapper */
.wdc-table-wrap {
    overflow-x: auto; margin: 28px 0;
    -webkit-overflow-scrolling: touch;
}

/* FAQ section (last H2 → H3 pattern from pipeline) */
.wdc-article-body .wdc-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--wd-line);
}
.wdc-article-body .wdc-faq-item:last-child { border-bottom: none; }

/* Article footer */
.wdc-article-footer {
    margin-top: 48px; padding-top: 24px;
    border-top: 1.5px solid var(--wd-line);
}
.wdc-tag {
    display: inline-block; padding: 5px 14px; border-radius: 6px;
    background: var(--wd-bg-alt); font-size: 12px; font-weight: 600;
    color: var(--wd-text-dim); margin: 0 6px 6px 0;
    transition: color 0.15s, background 0.15s;
}
.wdc-tag:hover {
    color: var(--wd-accent); background: var(--wd-accent-light);
    text-decoration: none;
}

/* Post navigation */
.wdc-post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-top: 40px; padding-top: 28px;
    border-top: 1.5px solid var(--wd-line);
}
.wdc-post-nav-item {
    padding: 20px; border-radius: var(--wd-radius);
    border: 1.5px solid var(--wd-line);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wdc-post-nav-item:hover {
    border-color: var(--wd-accent);
    box-shadow: 0 4px 16px rgba(37,99,235,0.06);
}
.wdc-post-nav-label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--wd-text-dim);
    margin-bottom: 6px;
}
.wdc-post-nav-item a {
    font-size: 15px; font-weight: 600; color: var(--wd-text);
    text-decoration: none; line-height: 1.4;
}
.wdc-post-nav-item a:hover { color: var(--wd-accent); }
.wdc-post-nav-next { text-align: right; }

@media (max-width: 600px) {
    .wdc-post-nav { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   CTA Banner (in-article or standalone)
   ═══════════════════════════════════════════ */
.wdc-cta-banner {
    margin: 48px 0; padding: 36px;
    border-radius: var(--wd-radius-lg);
    background: linear-gradient(135deg, var(--wd-dark) 0%, #1a2332 100%);
    text-align: center;
    position: relative; overflow: hidden;
}
.wdc-cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(37,99,235,0.1), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(25,230,193,0.08), transparent 50%);
}
.wdc-cta-banner > * { position: relative; z-index: 1; }
.wdc-cta-banner h3 {
    font-size: 24px; font-weight: 700; color: var(--wd-text-light);
    margin-bottom: 10px;
}
.wdc-cta-banner p {
    font-size: 16px; color: var(--wd-text-dim); margin-bottom: 24px;
}
.wdc-cta-banner .wdc-hero-cta { font-size: 16px; }

/* ═══════════════════════════════════════════
   Generic Page
   ═══════════════════════════════════════════ */
.wdc-page {
    max-width: var(--wd-content-w); margin: 0 auto;
    padding: 48px 24px 80px;
}
.wdc-page-title {
    font-size: clamp(28px, 4vw, 38px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 24px;
}
.wdc-page-body {
    font-size: 17px; line-height: 1.85; color: #334155;
}
.wdc-page-body h2 {
    font-size: 24px; font-weight: 700; margin: 36px 0 14px;
}
.wdc-page-body h3 {
    font-size: 19px; font-weight: 700; margin: 28px 0 10px;
}
.wdc-page-body p { margin-bottom: 18px; }
.wdc-page-body ul, .wdc-page-body ol { margin: 0 0 18px 24px; }
.wdc-page-body li { margin-bottom: 6px; line-height: 1.7; }
.wdc-page-body a { color: var(--wd-accent); text-decoration: underline; }

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */
.wdc-footer {
    background: var(--wd-dark);
    padding: 56px 24px 40px;
    border-top: 1px solid var(--wd-dark-line);
}
.wdc-footer-inner {
    max-width: var(--wd-max-w); margin: 0 auto;
}
.wdc-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px; margin-bottom: 40px;
}

/* Footer brand column */
.wdc-footer-brand-name {
    font-size: 20px; font-weight: 700; color: var(--wd-text-light);
    margin-bottom: 12px;
}
.wdc-footer-brand-desc {
    font-size: 14px; color: var(--wd-text-dim); line-height: 1.7;
    max-width: 280px; margin-bottom: 20px;
}
.wdc-footer-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 600; color: var(--wd-text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.wdc-footer-phone:hover { color: var(--wd-accent); }
.wdc-footer-phone svg { width: 16px; height: 16px; opacity: 0.7; }

/* Footer nav columns */
.wdc-footer-heading {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; color: var(--wd-text-dim);
    margin-bottom: 16px;
}
.wdc-footer-links {
    list-style: none; padding: 0;
}
.wdc-footer-links li { margin-bottom: 10px; }
.wdc-footer-links a {
    color: var(--wd-text-dim); font-size: 14px; font-weight: 500;
    text-decoration: none; transition: color 0.2s;
}
.wdc-footer-links a:hover { color: var(--wd-text-light); }

/* Footer bottom bar */
.wdc-footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px; border-top: 1px solid var(--wd-dark-line);
    flex-wrap: wrap; gap: 12px;
}
.wdc-footer-copy {
    font-size: 13px; color: var(--wd-text-dim);
}
.wdc-footer-powered {
    font-size: 12px; color: var(--wd-text-dim);
}
.wdc-footer-powered a {
    color: var(--wd-text-dim); font-weight: 600;
    text-decoration: none; transition: color 0.2s;
}
.wdc-footer-powered a:hover { color: var(--wd-accent); }

@media (max-width: 768px) {
    .wdc-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .wdc-footer-bottom {
        flex-direction: column; text-align: center;
    }
}

/* ═══════════════════════════════════════════
   404
   ═══════════════════════════════════════════ */
.wdc-404 {
    min-height: 60vh; display: flex;
    align-items: center; justify-content: center;
    text-align: center; padding: 40px 24px;
}
.wdc-404 h1 {
    font-size: 100px; font-weight: 800; color: var(--wd-line);
    line-height: 1;
}
.wdc-404 p {
    font-size: 18px; color: var(--wd-text-sub);
    margin: 16px 0 32px;
}

/* ═══════════════════════════════════════════
   Utility
   ═══════════════════════════════════════════ */
.wdc-container {
    max-width: var(--wd-max-w); margin: 0 auto; padding: 0 24px;
}
.wdc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}
.wdc-btn-primary {
    background: var(--wd-accent); color: #fff !important;
    box-shadow: 0 2px 10px var(--wd-accent-glow);
}
.wdc-btn-primary:hover {
    background: var(--wd-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--wd-accent-glow);
}
.wdc-btn-outline {
    background: transparent; color: var(--wd-accent) !important;
    border: 1.5px solid var(--wd-accent);
}
.wdc-btn-outline:hover {
    background: var(--wd-accent-light);
}

/* Responsive base */
@media (max-width: 768px) {
    .wdc-single { padding: 32px 16px 60px; }
    .wdc-archive { padding: 32px 16px 60px; }
    .wdc-article-body { font-size: 16px; }
    .wdc-article-body table { font-size: 14px; }
    .wdc-article-body td, .wdc-article-body th { padding: 10px 12px; }
    .wdc-hero { padding: 56px 20px 72px; }
    .wdc-section { padding: 48px 20px; }
}

/* iOS form zoom prevention */
@media (max-width: 768px) {
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="url"], input[type="search"], textarea, select {
        font-size: 16px !important;
    }
}
