/*
Theme Name: AuthenticaDocs
Theme URI: https://authenticatedocs.co.za
Author: Your Name
Author URI: https://yourwebsite.com
Description: Custom WordPress theme for AuthenticaDocs — South Africa's Trusted Authentication Specialists
Version: 1.0.0
License: GPL v2 or later
Text Domain: authenticadocs
*/

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --bg: #1A1A1A;
    --card: #2A2A2A;
    --secondary: #333333;
    --fg: #FFFFE3;
    --muted: #CBCBCB;
    --gold: #B8860B;
    --border: rgba(203,203,203,0.15);
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'DM Sans', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eyebrow-rule {
    width: 2rem;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.eyebrow-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-heading {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--fg);
}

/* ============================================
   NAVIGATION
   ============================================ */
#ad-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-logo span {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--fg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--fg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.625rem 1.25rem;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.88;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2.5rem;
}

.mobile-menu a {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--gold);
}

.mobile-menu .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links,
    #ad-nav > .nav-inner > .nav-cta {
        display: none;
    }
    .nav-hamburger {
        display: block;
    }
}

/* ============================================
   HERO
   ============================================ */
#ad-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #050D1A;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #08101E 0%, rgba(8, 16, 30, 0.6) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2.5rem 5rem;
    flex: 1;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 5rem 1.5rem 3rem;
    }
}

.hero-rule {
    width: 3rem;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--fg);
    max-width: 56rem;
    margin-bottom: 2rem;
}

.hero-h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 36rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gold);
    color: var(--fg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.88;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: border-color 0.2s, color 0.2s;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.hero-scroll a {
    color: var(--muted);
    transition: color 0.2s;
}

.hero-scroll a:hover {
    color: var(--gold);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.hero-scroll svg {
    width: 1.25rem;
    height: 1.25rem;
    animation: bounce 1.8s infinite;
}

/* ============================================
   TRUST / STATS
   ============================================ */
#ad-trust {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.trust-val {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
}

.trust-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.125rem;
}

/* ============================================
   ABOUT
   ============================================ */
#ad-about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-img-wrap {
    position: relative;
}

.about-img {
    aspect-ratio: 4/5;
    background: var(--secondary);
    overflow: hidden;
    position: relative;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.4) 0%, transparent 100%);
}

.about-stat {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--gold);
    padding: 1.5rem;
    min-width: 10rem;
}

.about-stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--fg);
}

.about-stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 227, 0.8);
    margin-top: 0.25rem;
}

/* ============================================
   SERVICES
   ============================================ */
#ad-services {
    padding: 6rem 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-header {
    margin-bottom: 4rem;
}

.services-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.services-header-sub {
    color: var(--muted);
    max-width: 22rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--card);
    padding: 2rem;
    transition: background 0.3s;
    cursor: default;
}

.service-card:hover {
    background: var(--secondary);
}

.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.service-card:hover .service-icon {
    border-color: var(--gold);
}

.service-icon svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================
   PROCESS
   ============================================ */
#ad-process {
    padding: 6rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.process-line {
    display: none;
    position: absolute;
    top: 2rem;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

@media (min-width: 900px) {
    .process-line {
        display: block;
    }
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-num {
    width: 4rem;
    height: 4rem;
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-num span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.process-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.75rem;
}

.process-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================
   TIMEFRAMES
   ============================================ */
#ad-timeframes {
    padding: 6rem 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tf-note {
    color: var(--muted);
    margin-top: 1rem;
    max-width: 40rem;
    line-height: 1.7;
}

.tf-table {
    border: 1px solid var(--border);
    margin-top: 3rem;
}

.tf-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--secondary);
    padding: 0.75rem 1.5rem;
}

.tf-header span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.tf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}

.tf-row:hover {
    background: rgba(51, 51, 51, 0.5);
}

.tf-row.alt {
    background: rgba(51, 51, 51, 0.2);
}

.tf-doc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--fg);
}

.tf-doc svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.tf-dur {
    font-size: 0.875rem;
    color: var(--muted);
    align-self: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#ad-testimonials {
    padding: 6rem 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 700px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

.testi-card {
    border: 1px solid var(--border);
    padding: 2rem;
    transition: border-color 0.3s;
}

.testi-card:hover {
    border-color: rgba(184, 134, 11, 0.4);
}

.testi-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testi-stars svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: var(--gold);
    stroke: var(--gold);
    stroke-width: 1;
}

.testi-quote {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--fg);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.testi-attr {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.testi-avatar {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

.testi-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg);
}

.testi-loc {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.125rem;
}

/* ============================================
   CONTACT
   ============================================ */
#ad-contact {
    padding: 6rem 0;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-intro {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.contact-icon svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-item-val {
    font-size: 0.875rem;
    color: var(--fg);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.ad-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-group label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.field-group input,
.field-group textarea {
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--fg);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.field-group textarea {
    resize: vertical;
    min-height: 100px;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
    color: rgba(203, 203, 203, 0.4);
}

.field-group input:focus,
.field-group textarea:focus {
    border-color: var(--gold);
}

/* ============================================
   CAPTCHA
   ============================================ */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.captcha-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    background: rgba(184, 134, 11, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    user-select: none;
    min-width: 80px;
    text-align: center;
}

.captcha-input {
    flex: 1;
    background: var(--bg) !important;
    border: 1px solid var(--border) !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    color: var(--fg) !important;
    font-family: var(--font-sans) !important;
    outline: none !important;
    width: 100%;
    min-width: 80px;
}

.captcha-input:focus {
    border-color: var(--gold) !important;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    color: var(--gold);
}

.captcha-refresh svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.captcha-error {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.captcha-error.show {
    display: block;
}

/* ============================================
   FORM SUBMIT
   ============================================ */
.form-submit {
    width: 100%;
    background: var(--gold);
    color: var(--fg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

.form-submit:hover {
    opacity: 0.88;
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-submit svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--fg);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 227, 0.3);
    border-top-color: var(--fg);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-submit.loading .spinner {
    display: inline-block;
}

.form-submit.loading .btn-text {
    display: none;
}

.form-submit.loading svg {
    display: none;
}

/* ============================================
   FORM SUCCESS
   ============================================ */
.form-success {
    border: 1px solid rgba(184, 134, 11, 0.4);
    background: rgba(184, 134, 11, 0.05);
    padding: 2.5rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 25rem;
}

.form-success-icon {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-success-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--fg);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 20rem;
}

/* ============================================
   FOOTER
   ============================================ */
#ad-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 0.75rem;
    height: 0.75rem;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-logo span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--muted);
}

/* ============================================
   WORDPRESS CORE STYLES
   ============================================ */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    padding: 0.5rem 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-serif);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--fg);
}

.entry-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.entry-content ul,
.entry-content ol {
    color: var(--muted);
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--gold);
    text-decoration: underline;
}

.entry-content a:hover {
    opacity: 0.8;
}

.entry-content blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--fg);
}

.entry-content img {
    height: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .about-stat {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .services-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-header-sub {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        text-align: center;
        justify-content: center;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
    }

    .process-step {
        padding: 0 1rem;
    }

    .testi-card {
        padding: 1.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .service-card {
        padding: 1.5rem;
    }

    .tf-header,
    .tf-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .tf-header span:last-child,
    .tf-row .tf-dur {
        padding-left: 1.75rem;
    }

    .nav-inner {
        padding: 0 1rem;
    }

    .mobile-menu {
        padding: 1rem;
    }

    .captcha-container {
        flex-wrap: wrap;
    }

    .captcha-text {
        min-width: 60px;
        font-size: 1.2rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--fg);
    padding: 0.75rem 1.5rem;
    z-index: 999;
    font-size: 0.875rem;
    font-weight: 600;
}

.skip-link:focus {
    top: 0.5rem;
}