/**
 * Lifefesta Custom Styles
 *
 * Design Language:
 *   Primary Dark:  #1A1A2E
 *   Amber:         #F59E0B (accent / CTA)
 *   Blue:          #3B82F6 (links / accent)
 *   Background:    #FAFAFA
 *   Surface:       #FFFFFF
 *   Text:          #1A1A1A
 *   Muted:         #6B7280
 *   Border:        #E5E7EB
 *
 * Fonts:
 *   Body:           "Noto Sans JP", sans-serif
 *   English Heading: "Josefin Sans", sans-serif
 *
 * @package lifefesta-theme
 * @version 1.0.0
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Colors */
    --lf-primary: #1A1A2E;
    --lf-primary-light: #2D2D44;
    --lf-primary-lighter: #3F3F5A;
    --lf-amber: #F59E0B;
    --lf-amber-hover: #D97706;
    --lf-amber-light: rgba(245, 158, 11, 0.1);
    --lf-blue: #3B82F6;
    --lf-blue-hover: #2563EB;
    --lf-blue-light: rgba(59, 130, 246, 0.1);
    --lf-bg: #FAFAFA;
    --lf-surface: #FFFFFF;
    --lf-text: #1A1A1A;
    --lf-text-muted: #6B7280;
    --lf-text-light: #9CA3AF;
    --lf-border: #E5E7EB;
    --lf-border-light: #F3F4F6;

    /* Typography */
    --lf-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --lf-font-heading-en: "Josefin Sans", "Space Grotesk", sans-serif;

    /* Spacing */
    --lf-section-y: 100px;
    --lf-section-y-sm: 60px;
    --lf-container-px: 24px;

    /* Transitions */
    --lf-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --lf-transition: 0.35s var(--lf-ease);
    --lf-transition-fast: 0.2s var(--lf-ease);

    /* Shadows */
    --lf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --lf-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --lf-shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --lf-shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.1), 0 8px 16px -8px rgba(0, 0, 0, 0.06);

    /* Radius */
    --lf-radius-sm: 6px;
    --lf-radius: 10px;
    --lf-radius-lg: 16px;
    --lf-radius-xl: 24px;

    /* Z-index */
    --lf-z-header: 1000;
    --lf-z-overlay: 1100;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--lf-font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--lf-text);
    background-color: var(--lf-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--lf-transition-fast);
}

ul, ol {
    list-style: none;
}

/* WordPress Block Gap Override */
.lf-front-page.is-layout-flow > *,
.lf-service-page.is-layout-flow > *,
.lf-about-page.is-layout-flow > *,
.lf-contact-page.is-layout-flow > *,
.lf-industry-page.is-layout-flow > *,
.lf-works-page.is-layout-flow > *,
.lf-recruit-page.is-layout-flow > * {
    margin-block-start: 0 !important;
}

.wp-site-blocks > .lf-header-wrapper {
    margin-block-start: 0 !important;
}

.wp-site-blocks > * + * {
    margin-block-start: 0 !important;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--lf-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Layout
   ======================================== */
.container,
.lf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--lf-container-px);
    padding-right: var(--lf-container-px);
    width: 100%;
}

.lf-container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--lf-container-px);
    padding-right: var(--lf-container-px);
    width: 100%;
}

.lf-section {
    padding-top: var(--lf-section-y);
    padding-bottom: var(--lf-section-y);
}

.lf-section-bg {
    background-color: var(--lf-surface);
}

.lf-section-dark {
    background-color: var(--lf-primary);
    color: var(--lf-surface);
}

/* Section Titles */
.lf-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en,
.lf-section-title-en {
    font-family: var(--lf-font-heading-en);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lf-amber);
    display: block;
    margin-bottom: 8px;
}

.section-title-jp,
.lf-section-title-jp {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-primary);
    line-height: 1.4;
}

.lf-section-dark .lf-section-title-jp,
.lf-section-dark .section-title-jp {
    color: var(--lf-surface);
}

.lf-section-subtitle {
    font-size: 1rem;
    color: var(--lf-text-muted);
    margin-top: 12px;
    line-height: 1.8;
}

/* ========================================
   Brand Bar
   ======================================== */
.lf-brand-bar {
    background: var(--lf-primary);
    padding: 6px 0;
    text-align: center;
    transition: transform 0.3s var(--lf-ease), opacity 0.3s var(--lf-ease);
}

.lf-brand-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.lf-brand-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lf-container-px);
}

.lf-brand-bar-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
}

/* ========================================
   Header
   ======================================== */
.lf-header-wrapper {
    position: sticky;
    top: 0;
    z-index: var(--lf-z-header);
}

.lf-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--lf-transition), border-color var(--lf-transition);
}

.lf-header.is-scrolled {
    box-shadow: var(--lf-shadow);
    border-bottom-color: var(--lf-border-light);
}

.lf-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lf-container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.lf-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lf-logo-img {
    height: 32px;
    width: auto;
}

.lf-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Desktop Nav */
.lf-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lf-nav-item {
    position: relative;
}

.lf-nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lf-text);
    border-radius: var(--lf-radius-sm);
    transition: color var(--lf-transition-fast), background-color var(--lf-transition-fast);
    white-space: nowrap;
}

.lf-nav-link:hover {
    color: var(--lf-amber);
    background-color: var(--lf-amber-light);
}

.lf-nav-link.is-active {
    color: var(--lf-amber);
    font-weight: 700;
}

/* Header CTA */
.lf-header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--lf-amber);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 100px;
    margin-left: 12px;
    transition: background-color var(--lf-transition-fast), transform var(--lf-transition-fast);
    white-space: nowrap;
}

.lf-header-cta:hover {
    background: var(--lf-amber-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Hamburger */
.lf-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    gap: 6px;
    position: relative;
    z-index: calc(var(--lf-z-overlay) + 1);
}

.lf-hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--lf-text);
    border-radius: 2px;
    transition: transform 0.3s var(--lf-ease), opacity 0.3s var(--lf-ease);
}

.lf-hamburger.is-active .lf-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.lf-hamburger.is-active .lf-hamburger-line:nth-child(2) {
    opacity: 0;
}

.lf-hamburger.is-active .lf-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.lf-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: var(--lf-z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--lf-ease), visibility 0.3s;
}

.lf-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lf-mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--lf-surface);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--lf-ease);
    overflow-y: auto;
}

.lf-mobile-overlay.is-active .lf-mobile-menu {
    transform: translateX(0);
}

.lf-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lf-mobile-nav-item {
    border-bottom: 1px solid var(--lf-border-light);
}

.lf-mobile-nav-link {
    display: block;
    padding: 16px 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--lf-text);
    transition: color var(--lf-transition-fast);
}

.lf-mobile-nav-link:hover {
    color: var(--lf-amber);
}

.lf-mobile-cta {
    display: block;
    text-align: center;
    padding: 16px 24px;
    margin-top: 24px;
    background: var(--lf-amber);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 100px;
    transition: background-color var(--lf-transition-fast);
}

.lf-mobile-cta:hover {
    background: var(--lf-amber-hover);
    color: #FFFFFF;
}

/* ========================================
   Footer
   ======================================== */
.lf-footer {
    background: var(--lf-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
}

.lf-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px var(--lf-container-px) 40px;
}

.lf-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.lf-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lf-footer-logo-img {
    height: 28px;
    width: auto;
}

.lf-footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.lf-footer-sns {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.lf-footer-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: background-color var(--lf-transition-fast), color var(--lf-transition-fast);
}

.lf-footer-sns-link:hover {
    background: var(--lf-amber);
    color: #FFFFFF;
}

.lf-footer-nav-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.lf-footer-nav-heading {
    font-family: var(--lf-font-heading-en);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lf-amber);
    margin-bottom: 20px;
}

.lf-footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lf-footer-nav-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--lf-transition-fast);
}

.lf-footer-nav-col ul li a:hover {
    color: var(--lf-amber);
}

.lf-footer-info {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lf-footer-company {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.lf-footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lf-footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.lf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--lf-font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--lf-transition-fast);
    text-decoration: none;
    line-height: 1.4;
}

.lf-btn-primary {
    background: var(--lf-amber);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.lf-btn-primary:hover {
    background: var(--lf-amber-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.lf-btn-secondary {
    background: transparent;
    color: var(--lf-primary);
    border: 2px solid var(--lf-primary);
}

.lf-btn-secondary:hover {
    background: var(--lf-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.lf-btn-white {
    background: #FFFFFF;
    color: var(--lf-primary);
}

.lf-btn-white:hover {
    background: #F0F0F0;
    color: var(--lf-primary);
    transform: translateY(-2px);
}

.lf-btn-sm {
    padding: 10px 24px;
    font-size: 0.8125rem;
}

.lf-btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ========================================
   Cards
   ======================================== */
.lf-card {
    background: var(--lf-surface);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    box-shadow: var(--lf-shadow-sm);
    transition: transform var(--lf-transition), box-shadow var(--lf-transition);
}

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

.lf-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.lf-card-body {
    padding: 28px;
}

.lf-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.lf-card-text {
    font-size: 0.9375rem;
    color: var(--lf-text-muted);
    line-height: 1.7;
}

.lf-card-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--lf-border-light);
}

/* ========================================
   Tags
   ======================================== */
.lf-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--lf-amber-light);
    color: var(--lf-amber-hover);
    line-height: 1.6;
}

.lf-tag-blue {
    background: var(--lf-blue-light);
    color: var(--lf-blue);
}

.lf-tag-dark {
    background: rgba(26, 26, 46, 0.08);
    color: var(--lf-primary);
}

/* ========================================
   CTA Section
   ======================================== */
.lf-cta-section {
    background: linear-gradient(135deg, var(--lf-primary) 0%, var(--lf-primary-light) 50%, #2A1A3E 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.lf-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.lf-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lf-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px var(--lf-container-px);
    text-align: center;
    position: relative;
    z-index: 1;
}

.lf-cta-badge {
    display: inline-block;
    font-family: var(--lf-font-heading-en);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lf-amber);
    margin-bottom: 16px;
}

.lf-cta-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.4;
}

.lf-cta-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
}

.lf-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 48px;
    background: var(--lf-amber);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    transition: all var(--lf-transition-fast);
}

.lf-cta-button:hover {
    background: var(--lf-amber-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.lf-cta-button svg {
    transition: transform var(--lf-transition-fast);
}

.lf-cta-button:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Breadcrumb
   ======================================== */
.lf-breadcrumb-wrapper {
    background: var(--lf-bg);
    padding: 0;
}

.lf-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px var(--lf-container-px);
    font-size: 0.8125rem;
    color: var(--lf-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.lf-breadcrumb a {
    color: var(--lf-text-muted);
    transition: color var(--lf-transition-fast);
}

.lf-breadcrumb a:hover {
    color: var(--lf-amber);
}

.lf-breadcrumb-separator {
    margin: 0 8px;
    color: var(--lf-text-light);
}

.lf-breadcrumb-current {
    color: var(--lf-text);
    font-weight: 500;
}

/* ========================================
   Grid Utilities
   ======================================== */
.lf-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.lf-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lf-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

/* Stagger children */
.lf-grid-3 .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.lf-grid-3 .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.lf-grid-4 .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.lf-grid-4 .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.lf-grid-4 .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }

/* ========================================
   Misc Components
   ======================================== */

/* Number / Stat Highlight */
.lf-stat-number {
    font-family: var(--lf-font-heading-en);
    font-size: 3rem;
    font-weight: 700;
    color: var(--lf-amber);
    line-height: 1.1;
}

.lf-stat-label {
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    margin-top: 4px;
}

/* Divider */
.lf-divider {
    width: 48px;
    height: 3px;
    background: var(--lf-amber);
    border-radius: 2px;
    margin: 16px 0;
}

.lf-divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* Text Accent */
.lf-text-amber { color: var(--lf-amber); }
.lf-text-blue { color: var(--lf-blue); }
.lf-text-muted { color: var(--lf-text-muted); }

.lf-bg-amber-light { background-color: var(--lf-amber-light); }
.lf-bg-blue-light { background-color: var(--lf-blue-light); }

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
    .lf-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 768px) {
    :root {
        --lf-section-y: 60px;
        --lf-container-px: 20px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* Header */
    .lf-nav {
        display: none;
    }

    .lf-header-cta {
        display: none;
    }

    .lf-hamburger {
        display: flex;
    }

    .lf-header-container {
        height: 60px;
    }

    .lf-logo-img {
        height: 26px;
    }

    /* Section Titles */
    .section-title-jp,
    .lf-section-title-jp {
        font-size: 1.5rem;
    }

    .lf-section-header {
        margin-bottom: 40px;
    }

    /* Grid */
    .lf-grid-2,
    .lf-grid-3,
    .lf-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .lf-footer-container {
        padding-top: 48px;
    }

    .lf-footer-nav-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* CTA */
    .lf-cta-container {
        padding: 60px var(--lf-container-px);
    }

    .lf-cta-heading {
        font-size: 1.5rem;
    }

    .lf-cta-subtext br {
        display: none;
    }

    .lf-cta-button {
        padding: 16px 36px;
        font-size: 0.9375rem;
    }

    /* Breadcrumb */
    .lf-breadcrumb {
        font-size: 0.75rem;
        padding: 12px var(--lf-container-px);
    }

    /* Cards */
    .lf-card-body {
        padding: 20px;
    }

    /* Stats */
    .lf-stat-number {
        font-size: 2.25rem;
    }
}

/* ========================================
   Responsive — Small Mobile
   ======================================== */
@media (max-width: 480px) {
    .lf-footer-nav-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lf-mobile-menu {
        width: 100%;
        max-width: 100vw;
    }
}

/* ========================================
   Hero (Front Page)
   ======================================== */
.lf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--lf-primary);
}

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

.lf-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.lf-hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.lf-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px var(--lf-container-px) 80px;
    max-width: 900px;
    margin: 0 auto;
}

.lf-hero-label {
    font-family: var(--lf-font-heading-en);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lf-amber);
    margin-bottom: 24px;
}

.lf-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lf-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ========================================
   Page Hero (Sub pages)
   ======================================== */
.lf-page-hero {
    background: linear-gradient(135deg, var(--lf-primary) 0%, var(--lf-primary-light) 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.lf-page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lf-container-px);
}

.lf-page-hero-en {
    display: block;
    font-family: var(--lf-font-heading-en);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lf-amber);
    margin-bottom: 12px;
}

.lf-page-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.4;
}

/* ========================================
   Service Icon
   ======================================== */
.lf-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--lf-amber-light);
    margin: 0 auto 20px;
}

/* ========================================
   Info Table (About page)
   ======================================== */
.lf-info-table {
    width: 100%;
    border-collapse: collapse;
}

.lf-info-table tr {
    border-bottom: 1px solid var(--lf-border);
}

.lf-info-table th,
.lf-info-table td {
    padding: 20px 16px;
    font-size: 0.9375rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.lf-info-table th {
    font-weight: 700;
    color: var(--lf-primary);
    width: 160px;
    white-space: nowrap;
}

.lf-info-table td {
    color: var(--lf-text);
}

/* ========================================
   Timeline (About page)
   ======================================== */
.lf-timeline {
    position: relative;
    padding-left: 32px;
}

.lf-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--lf-border);
}

.lf-timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 24px;
}

.lf-timeline-item:last-child {
    padding-bottom: 0;
}

.lf-timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lf-amber);
    border: 2px solid var(--lf-surface);
    box-shadow: 0 0 0 2px var(--lf-amber);
}

.lf-timeline-year {
    display: inline-block;
    font-family: var(--lf-font-heading-en);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lf-amber);
    margin-bottom: 8px;
}

.lf-timeline-text {
    font-size: 0.9375rem;
    color: var(--lf-text-muted);
    line-height: 1.7;
}

/* ========================================
   Contact Page
   ======================================== */
.lf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.lf-contact-info-card {
    background: var(--lf-bg);
    border-radius: var(--lf-radius-lg);
    padding: 32px;
    position: sticky;
    top: 120px;
}

.lf-contact-info-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--lf-border-light);
}

.lf-contact-info-item:last-child {
    border-bottom: none;
}

.lf-contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lf-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lf-contact-info-value {
    font-size: 0.9375rem;
    color: var(--lf-text);
}

/* ========================================
   Article (Blog single)
   ======================================== */
.lf-article {
    padding-top: 40px;
}

.lf-article-header {
    margin-bottom: 40px;
}

.lf-article-date {
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    margin-bottom: 12px;
}

.lf-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-primary);
    line-height: 1.5;
}

.lf-article-featured-img {
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.lf-article-featured-img img {
    width: 100%;
    height: auto;
}

.lf-article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--lf-border);
}

.lf-author-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.lf-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 4px;
}

.lf-author-bio {
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    line-height: 1.7;
}

/* ========================================
   Prose (Content area typography)
   ======================================== */
.lf-prose h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lf-amber);
}

.lf-prose h3 {
    font-size: 1.25rem;
    margin-top: 36px;
    margin-bottom: 12px;
}

.lf-prose h4 {
    font-size: 1.125rem;
    margin-top: 28px;
    margin-bottom: 8px;
}

.lf-prose p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--lf-text);
}

.lf-prose ul,
.lf-prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5em;
}

.lf-prose ul {
    list-style: none;
}

.lf-prose ul > li {
    position: relative;
    padding-left: 1em;
}

.lf-prose ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--lf-amber);
    border-radius: 50%;
}

.lf-prose ol {
    list-style: decimal;
}

.lf-prose li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.lf-prose a {
    color: var(--lf-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.lf-prose a:hover {
    color: var(--lf-blue-hover);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 2px;
}

.lf-prose blockquote {
    border-left: 4px solid var(--lf-amber);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--lf-bg);
    border-radius: 0 var(--lf-radius-sm) var(--lf-radius-sm) 0;
}

.lf-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.lf-prose table th,
.lf-prose table td {
    padding: 12px 16px;
    border: 1px solid var(--lf-border);
    font-size: 0.9375rem;
    text-align: left;
}

.lf-prose table th {
    background: var(--lf-bg);
    font-weight: 700;
}

/* Code / Preformatted blocks */
.lf-prose pre,
.lf-prose .wp-block-preformatted,
.lf-prose .wp-block-code {
    background: var(--lf-bg);
    border: 1px solid var(--lf-border);
    border-left: 4px solid var(--lf-primary);
    border-radius: 0 var(--lf-radius-sm) var(--lf-radius-sm) 0;
    padding: 24px;
    font-size: 0.9375rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 24px 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--lf-text);
    overflow-x: auto;
}

.lf-prose code {
    background: var(--lf-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.lf-prose pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* ========================================
   Archive Layout (Blog / Works)
   ======================================== */
.lf-archive-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
    align-items: start;
}

.lf-sidebar-widget {
    background: var(--lf-surface);
    border-radius: var(--lf-radius-lg);
    padding: 28px;
    box-shadow: var(--lf-shadow-sm);
    position: sticky;
    top: 120px;
}

.lf-sidebar-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lf-amber);
}

.lf-sidebar-list li {
    border-bottom: 1px solid var(--lf-border-light);
}

.lf-sidebar-list li a {
    display: block;
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    transition: color var(--lf-transition-fast);
}

.lf-sidebar-list li a:hover {
    color: var(--lf-amber);
}

/* ========================================
   Filter Bar (Works archive)
   ======================================== */
.lf-filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lf-filter-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lf-primary);
    white-space: nowrap;
}

.lf-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lf-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-family: var(--lf-font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lf-text-muted);
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--lf-transition-fast);
}

.lf-filter-tag:hover {
    border-color: var(--lf-amber);
    color: var(--lf-amber);
}

.lf-filter-tag.is-active {
    background: var(--lf-amber);
    border-color: var(--lf-amber);
    color: #FFFFFF;
    font-weight: 700;
}

/* ========================================
   Pagination
   ======================================== */
.lf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--lf-border-light);
}

.lf-pagination a,
.lf-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--lf-radius-sm);
    transition: all var(--lf-transition-fast);
}

.lf-pagination a {
    color: var(--lf-text-muted);
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
}

.lf-pagination a:hover {
    border-color: var(--lf-amber);
    color: var(--lf-amber);
}

.lf-pagination .current {
    background: var(--lf-amber);
    color: #FFFFFF;
    border: 1px solid var(--lf-amber);
}

/* ========================================
   Work Detail (single-work)
   ======================================== */
.lf-work-hero {
    background: linear-gradient(135deg, var(--lf-primary) 0%, var(--lf-primary-light) 100%);
    padding: 80px 0 40px;
}

.lf-work-hero-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lf-work-header {
    margin-bottom: 32px;
}

.lf-work-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-primary);
    line-height: 1.5;
}

.lf-work-featured-img {
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.lf-work-featured-img img {
    width: 100%;
    height: auto;
}

/* ========================================
   Page-specific overrides
   ======================================== */
.lf-privacy-page.is-layout-flow > *,
.lf-members-page.is-layout-flow > *,
.lf-blog-page.is-layout-flow > * {
    margin-block-start: 0 !important;
}

/* ========================================
   Responsive — Tablet (templates)
   ======================================== */
@media (max-width: 1024px) {
    .lf-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lf-contact-info-card {
        position: static;
    }

    .lf-archive-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lf-sidebar-widget {
        position: static;
    }
}

/* ========================================
   Responsive — Mobile (templates)
   ======================================== */
@media (max-width: 768px) {
    .lf-hero-title {
        font-size: 1.625rem;
    }

    .lf-hero-title br {
        display: none;
    }

    .lf-hero-content {
        padding: 100px var(--lf-container-px) 60px;
    }

    .lf-page-hero {
        padding: 60px 0 40px;
    }

    .lf-page-hero-title {
        font-size: 1.5rem;
    }

    .lf-info-table th {
        display: block;
        width: 100%;
        padding-bottom: 4px;
        font-size: 0.8125rem;
    }

    .lf-info-table td {
        display: block;
        padding-top: 0;
        padding-bottom: 16px;
    }

    .lf-article-title {
        font-size: 1.5rem;
    }

    .lf-author-card {
        flex-direction: column;
        text-align: center;
    }

    .lf-prose h2 {
        font-size: 1.25rem;
        margin-top: 36px;
    }

    .lf-prose pre,
    .lf-prose .wp-block-preformatted,
    .lf-prose .wp-block-code {
        padding: 16px;
        font-size: 0.8125rem;
    }

    .lf-work-title {
        font-size: 1.5rem;
    }

    .lf-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   WordPress Block Theme Compatibility
   (wp:post-template, wp:post-featured-image, etc.)
   ======================================== */

/* --- Post Template Grid (archive pages) --- */
.wp-block-post-template.lf-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-post-template.lf-grid-3 > li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove WP default gap/flex on post-template */
.wp-block-post-template.lf-grid-3.is-layout-flow > * {
    margin-block-start: 0 !important;
}

/* --- Cards inside post-template --- */
.wp-block-post-template .lf-card {
    background: var(--lf-surface);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    box-shadow: var(--lf-shadow-sm);
    transition: transform var(--lf-transition), box-shadow var(--lf-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wp-block-post-template .lf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lf-shadow-lg);
}

/* Remove WP block gaps inside cards */
.wp-block-post-template .lf-card.is-layout-flow > * {
    margin-block-start: 0 !important;
}

.wp-block-post-template .lf-card-body.is-layout-flow > * {
    margin-block-start: 0 !important;
}

/* --- Featured Image inside cards --- */
.wp-block-post-template .wp-block-post-featured-image,
.wp-block-post-template .lf-card-img {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.wp-block-post-template .wp-block-post-featured-image img,
.wp-block-post-template .lf-card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    margin: 0;
}

.wp-block-post-template .wp-block-post-featured-image a {
    display: block;
    line-height: 0;
}

/* --- Card body inside post-template --- */
.wp-block-post-template .lf-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- Date inside cards --- */
.wp-block-post-template .wp-block-post-date,
.wp-block-post-template .lf-card-date {
    font-size: 0.75rem;
    color: var(--lf-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* --- Title inside cards --- */
.wp-block-post-template .wp-block-post-title,
.wp-block-post-template .lf-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.wp-block-post-template .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--lf-transition-fast);
}

.wp-block-post-template .wp-block-post-title a:hover {
    color: var(--lf-amber);
}

/* --- Excerpt inside cards --- */
.wp-block-post-template .wp-block-post-excerpt,
.wp-block-post-template .lf-card-text {
    font-size: 0.9375rem;
    color: var(--lf-text-muted);
    line-height: 1.7;
    margin-top: auto;
}

.wp-block-post-template .wp-block-post-excerpt__excerpt {
    margin: 0;
}

.wp-block-post-template .wp-block-post-excerpt__more-link {
    display: none;
}

/* --- Single Post (article) Block Theme overrides --- */
.lf-blog-page .wp-block-post-date.lf-article-date {
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    margin-bottom: 12px;
}

.lf-blog-page .wp-block-post-title.lf-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-primary);
    line-height: 1.5;
    margin-bottom: 0;
}

.lf-blog-page .wp-block-post-featured-image.lf-article-featured-img {
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.lf-blog-page .wp-block-post-featured-image.lf-article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post content inside .lf-prose */
.lf-prose .wp-block-post-content,
.lf-prose .entry-content {
    font-size: 1rem;
    line-height: 1.9;
}

/* --- Single Work Block Theme overrides --- */
.lf-works-page .wp-block-post-title.lf-work-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lf-primary);
    line-height: 1.5;
    margin-bottom: 0;
}

.lf-works-page .wp-block-post-featured-image.lf-work-featured-img {
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.lf-works-page .wp-block-post-featured-image.lf-work-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Pagination Block Theme overrides --- */
.wp-block-query-pagination.lf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--lf-border-light);
}

.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-numbers {
    margin: 0;
    padding: 0;
}

.wp-block-query-pagination.lf-pagination a,
.wp-block-query-pagination.lf-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--lf-radius-sm);
    transition: all var(--lf-transition-fast);
}

.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--lf-radius-sm);
    color: var(--lf-text-muted);
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    transition: all var(--lf-transition-fast);
    text-decoration: none;
}

.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-numbers .page-numbers:hover {
    border-color: var(--lf-amber);
    color: var(--lf-amber);
}

.wp-block-query-pagination.lf-pagination .wp-block-query-pagination-numbers .page-numbers.current {
    background: var(--lf-amber);
    color: #FFFFFF;
    border: 1px solid var(--lf-amber);
}

/* --- WP block gap resets for archive pages --- */
.lf-blog-page .lf-article-header.is-layout-flow > *,
.lf-blog-page .lf-article.is-layout-flow > *,
.lf-works-page .lf-work-header.is-layout-flow > * {
    margin-block-start: 0 !important;
}

/* WP default margin resets for post blocks */
.wp-block-post-template .wp-block-group {
    margin-top: 0;
    margin-bottom: 0;
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
    .wp-block-post-template.lf-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
    .wp-block-post-template.lf-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wp-block-post-template .lf-card-body {
        padding: 20px;
    }

    .lf-blog-page .wp-block-post-title.lf-article-title {
        font-size: 1.5rem;
    }

    .lf-works-page .wp-block-post-title.lf-work-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Print
   ======================================== */
@media print {
    .lf-header-wrapper,
    .lf-mobile-overlay,
    .lf-cta-section,
    .lf-footer-sns {
        display: none !important;
    }

    .lf-footer {
        background: #FFFFFF;
        color: #000000;
    }
}

/* ========================================
   Contact Form 7 (WPCF7) Styles
   ======================================== */
.wpcf7 p {
    margin-bottom: 20px;
}

.wpcf7 label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--lf-text);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    font-family: var(--lf-font-body) !important;
    font-size: 1rem !important;
    background: var(--lf-surface) !important;
    border: 1px solid var(--lf-border) !important;
    border-radius: var(--lf-radius-sm) !important;
    transition: border-color var(--lf-transition-fast), box-shadow var(--lf-transition-fast);
    outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--lf-amber) !important;
    box-shadow: 0 0 0 3px var(--lf-amber-light) !important;
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 14px 48px;
    background: var(--lf-amber);
    color: #fff;
    font-family: var(--lf-font-body);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color var(--lf-transition-fast), transform var(--lf-transition-fast);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--lf-amber-hover);
    transform: translateY(-1px);
}

/* ========================================
   Blog CTA Link Buttons (.lf-prose)
   Uses :has() to target ul containing a /contact/ link,
   and attribute selectors for individual CTA links.
   DOM: .lf-prose > div.entry-content > ul > li > a
   ======================================== */

/* CTA list container - remove bullets, flexbox layout */
.lf-prose .entry-content ul:has(a[href="/contact/"]) {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* Primary CTA button: /contact/ link */
.lf-prose .entry-content a[href="/contact/"] {
    display: inline-block;
    padding: 12px 32px;
    background: var(--lf-amber);
    color: #fff !important;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none !important;
    transition: background-color var(--lf-transition-fast), transform var(--lf-transition-fast);
}

.lf-prose .entry-content a[href="/contact/"]:hover {
    background: var(--lf-amber-hover);
    transform: translateY(-1px);
}

/* Secondary CTA button: /service/ links inside CTA list */
.lf-prose .entry-content ul:has(a[href="/contact/"]) a[href^="/service/"] {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid var(--lf-border);
    color: var(--lf-text) !important;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none !important;
    transition: all var(--lf-transition-fast);
}

.lf-prose .entry-content ul:has(a[href="/contact/"]) a[href^="/service/"]:hover {
    border-color: var(--lf-amber);
    color: var(--lf-amber) !important;
    transform: translateY(-1px);
}


/* ========================================
   Service Page - post-content layout fix
   WP Block Theme adds is-layout-constrained to wp:post-content,
   which limits children to contentSize. Override for service page.
   ======================================== */
.lf-service-page .wp-block-post-content,
.lf-service-page .entry-content {
    max-width: none !important;
}

.lf-service-page .wp-block-post-content > *,
.lf-service-page .entry-content > * {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* ========================================
   Value Cards Grid Fix (About page)
   5 cards: 3 top row + 2 bottom row centered
   ======================================== */
.lf-about-page .lf-grid-3 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.lf-about-page .lf-grid-3 > .lf-card {
    grid-column: span 2;
}

.lf-about-page .lf-grid-3 > .lf-card:nth-child(4) {
    grid-column: 2 / 4;
}

.lf-about-page .lf-grid-3 > .lf-card:nth-child(5) {
    grid-column: 4 / 6;
}

@media (max-width: 768px) {
    .lf-about-page .lf-grid-3 {
        grid-template-columns: 1fr;
    }

    .lf-about-page .lf-grid-3 > .lf-card,
    .lf-about-page .lf-grid-3 > .lf-card:nth-child(4),
    .lf-about-page .lf-grid-3 > .lf-card:nth-child(5) {
        grid-column: 1 / -1;
    }
}

/* ========================================
   Floating CTA (Mobile)
   ======================================== */
.lf-floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--lf-z-overlay);
    background: var(--lf-primary);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s var(--lf-ease);
}

.lf-floating-cta.is-visible {
    transform: translateY(0);
}

.lf-floating-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.lf-floating-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--lf-radius);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: var(--lf-transition-fast);
}

.lf-floating-cta-btn--primary {
    background: var(--lf-amber);
    color: #FFFFFF;
}

.lf-floating-cta-btn--primary:hover {
    background: var(--lf-amber-hover);
}

.lf-floating-cta-btn--tel {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    flex: 0 0 auto;
    padding: 14px;
}

@media (max-width: 768px) {
    .lf-floating-cta {
        display: block;
    }
    /* Prevent footer content from being hidden behind floating CTA */
    .lf-footer {
        padding-bottom: 80px;
    }
}

/* ========================================
   Hero Enhancements
   ======================================== */
.lf-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

.lf-btn-ghost {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.lf-hero-microcopy {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ========================================
   Result Badges (Works Cards)
   ======================================== */
.lf-result-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.lf-result-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--lf-amber-light);
    color: var(--lf-amber-hover);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* ========================================
   Mid-page CTA Banner
   ======================================== */
.lf-mid-cta {
    padding: 0;
}

.lf-mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    background: linear-gradient(135deg, var(--lf-primary), var(--lf-primary-light));
    border-radius: var(--lf-radius-lg);
    margin: 0 auto;
    max-width: 1000px;
}

.lf-mid-cta-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.lf-mid-cta-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .lf-mid-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }
}

/* ========================================
   Trust Badges (Contact Page)
   ======================================== */
.lf-trust-badges {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.lf-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lf-text);
}

/* ========================================
   Contact Flow Steps
   ======================================== */
.lf-contact-flow {
    margin-top: 48px;
    padding: 32px;
    background: var(--lf-bg);
    border-radius: var(--lf-radius);
}

.lf-contact-flow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 20px;
    text-align: center;
}

.lf-contact-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lf-contact-flow-step {
    text-align: center;
}

.lf-contact-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--lf-amber);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    margin-bottom: 8px;
}

.lf-contact-flow-step p {
    font-size: 0.8125rem;
    color: var(--lf-text-muted);
    font-weight: 500;
}

.lf-contact-flow-arrow {
    color: var(--lf-text-light);
    font-size: 1.25rem;
}

@media (max-width: 480px) {
    .lf-contact-flow-steps {
        gap: 8px;
    }
    .lf-contact-flow-step p {
        font-size: 0.75rem;
    }
}

/* ========================================
   Contact FAQ
   ======================================== */
.lf-contact-faq-card {
    margin-top: 24px;
    padding: 28px;
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
}

.lf-faq-item {
    border-bottom: 1px solid var(--lf-border-light);
    padding: 16px 0;
}

.lf-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lf-faq-item summary {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lf-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lf-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--lf-amber);
    transition: var(--lf-transition-fast);
}

.lf-faq-item[open] summary::after {
    content: '\2212';
}

.lf-faq-item p {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    line-height: 1.8;
}

/* ========================================
   CEO Section (About Page)
   ======================================== */
.lf-ceo-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.lf-ceo-photo-placeholder {
    width: 280px;
    height: 350px;
    background: var(--lf-bg);
    border: 2px dashed var(--lf-border);
    border-radius: var(--lf-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lf-ceo-photo img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: var(--lf-radius);
}

.lf-ceo-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--lf-primary);
    margin-bottom: 4px;
}

.lf-ceo-name-en {
    font-family: var(--lf-font-heading-en);
    font-size: 0.8125rem;
    color: var(--lf-text-light);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.lf-ceo-message p {
    font-size: 1rem;
    line-height: 2;
    color: var(--lf-text-muted);
    margin-bottom: 16px;
}

.lf-ceo-message p:first-child {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lf-primary);
}

.lf-ceo-career {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--lf-border-light);
}

.lf-ceo-career-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lf-amber);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.lf-ceo-career-list {
    list-style: none;
    padding: 0;
}

.lf-ceo-career-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.875rem;
    color: var(--lf-text-muted);
    margin-bottom: 8px;
}

.lf-ceo-career-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--lf-amber);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .lf-ceo-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lf-ceo-photo-placeholder,
    .lf-ceo-photo img {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
}

/* ========================================
   Count-up Animation (Numbers)
   ======================================== */
.lf-stat-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--lf-ease), transform 0.6s var(--lf-ease);
}

.lf-stat-number.is-visible {
    opacity: 1;
    transform: translateY(0);
}
