/*
Theme Name: Lawless Modern
Theme URI: https://lawlessclicks.com
Author: Lawless Clicks
Author URI: https://lawlessclicks.com
Description: A modern, conversion-focused theme for Lawless Clicks â clean white design with gold accents, bold typography, and high-converting layouts inspired by the best SaaS landing pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lawless-modern
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Colors */
    --lm-white: #FFFFFF;
    --lm-bg: #FFFFFF;
    --lm-surface: #F9FAFB;
    --lm-surface-alt: #F3F4F6;
    --lm-border: #E5E7EB;
    --lm-border-light: #F3F4F6;
    --lm-gold: #D9A439;
    --lm-gold-hover: #C4922E;
    --lm-gold-light: rgba(217, 164, 57, 0.1);
    --lm-gold-border: rgba(217, 164, 57, 0.2);
    --lm-text: #111827;
    --lm-text-secondary: #6B7280;
    --lm-text-muted: #9CA3AF;
    --lm-dark: #111827;
    --lm-dark-surface: #1F2937;
    --lm-dark-lighter: #374151;
    --lm-success: #22C55E;
    --lm-error: #EF4444;

    /* Typography */
    --lm-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lm-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --lm-section-pad: 100px;
    --lm-container: 1200px;
    --lm-container-narrow: 800px;

    /* Effects */
    --lm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --lm-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --lm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --lm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --lm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --lm-radius: 8px;
    --lm-radius-lg: 12px;
    --lm-radius-xl: 16px;
    --lm-transition: 0.2s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--lm-font-body);
    color: var(--lm-text);
    background-color: var(--lm-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--lm-gold);
    text-decoration: none;
    transition: color var(--lm-transition);
}

a:hover {
    color: var(--lm-gold-hover);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lm-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--lm-text);
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; font-weight: 600; }

p {
    color: var(--lm-text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

.text-muted { color: var(--lm-text-muted); }
.text-gold { color: var(--lm-gold); }
.text-center { text-align: center; }
.text-small { font-size: 14px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.lm-container {
    max-width: var(--lm-container);
    margin: 0 auto;
    padding: 0 24px;
}

.lm-container--narrow {
    max-width: var(--lm-container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.lm-section {
    padding: var(--lm-section-pad) 0;
}

.lm-section--surface {
    background-color: var(--lm-surface);
}

.lm-section--dark {
    background-color: var(--lm-dark);
    color: var(--lm-white);
}

.lm-section--dark h1,
.lm-section--dark h2,
.lm-section--dark h3,
.lm-section--dark h4,
.lm-section--dark h5,
.lm-section--dark h6 {
    color: var(--lm-white);
}

.lm-section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

.lm-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.lm-section-header p {
    margin-top: 16px;
    font-size: 18px;
}

.lm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--lm-gold-light);
    color: var(--lm-gold);
    border: 1px solid var(--lm-gold-border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.lm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--lm-font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--lm-radius);
    border: none;
    cursor: pointer;
    transition: all var(--lm-transition);
    text-decoration: none;
    line-height: 1;
}

.lm-btn--primary {
    background-color: var(--lm-gold);
    color: var(--lm-dark);
}

.lm-btn--primary:hover {
    background-color: var(--lm-gold-hover);
    color: var(--lm-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 164, 57, 0.4);
}

.lm-btn--outline {
    background: transparent;
    color: var(--lm-text);
    border: 1px solid var(--lm-border);
}

.lm-btn--outline:hover {
    border-color: var(--lm-text);
    color: var(--lm-text);
    transform: translateY(-1px);
}

.lm-btn--dark {
    background-color: var(--lm-dark);
    color: var(--lm-white);
}

.lm-btn--dark:hover {
    background-color: #000;
    color: var(--lm-white);
    transform: translateY(-1px);
}

.lm-btn--white {
    background-color: var(--lm-white);
    color: var(--lm-dark);
}

.lm-btn--white:hover {
    background-color: #F9FAFB;
    color: var(--lm-dark);
    transform: translateY(-1px);
}

.lm-btn--lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: var(--lm-radius-lg);
}

.lm-btn svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.lm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.lm-nav.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--lm-border);
    background: rgba(255, 255, 255, 0.95);
}

.lm-nav__inner {
    max-width: var(--lm-container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lm-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lm-nav__logo img {
    height: 36px;
    width: auto;
}

.lm-nav__logo-text {
    font-family: var(--lm-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--lm-text);
    letter-spacing: -0.03em;
}

.lm-nav__logo-text span {
    color: var(--lm-gold);
}

/* Site Logo Icon */
.lm-nav__site-logo {
    display: flex;
    align-items: center;
    margin-left: 12px;
    margin-right: 4px;
    text-decoration: none;
    flex-shrink: 0;
}
.lm-nav__site-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.lm-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.lm-nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--lm-text-secondary);
    text-decoration: none;
    transition: color var(--lm-transition);
}

.lm-nav__links a:hover {
    color: var(--lm-text);
}

.lm-nav__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lm-nav__phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--lm-text);
}

/* Mobile Menu Toggle */
.lm-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.lm-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--lm-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.lm-nav__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lm-white);
    z-index: 999;
    padding: 80px 24px 40px;
    flex-direction: column;
    gap: 8px;
}

.lm-nav__mobile.active {
    display: flex;
}

.lm-nav__mobile a {
    font-size: 24px;
    font-weight: 600;
    color: var(--lm-text);
    padding: 12px 0;
    border-bottom: 1px solid var(--lm-border);
    text-decoration: none;
}

/* Services Dropdown — midday.ai inspired */
.lm-nav__has-dropdown {
    position: relative;
}

.lm-nav__has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lm-nav__has-dropdown > a svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.lm-nav__has-dropdown:hover > a svg {
    transform: rotate(180deg);
}

.lm-nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 340px;
    background: #ffffff;
    border: 1px solid var(--lm-border);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.lm-nav__has-dropdown:hover .lm-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge to prevent hover gap */
.lm-nav__dropdown::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.lm-nav__dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.lm-nav__dropdown-item:hover {
    background: var(--lm-surface);
}

.lm-nav__dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--lm-surface);
    color: var(--lm-gold);
}

.lm-nav__dropdown-item:hover .lm-nav__dropdown-icon {
    background: rgba(202, 163, 74, 0.1);
}

.lm-nav__dropdown-icon svg {
    width: 20px;
    height: 20px;
}

.lm-nav__dropdown-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--lm-text);
    line-height: 1.3;
}

.lm-nav__dropdown-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--lm-text-secondary);
    line-height: 1.4;
    margin-top: 2px;
}

/* Mobile sub-nav items */
.lm-nav__mobile-sub {
    font-size: 18px !important;
    font-weight: 500 !important;
    padding-left: 20px !important;
    color: var(--lm-text-secondary) !important;
    border-bottom: 1px solid var(--lm-border);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.lm-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--lm-white);
}

.lm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.lm-hero__bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 164, 57, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.lm-hero__bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 164, 57, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Subtle grid pattern */
.lm-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.lm-hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--lm-container);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.lm-hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--lm-text);
    margin-bottom: 24px;
}

.lm-hero__title span {
    color: var(--lm-gold);
}

.lm-hero__subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--lm-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.lm-hero__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.lm-hero__trust {
    margin-top: 80px;
    text-align: center;
}

.lm-hero__trust-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--lm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.lm-hero__trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.lm-hero__trust-logos img {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    transition: all var(--lm-transition);
}

.lm-hero__trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.lm-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lm-service-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-xl);
    padding: 32px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.lm-service-card:hover {
    border-color: var(--lm-gold-border);
    box-shadow: var(--lm-shadow-lg);
    transform: translateY(-2px);
}

.lm-service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--lm-gold-light);
    border-radius: var(--lm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--lm-gold);
}

.lm-service-card__icon svg {
    width: 24px;
    height: 24px;
}

.lm-service-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--lm-text);
}

.lm-service-card__desc {
    font-size: 14px;
    color: var(--lm-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.lm-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lm-gold);
}

.lm-service-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--lm-transition);
}

.lm-service-card:hover .lm-service-card__link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   STATS / METRICS
   ========================================================================== */

.lm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.lm-stat {
    text-align: center;
}

.lm-stat__number {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    color: var(--lm-text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.lm-stat__number span {
    color: var(--lm-gold);
}

.lm-stat__label {
    font-size: 14px;
    color: var(--lm-text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */

.lm-testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lm-testimonial__quote {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    color: var(--lm-text);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    font-style: italic;
}

.lm-testimonial__quote::before {
    content: '\201C';
    display: block;
    font-size: 64px;
    line-height: 1;
    color: var(--lm-gold);
    margin-bottom: 16px;
    font-style: normal;
}

.lm-testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lm-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lm-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--lm-gold);
}

.lm-testimonial__name {
    font-weight: 700;
    color: var(--lm-text);
    font-size: 15px;
}

.lm-testimonial__role {
    font-size: 13px;
    color: var(--lm-text-muted);
}

/* ==========================================================================
   CTA STRIP
   ========================================================================== */

.lm-cta-strip {
    background: var(--lm-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lm-cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 164, 57, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.lm-cta-strip__content {
    position: relative;
    z-index: 1;
}

.lm-cta-strip h2 {
    color: var(--lm-white);
    margin-bottom: 16px;
}

.lm-cta-strip p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    font-size: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.lm-footer {
    background: var(--lm-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.lm-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.lm-footer__brand-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--lm-white);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.lm-footer__brand-text span {
    color: var(--lm-gold);
}

.lm-footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.lm-footer__social {
    display: flex;
    gap: 12px;
}

.lm-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: var(--lm-radius);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--lm-transition);
}

.lm-footer__social a:hover {
    background: var(--lm-gold);
    color: var(--lm-dark);
}

.lm-footer__heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--lm-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.lm-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--lm-transition);
}

.lm-footer__links a:hover {
    color: var(--lm-gold);
}

.lm-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lm-footer__copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.lm-footer__legal {
    display: flex;
    gap: 24px;
}

.lm-footer__legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.lm-footer__legal a:hover {
    color: var(--lm-gold);
}

/* ==========================================================================
   CARDS / FEATURES (for inner pages)
   ========================================================================== */

.lm-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.lm-feature-row:nth-child(even) {
    direction: rtl;
}

.lm-feature-row:nth-child(even) > * {
    direction: ltr;
}

.lm-feature-row__content h3 {
    margin-bottom: 16px;
}

.lm-feature-row__content p {
    margin-bottom: 24px;
}

.lm-feature-row__visual {
    background: var(--lm-surface);
    border-radius: var(--lm-radius-xl);
    padding: 40px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lm-border);
}

.lm-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.lm-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--lm-text-secondary);
}

.lm-checklist li::before {
    content: 'â';
    color: var(--lm-gold);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   CONTACT FORM (CF7 Styling)
   ========================================================================== */

.lm-form-wrapper {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-xl);
    padding: 40px;
    box-shadow: var(--lm-shadow-lg);
}

.wpcf7-form p {
    margin-bottom: 16px;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--lm-text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--lm-border);
    background-color: var(--lm-surface);
    color: var(--lm-text);
    border-radius: var(--lm-radius);
    font-family: var(--lm-font-body);
    font-size: 15px;
    transition: all var(--lm-transition);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--lm-text-muted);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--lm-gold);
    box-shadow: 0 0 0 3px var(--lm-gold-light);
    background-color: var(--lm-white);
}

.wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--lm-gold);
    color: var(--lm-dark);
    border: none;
    border-radius: var(--lm-radius);
    font-family: var(--lm-font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--lm-transition);
    width: 100%;
    margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--lm-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 164, 57, 0.4);
}

.wpcf7-form .wpcf7-response-output {
    border-radius: var(--lm-radius);
    padding: 12px 16px;
    font-size: 14px;
    margin: 16px 0 0;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: var(--lm-error);
    font-size: 12px;
    margin-top: 4px;
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */

.lm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lm-blog-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.lm-blog-card:hover {
    box-shadow: var(--lm-shadow-lg);
    transform: translateY(-2px);
}

.lm-blog-card__img {
    aspect-ratio: 16/9;
    background: var(--lm-surface);
    overflow: hidden;
}

.lm-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lm-blog-card:hover .lm-blog-card__img img {
    transform: scale(1.03);
}

.lm-blog-card__body {
    padding: 24px;
}

.lm-blog-card__meta {
    font-size: 13px;
    color: var(--lm-text-muted);
    margin-bottom: 8px;
}

.lm-blog-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--lm-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.lm-blog-card__excerpt {
    font-size: 14px;
    color: var(--lm-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CASE STUDY CARDS
   ========================================================================== */

.lm-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.lm-case-card {
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-xl);
    padding: 40px;
    transition: all 0.3s ease;
}

.lm-case-card:hover {
    border-color: var(--lm-gold-border);
    box-shadow: var(--lm-shadow-lg);
}

.lm-case-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lm-gold-light);
    color: var(--lm-gold);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.lm-case-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lm-case-card__desc {
    font-size: 14px;
    color: var(--lm-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.lm-case-card__metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--lm-border);
}

.lm-case-card__metric-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--lm-gold);
    letter-spacing: -0.03em;
}

.lm-case-card__metric-label {
    font-size: 14px;
    color: var(--lm-text-secondary);
}

/* ==========================================================================
   TEAM GRID
   ========================================================================== */

.lm-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lm-team-card {
    text-align: center;
}

.lm-team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--lm-surface);
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--lm-border);
}

.lm-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-team-card__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lm-team-card__role {
    font-size: 14px;
    color: var(--lm-gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.lm-team-card__bio {
    font-size: 14px;
    color: var(--lm-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.lm-timeline {
    position: relative;
    padding-left: 40px;
}

.lm-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--lm-border);
}

.lm-timeline__item {
    position: relative;
    padding-bottom: 48px;
}

.lm-timeline__item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--lm-gold);
    border-radius: 50%;
    border: 3px solid var(--lm-white);
    box-shadow: 0 0 0 2px var(--lm-gold);
}

.lm-timeline__year {
    font-size: 13px;
    font-weight: 700;
    color: var(--lm-gold);
    margin-bottom: 4px;
}

.lm-timeline__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lm-timeline__desc {
    font-size: 14px;
    color: var(--lm-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.lm-faq-item {
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--lm-transition);
}

.lm-faq-item.active {
    border-color: var(--lm-gold-border);
}

.lm-faq-item__question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--lm-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--lm-text);
    text-align: left;
}

.lm-faq-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--lm-text-muted);
}

.lm-faq-item.active .lm-faq-item__icon {
    transform: rotate(45deg);
    color: var(--lm-gold);
}

.lm-faq-item__answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--lm-text-secondary);
    line-height: 1.7;
}

.lm-faq-item.active .lm-faq-item__answer {
    display: block;
}

/* ==========================================================================
   CITY LANDING PAGE
   ========================================================================== */

.lm-city-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--lm-dark);
    overflow: hidden;
}

.lm-city-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 164, 57, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.lm-city-hero__inner {
    max-width: var(--lm-container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lm-city-hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--lm-white);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.lm-city-hero__title span {
    color: var(--lm-gold);
}

.lm-city-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    line-height: 1.6;
}

.lm-city-hero__form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--lm-radius-xl);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.lm-city-hero__form h3 {
    color: var(--lm-white);
    font-size: 20px;
    margin-bottom: 20px;
}

/* City form dark inputs */
.lm-city-hero__form .wpcf7-form input[type="text"],
.lm-city-hero__form .wpcf7-form input[type="tel"],
.lm-city-hero__form .wpcf7-form input[type="email"],
.lm-city-hero__form .wpcf7-form input[type="url"],
.lm-city-hero__form .wpcf7-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--lm-white);
}

.lm-city-hero__form .wpcf7-form input::placeholder,
.lm-city-hero__form .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lm-city-hero__form .wpcf7-form input:focus,
.lm-city-hero__form .wpcf7-form textarea:focus {
    border-color: var(--lm-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(217, 164, 57, 0.15);
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.lm-single {
    max-width: var(--lm-container-narrow);
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.lm-single__meta {
    margin-bottom: 24px;
}

.lm-single__category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lm-gold-light);
    color: var(--lm-gold);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.lm-single__date {
    font-size: 14px;
    color: var(--lm-text-muted);
}

.lm-single__title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 32px;
    line-height: 1.2;
}

.lm-single__content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--lm-text-secondary);
}

.lm-single__content h2 { font-size: 28px; margin: 48px 0 16px; color: var(--lm-text); }
.lm-single__content h3 { font-size: 22px; margin: 36px 0 12px; color: var(--lm-text); }
.lm-single__content p { margin-bottom: 20px; }
.lm-single__content ul, .lm-single__content ol { margin: 16px 0; padding-left: 24px; }
.lm-single__content li { margin-bottom: 8px; }
.lm-single__content img { border-radius: var(--lm-radius-lg); margin: 32px 0; }
.lm-single__content blockquote {
    border-left: 3px solid var(--lm-gold);
    padding: 16px 24px;
    margin: 24px 0;
    font-style: italic;
    background: var(--lm-surface);
    border-radius: 0 var(--lm-radius) var(--lm-radius) 0;
}

/* Author Box */
.lm-author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 32px;
    background: var(--lm-surface);
    border-radius: var(--lm-radius-xl);
    margin-top: 60px;
}

.lm-author-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lm-gold-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--lm-gold);
    font-size: 24px;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.lm-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.lm-404__code {
    font-size: 120px;
    font-weight: 900;
    color: var(--lm-surface-alt);
    line-height: 1;
    letter-spacing: -0.05em;
}

.lm-404 h1 {
    margin-top: 16px;
    font-size: 32px;
}

.lm-404 p {
    margin: 12px 0 32px;
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.lm-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lm-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.lm-fade-in-delay-1 { transition-delay: 0.1s; }
.lm-fade-in-delay-2 { transition-delay: 0.2s; }
.lm-fade-in-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --lm-section-pad: 80px;
    }

    .lm-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .lm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .lm-feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lm-feature-row:nth-child(even) {
        direction: ltr;
    }

    .lm-case-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --lm-section-pad: 60px;
    }

    .lm-nav__links {
        display: none;
    }

    .lm-nav__phone {
        display: none;
    }

    .lm-nav__toggle {
        display: flex;
    }

    .lm-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .lm-hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .lm-services-grid {
        grid-template-columns: 1fr;
    }

    .lm-stats {
        grid-template-columns: 1fr 1fr;
    }

    .lm-blog-grid {
        grid-template-columns: 1fr;
    }

    .lm-team-grid {
        grid-template-columns: 1fr;
    }

    .lm-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lm-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .lm-city-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lm-btn--lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .lm-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WORDPRESS ADMIN BAR OFFSET
   ========================================================================== */

body.admin-bar .lm-nav {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .lm-nav {
        top: 46px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.lm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lm-flex { display: flex; }
.lm-flex-center { display: flex; align-items: center; justify-content: center; }
.lm-gap-8 { gap: 8px; }
.lm-gap-16 { gap: 16px; }
.lm-gap-24 { gap: 24px; }
.lm-mt-16 { margin-top: 16px; }
.lm-mt-24 { margin-top: 24px; }
.lm-mt-32 { margin-top: 32px; }
.lm-mt-48 { margin-top: 48px; }
.lm-mb-16 { margin-bottom: 16px; }
.lm-mb-24 { margin-bottom: 24px; }
.lm-mb-32 { margin-bottom: 32px; }


/* ===================================================================
   ONE-PAGE TEMPLATE OVERRIDES (WPBakery content pages)
   Targets: Local SEO, GEO/SGE/SAIO pages using one-page-template
   =================================================================== */

/* Page title — bring down from hero-sized 64px to content-appropriate */
.page-template-one-page-template-php .lm-container--narrow > h1,
.page-template-one-page-template-php .lm-container > h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 32px;
}

/* Constrain images (logo was rendering at 752px) */
.page-template-one-page-template-php .lm-single__content img {
    max-width: 200px;
    height: auto;
}

/* WPBakery content headings */
.page-template-one-page-template-php .lm-single__content h1 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
}
.page-template-one-page-template-php .lm-single__content h2 {
    font-size: clamp(22px, 3vw, 30px);
}

/* Contact Form 7 — dark card styling to match theme */
.page-template-one-page-template-php .wpcf7 {
    background: var(--lm-surface-2, #1e293b);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 40px auto;
}

.page-template-one-page-template-php .wpcf7-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lm-gold, #d4a843);
    margin-bottom: 6px;
}

.page-template-one-page-template-php .wpcf7-form input[type="text"],
.page-template-one-page-template-php .wpcf7-form input[type="email"],
.page-template-one-page-template-php .wpcf7-form input[type="tel"],
.page-template-one-page-template-php .wpcf7-form input[type="url"],
.page-template-one-page-template-php .wpcf7-form input[type="number"],
.page-template-one-page-template-php .wpcf7-form textarea,
.page-template-one-page-template-php .wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    margin-bottom: 20px;
    -webkit-appearance: none;
}

.page-template-one-page-template-php .wpcf7-form input:focus,
.page-template-one-page-template-php .wpcf7-form textarea:focus,
.page-template-one-page-template-php .wpcf7-form select:focus {
    outline: none;
    border-color: var(--lm-gold, #d4a843);
}

.page-template-one-page-template-php .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.page-template-one-page-template-php .wpcf7-form input[type="submit"],
.page-template-one-page-template-php .wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--lm-gold, #d4a843);
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 8px;
}

.page-template-one-page-template-php .wpcf7-form input[type="submit"]:hover {
    background: #c49a3a;
    transform: translateY(-1px);
}

/* Schedule a Call heading inside dark sections */
.page-template-one-page-template-php .vc_row[data-vc-full-width] h2,
.page-template-one-page-template-php .wpb_text_column h2 {
    color: var(--lm-gold, #d4a843);
    font-size: clamp(22px, 3vw, 28px);
}

/* WPBakery row spacing */
.page-template-one-page-template-php .vc_row {
    margin-bottom: 40px;
}
.page-template-one-page-template-php .vc_row:last-child {
    margin-bottom: 0;
}

/* Use full-width container instead of narrow */
.page-template-one-page-template-php .lm-container--narrow {
    max-width: var(--lm-container, 1200px);
}

@media (max-width: 768px) {
    .page-template-one-page-template-php .wpcf7 { padding: 24px; }
    .page-template-one-page-template-php .lm-single__content img { max-width: 150px; }
}

/* Hide date and author on single blog posts */
.lm-single__date {
    display: none !important;
}
