/*
 * KimiFlow Landing Page Styles
 * ============================
 *
 * COLOR PALETTE - Edit these CSS variables to change the color scheme
 * To change colors, simply modify the values in :root below
 */

:root {
    /* ========================================
     * PRIMARY COLOR PALETTE
     * Earth & Olive Theme
     * ======================================== */

    /* Primary Colors - Deep Burgundy tones */
    --kf-primary: #4F000B;           /* Main brand color - Deep burgundy */
    --kf-primary-light: #722030;     /* Lighter version for hovers */
    --kf-primary-dark: #3A0008;      /* Darker burgundy */
    --kf-primary-rgb: 79, 0, 11;     /* RGB values for opacity use */

    /* Secondary Colors - Tan/Khaki tones */
    --kf-secondary: #A68A64;         /* Warm tan/khaki */
    --kf-secondary-light: #BDAA88;   /* Light tan */
    --kf-secondary-dark: #8B7250;    /* Deep tan */

    /* Accent Colors */
    --kf-accent: #718355;            /* Olive green */
    --kf-accent-light: #7A8560;      /* Lighter olive */

    /* Neutral Colors */
    --kf-cream: #EDE0D4;             /* Light cream background */
    --kf-cream-dark: #E3D4C5;        /* Slightly darker cream */
    --kf-sand: #D9CBC0;              /* Sandy beige */
    --kf-brown: #414833;             /* Dark forest for text */
    --kf-brown-light: #656D4A;       /* Olive brown */

    /* Text Colors */
    --kf-text: #5e6551;              /* Primary text - dark forest */
    --kf-text-light: #5A5F48;        /* Secondary text */
    --kf-text-muted: #7D8268;        /* Muted text */
    --kf-text-inverse: #EDE0D4;      /* Text on dark backgrounds */

    /* Background Colors */
    --kf-bg: #FFFFFF;                /* Main background */
    --kf-bg-alt: #EDE0D4;            /* Alternate section - cream */
    --kf-bg-dark: #414833;           /* Dark sections - forest */

    /* ========================================
     * TYPOGRAPHY
     * ======================================== */
    --kf-font-heading: 'Playfair Display', Georgia, serif;
    --kf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --kf-text-xs: 0.75rem;
    --kf-text-sm: 0.875rem;
    --kf-text-base: 1rem;
    --kf-text-lg: 1.125rem;
    --kf-text-xl: 1.25rem;
    --kf-text-2xl: 1.5rem;
    --kf-text-3xl: 1.875rem;
    --kf-text-4xl: 2.25rem;
    --kf-text-5xl: 3rem;
    --kf-text-6xl: 3.75rem;

    /* ========================================
     * SPACING & LAYOUT
     * ======================================== */
    --kf-container-max: 1200px;
    --kf-container-padding: 1.5rem;
    --kf-section-padding: 6rem;
    --kf-border-radius: 0.5rem;
    --kf-border-radius-lg: 1rem;
    --kf-border-radius-xl: 1.5rem;

    /* ========================================
     * SHADOWS
     * ======================================== */
    --kf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --kf-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --kf-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --kf-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --kf-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* ========================================
     * TRANSITIONS
     * ======================================== */
    --kf-transition-fast: 150ms ease;
    --kf-transition: 300ms ease;
    --kf-transition-slow: 500ms ease;
}


/* ============================================
 * RESET & BASE STYLES
 * ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    background-color: var(--kf-bg);
}

body.kimiflow-landing {
    font-family: var(--kf-font-body);
    font-size: var(--kf-text-base);
    line-height: 1.6;
    color: var(--kf-text);
    background-color: var(--kf-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Override any parent theme dark backgrounds */
body.kimiflow-landing,
body.kimiflow-landing > *,
body.kimiflow-landing .wp-site-blocks {
    background-color: var(--kf-bg);
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Screen reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 1rem 2rem;
    background: var(--kf-primary);
    color: var(--kf-text-inverse);
    clip: auto;
    z-index: 100000;
}


/* ============================================
 * CONTAINER
 * ============================================ */

.kf-container {
    width: 100%;
    max-width: var(--kf-container-max);
    margin: 0 auto;
    padding: 0 var(--kf-container-padding);
}


/* ============================================
 * TYPOGRAPHY
 * ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kf-font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--kf-text);
}

.kf-section-label {
    display: inline-block;
    font-size: var(--kf-text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kf-primary);
    margin-bottom: 1rem;
}

.kf-section-title {
    font-size: var(--kf-text-4xl);
    margin-bottom: 1.5rem;
}

.kf-section-description {
    font-size: var(--kf-text-lg);
    color: var(--kf-text-light);
    max-width: 600px;
}

.kf-text-accent {
    color: var(--kf-primary);
}

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

.kf-section-header .kf-section-description {
    margin: 0 auto;
}


/* ============================================
 * BUTTONS
 * ============================================ */

.kf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: var(--kf-text-base);
    font-weight: 500;
    border-radius: var(--kf-border-radius);
    transition: all var(--kf-transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.kf-btn-primary {
    background: var(--kf-primary);
    color: #FFFFFF;
    border-color: var(--kf-primary);
}

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

.kf-btn-outline {
    background: transparent;
    color: var(--kf-primary);
    border-color: var(--kf-primary);
}

.kf-btn-outline:hover {
    background: var(--kf-primary);
    color: var(--kf-text-inverse);
}

.kf-btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--kf-text-sm);
}

.kf-btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--kf-text-lg);
}

.kf-btn-block {
    width: 100%;
}

/* Button loading state */
.kf-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.kf-btn-loading::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    left: 50%;
    margin-left: -0.625rem;
    margin-top: -0.625rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: kf-spin 0.8s linear infinite;
}

.kf-btn-loading span {
    visibility: hidden;
}

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


/* ============================================
 * HEADER
 * ============================================ */

.kf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--kf-transition);
}

.kf-header.scrolled {
    box-shadow: var(--kf-shadow);
}

.kf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.kf-logo {
    display: flex;
    align-items: center;
}

.kf-logo-text {
    font-family: var(--kf-font-heading);
    font-size: var(--kf-text-2xl);
    font-weight: 600;
    color: var(--kf-text);
}

.kf-logo-accent {
    color: var(--kf-primary);
}

.kf-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.kf-nav-menu a {
    font-weight: 500;
    color: var(--kf-text);
    transition: color var(--kf-transition-fast);
}

.kf-nav-menu a:hover {
    color: var(--kf-primary);
}

.kf-nav-menu .kf-btn {
    margin-left: 1rem;
    color: #FFFFFF;
}

.kf-nav-menu .kf-btn:hover {
    color: #FFFFFF;
}

/* Language Switcher */
.kf-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--kf-sand);
}

.kf-lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.5;
    transition: all var(--kf-transition);
    border: 2px solid transparent;
}

.kf-lang-flag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.kf-lang-flag.active {
    opacity: 1;
    border-color: var(--kf-primary);
}

.kf-lang-flag .flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Polylang compatibility */
.kf-lang-switcher ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kf-lang-switcher li {
    margin: 0;
}

.kf-lang-switcher li a {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.5;
    transition: all var(--kf-transition);
    border: 2px solid transparent;
}

.kf-lang-switcher li a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.kf-lang-switcher li.current-lang a {
    opacity: 1;
    border-color: var(--kf-primary);
}

.kf-lang-switcher li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Navigation Toggle */
.kf-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.kf-hamburger {
    width: 24px;
    height: 2px;
    background: var(--kf-text);
    position: relative;
    transition: all var(--kf-transition);
}

.kf-hamburger::before,
.kf-hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--kf-text);
    transition: all var(--kf-transition);
}

.kf-hamburger::before {
    top: -8px;
}

.kf-hamburger::after {
    top: 8px;
}

.kf-mobile-toggle[aria-expanded="true"] .kf-hamburger {
    background: transparent;
}

.kf-mobile-toggle[aria-expanded="true"] .kf-hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.kf-mobile-toggle[aria-expanded="true"] .kf-hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* ============================================
 * HERO SECTION
 * ============================================ */

.kf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.kf-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--kf-cream) 0%, var(--kf-cream-dark) 50%, var(--kf-sand) 100%);
    z-index: -2;
}

.kf-hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(var(--kf-primary-rgb), 0.08) 0%, transparent 70%);
    z-index: -1;
}

.kf-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--kf-bg) 0%, transparent 100%);
}

.kf-hero-content {
    max-width: 700px;
}

.kf-hero-tagline {
    display: inline-block;
    font-size: var(--kf-text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--kf-primary);
    margin-bottom: 1.5rem;
}

.kf-hero-title {
    font-size: var(--kf-text-6xl);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--kf-text);
}

.kf-hero-description {
    font-size: var(--kf-text-xl);
    color: var(--kf-text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.kf-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--kf-text-muted);
    font-size: var(--kf-text-sm);
}

.kf-scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--kf-text-muted);
    border-radius: 12px;
    position: relative;
}

.kf-scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--kf-primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.5;
    }
}


/* ============================================
 * SECTIONS - GENERAL
 * ============================================ */

.kf-section {
    padding: var(--kf-section-padding) 0;
}

.kf-section:nth-child(even) {
    background: var(--kf-bg-alt);
}


/* ============================================
 * ABOUT SECTION
 * ============================================ */

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

.kf-about-image {
    position: relative;
}

.kf-image-wrapper {
    position: relative;
    border-radius: var(--kf-border-radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--kf-sand);
}

.kf-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--kf-primary-rgb), 0.1) 0%, transparent 100%);
    z-index: 1;
}

.kf-about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.kf-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--kf-text-muted);
    gap: 1rem;
}

.kf-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.kf-image-placeholder span {
    font-size: var(--kf-text-sm);
    font-weight: 500;
}

.kf-about-stats {
    display: flex;
    gap: 2rem;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--kf-bg);
    padding: 1.5rem 2rem;
    border-radius: var(--kf-border-radius-lg);
    box-shadow: var(--kf-shadow-lg);
}

.kf-stat {
    text-align: center;
}

.kf-stat-number {
    display: block;
    font-family: 'Inter', var(--kf-font-body);
    font-size: var(--kf-text-3xl);
    font-weight: 700;
    color: var(--kf-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.kf-stat-label {
    font-size: var(--kf-text-sm);
    color: var(--kf-text-muted);
    margin-top: 0.25rem;
}

.kf-about-content {
    padding-left: 2rem;
}

.kf-about-text {
    color: var(--kf-text-light);
    margin-bottom: 1.5rem;
}

.kf-about-certifications {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.kf-cert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--kf-text);
    font-weight: 500;
}

.kf-cert svg {
    width: 24px;
    height: 24px;
    color: var(--kf-accent);
    flex-shrink: 0;
}


/* ============================================
 * SERVICES SECTION
 * ============================================ */

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

.kf-service-card {
    background: var(--kf-bg);
    padding: 2.5rem;
    border-radius: var(--kf-border-radius-lg);
    box-shadow: var(--kf-shadow-sm);
    transition: all var(--kf-transition);
    border: 1px solid transparent;
}

.kf-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--kf-shadow-lg);
    border-color: rgba(var(--kf-primary-rgb), 0.2);
}

.kf-service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kf-cream) 0%, var(--kf-sand) 100%);
    border-radius: var(--kf-border-radius);
    margin-bottom: 1.5rem;
}

.kf-service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--kf-primary);
}

.kf-service-title {
    font-size: var(--kf-text-xl);
    margin-bottom: 0.75rem;
}

.kf-service-description {
    color: var(--kf-text-light);
    margin-bottom: 1.5rem;
    font-size: var(--kf-text-sm);
}

.kf-service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kf-service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--kf-text-sm);
    color: var(--kf-text);
}

.kf-service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--kf-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}


/* ============================================
 * TESTIMONIALS SECTION
 * ============================================ */

.kf-testimonials {
    background: var(--kf-bg-alt);
}

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

.kf-testimonial-card {
    background: var(--kf-bg);
    padding: 2rem;
    border-radius: var(--kf-border-radius-lg);
    box-shadow: var(--kf-shadow-sm);
}

.kf-testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.kf-testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--kf-secondary);
}

.kf-testimonial-text {
    font-size: var(--kf-text-base);
    color: var(--kf-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.kf-author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kf-primary) 0%, var(--kf-primary-light) 100%);
    color: var(--kf-text-inverse);
    font-weight: 600;
    border-radius: 50%;
}

.kf-author-info {
    display: flex;
    flex-direction: column;
}

.kf-author-name {
    font-weight: 600;
    color: var(--kf-text);
}

.kf-author-title {
    font-size: var(--kf-text-sm);
    color: var(--kf-text-muted);
}


/* ============================================
 * BOOKING SECTION
 * ============================================ */

.kf-booking {
    background: var(--kf-bg);
}

.kf-booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.kf-booking-text {
    color: var(--kf-text-light);
    margin-bottom: 2rem;
}

.kf-booking-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kf-booking-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--kf-text);
}

.kf-booking-feature svg {
    width: 24px;
    height: 24px;
    color: var(--kf-accent);
    flex-shrink: 0;
}

.kf-booking-form-wrapper {
    background: var(--kf-bg-alt);
    padding: 2.5rem;
    border-radius: var(--kf-border-radius-xl);
    box-shadow: var(--kf-shadow-md);
}

.kf-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kf-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kf-form-group label {
    font-size: var(--kf-text-sm);
    font-weight: 500;
    color: var(--kf-text);
}

.kf-form-group input,
.kf-form-group select,
.kf-form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--kf-sand);
    border-radius: var(--kf-border-radius);
    background: var(--kf-bg);
    transition: all var(--kf-transition-fast);
}

.kf-form-group input:focus,
.kf-form-group select:focus,
.kf-form-group textarea:focus {
    outline: none;
    border-color: var(--kf-primary);
    box-shadow: 0 0 0 3px rgba(var(--kf-primary-rgb), 0.1);
}

.kf-form-group input::placeholder,
.kf-form-group textarea::placeholder {
    color: var(--kf-text-muted);
}

.kf-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23414833' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: var(--kf-text);
    cursor: pointer;
}

.kf-form-group select option[value=""] {
    color: var(--kf-text-muted);
}

/* Radio button group styling */
.kf-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kf-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--kf-sand);
    border-radius: var(--kf-border-radius);
    cursor: pointer;
    transition: all var(--kf-transition-fast);
    font-size: var(--kf-text-sm);
}

.kf-radio-label:hover {
    border-color: var(--kf-primary);
}

.kf-radio-label input[type="radio"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--kf-primary);
    cursor: pointer;
}

.kf-radio-label input[type="radio"]:checked + span {
    font-weight: 500;
}

.kf-radio-label:has(input[type="radio"]:checked) {
    border-color: var(--kf-primary);
    background: rgba(var(--kf-primary-rgb), 0.05);
}

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

.kf-form-success {
    text-align: center;
    padding: 2rem;
}

.kf-form-success svg {
    width: 64px;
    height: 64px;
    color: var(--kf-accent);
    margin: 0 auto 1.5rem;
}

.kf-form-success h3 {
    font-size: var(--kf-text-2xl);
    margin-bottom: 0.75rem;
}

.kf-form-success p {
    color: var(--kf-text-light);
}


/* ============================================
 * CONTACT SECTION
 * ============================================ */

.kf-contact {
    background: var(--kf-bg-alt);
}

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

.kf-contact-text {
    color: var(--kf-text-light);
    margin-bottom: 2rem;
}

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

.kf-contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--kf-bg);
    border-radius: var(--kf-border-radius-lg);
    transition: all var(--kf-transition);
}

.kf-contact-method:hover {
    transform: translateX(8px);
    box-shadow: var(--kf-shadow);
}

.kf-contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kf-cream) 0%, var(--kf-sand) 100%);
    border-radius: var(--kf-border-radius);
    flex-shrink: 0;
}

.kf-contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--kf-primary);
}

.kf-contact-details {
    display: flex;
    flex-direction: column;
}

.kf-contact-label {
    font-size: var(--kf-text-sm);
    color: var(--kf-text-muted);
}

.kf-contact-value {
    font-weight: 500;
    color: var(--kf-text);
}

.kf-cta-card {
    background: linear-gradient(135deg, var(--kf-primary) 0%, var(--kf-primary-dark) 100%);
    padding: 3rem;
    border-radius: var(--kf-border-radius-xl);
    text-align: center;
    color: var(--kf-text-inverse);
}

.kf-cta-card h3 {
    font-size: var(--kf-text-2xl);
    color: var(--kf-text-inverse);
    margin-bottom: 1rem;
}

.kf-cta-card p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.kf-cta-card .kf-btn {
    background: var(--kf-text-inverse);
    color: var(--kf-primary);
    border-color: var(--kf-text-inverse);
}

.kf-cta-card .kf-btn:hover {
    background: var(--kf-cream);
    border-color: var(--kf-cream);
}


/* ============================================
 * FOOTER
 * ============================================ */

.kf-footer {
    background: var(--kf-bg);
    color: var(--kf-text);
    padding: 4rem 0 2rem;
}

.kf-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--kf-sand);
}

.kf-footer-brand .kf-logo-text {
    color: var(--kf-text);
}

.kf-footer-tagline {
    font-size: var(--kf-text-sm);
    color: var(--kf-text-light);
    margin-top: 0.5rem;
}

.kf-footer-links {
    display: flex;
    gap: 2rem;
}

.kf-footer-links a {
    color: var(--kf-text);
    transition: color var(--kf-transition-fast);
}

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

.kf-footer-social {
    display: flex;
    gap: 1rem;
}

.kf-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--kf-sand);
    border-radius: 50%;
    transition: all var(--kf-transition);
    color: var(--kf-text);
}

.kf-footer-social a:hover {
    background: var(--kf-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.kf-footer-social svg {
    width: 20px;
    height: 20px;
}

.kf-footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.kf-footer-bottom p {
    font-size: var(--kf-text-sm);
    color: var(--kf-text-muted);
}


/* ============================================
 * ANIMATIONS
 * ============================================ */

.animate-fade-up,
.animate-fade-left,
.animate-fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.animate-fade-up {
    transform: translateY(40px);
}

.animate-fade-left {
    transform: translateX(40px);
}

.animate-fade-right {
    transform: translateX(-40px);
}

.animate-fade-up.animated,
.animate-fade-left.animated,
.animate-fade-right.animated {
    opacity: 1;
    transform: translate(0);
}


/* ============================================
 * RESPONSIVE - TABLET
 * ============================================ */

@media (max-width: 1024px) {
    :root {
        --kf-section-padding: 4rem;
    }

    .kf-hero-title {
        font-size: var(--kf-text-5xl);
    }

    .kf-section-title {
        font-size: var(--kf-text-3xl);
    }

    .kf-about-grid,
    .kf-booking-wrapper,
    .kf-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kf-about-content {
        padding-left: 0;
    }

    .kf-about-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        justify-content: center;
    }

    .kf-services-grid,
    .kf-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
 * RESPONSIVE - MOBILE
 * ============================================ */

@media (max-width: 768px) {
    :root {
        --kf-section-padding: 3rem;
        --kf-container-padding: 1rem;
    }

    .kf-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .kf-nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--kf-bg);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: var(--kf-shadow-xl);
        transform: translateX(100%);
        transition: transform var(--kf-transition);
    }

    .kf-nav-menu.active {
        transform: translateX(0);
    }

    .kf-nav-menu.active ~ .kf-lang-switcher {
        display: none;
    }

    .kf-nav-menu .kf-btn {
        margin-left: 0;
        width: 100%;
    }

    .kf-lang-switcher {
        order: 2;
        margin-left: auto;
        margin-right: 0.75rem;
        padding-left: 0;
        border-left: none;
    }

    .kf-mobile-toggle {
        order: 3;
    }

    .kf-hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .kf-hero-title {
        font-size: var(--kf-text-4xl);
    }

    .kf-hero-description {
        font-size: var(--kf-text-base);
    }

    .kf-hero-cta {
        flex-direction: column;
    }

    .kf-hero-cta .kf-btn {
        width: 100%;
    }

    .kf-hero-scroll {
        display: none;
    }

    .kf-section-title {
        font-size: var(--kf-text-2xl);
    }

    /* Mobile: All titles left-aligned */
    .kf-section-header,
    .kf-section-label,
    .kf-section-title,
    .kf-section-description {
        text-align: left;
    }

    .kf-section-header .kf-section-description {
        margin: 0;
    }

    .kf-services-grid,
    .kf-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .kf-service-card {
        padding: 1.5rem;
    }

    .kf-form-row {
        grid-template-columns: 1fr;
    }

    .kf-booking-form-wrapper {
        padding: 1.5rem;
    }

    .kf-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .kf-footer-brand {
        order: 1;
    }

    .kf-footer-links {
        order: 2;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .kf-footer-social {
        order: 3;
    }
}


/* ============================================
 * RESPONSIVE - SMALL MOBILE
 * ============================================ */

@media (max-width: 480px) {
    .kf-hero-title {
        font-size: var(--kf-text-3xl);
    }

    .kf-about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .kf-cta-card {
        padding: 2rem;
    }
}


/* ============================================
 * PRINT STYLES
 * ============================================ */

@media print {
    .kf-header,
    .kf-hero-scroll,
    .kf-mobile-toggle {
        display: none;
    }

    .kf-hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .kf-section {
        padding: 2rem 0;
    }
}


/* ============================================
 * ACCESSIBILITY - REDUCED MOTION
 * ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-fade-up,
    .animate-fade-left,
    .animate-fade-right {
        opacity: 1;
        transform: none;
    }

    .kf-hero-bg::before {
        animation: none;
    }
}


/* ============================================
 * ACCESSIBILITY - FOCUS STATES
 * ============================================ */

/* Global focus visible styles */
:focus-visible {
    outline: 2px solid var(--kf-primary);
    outline-offset: 2px;
}

/* Remove default outline, use focus-visible instead */
:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced focus for buttons */
.kf-btn:focus-visible {
    outline: 2px solid var(--kf-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(var(--kf-primary-rgb), 0.2);
}

/* Focus states for form inputs */
.kf-form-group input:focus-visible,
.kf-form-group select:focus-visible,
.kf-form-group textarea:focus-visible {
    outline: none;
    border-color: var(--kf-primary);
    box-shadow: 0 0 0 3px rgba(var(--kf-primary-rgb), 0.15);
}

/* Focus for radio buttons */
.kf-radio-label:focus-within {
    border-color: var(--kf-primary);
    box-shadow: 0 0 0 3px rgba(var(--kf-primary-rgb), 0.15);
}

/* Focus for links in navigation */
.kf-nav-menu a:focus-visible,
.kf-footer-links a:focus-visible {
    outline: 2px solid var(--kf-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Focus for service cards */
.kf-service-card:focus-within {
    box-shadow: var(--kf-shadow-lg), 0 0 0 3px rgba(var(--kf-primary-rgb), 0.2);
}

/* Focus for social icons */
.kf-footer-social a:focus-visible {
    outline: 2px solid var(--kf-primary);
    outline-offset: 2px;
}

/* Skip to content link (screen reader friendly) */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--kf-primary);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: var(--kf-border-radius);
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 1rem;
}
