/*
Theme Name: RoadLab Coaching
Theme URI: https://roadlab-coaching.at
Description: Professionelles WordPress-Theme für RoadLab Coaching – Strukturiertes Radsport-Coaching
Author: RoadLab
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: roadlab
*/

/* ============================================
   ROADLAB COACHING — "Athletic Confidence"
   Fresh Sport x Bold Modern Fusion
   ============================================ */

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

:root {
    /* Core palette */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --warm-gray: #f1f0ed;
    --cool-gray: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);

    /* Text */
    --navy: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;

    /* Accent — Coral Energy */
    --coral: #e63946;
    --coral-dark: #c62d39;
    --coral-light: #ff4d5a;
    --coral-bg: rgba(230, 57, 70, 0.06);
    --coral-bg-strong: rgba(230, 57, 70, 0.12);
    --coral-glow: 0 4px 20px rgba(230, 57, 70, 0.25);

    /* Accent — Blue Trust */
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-bg: rgba(37, 99, 235, 0.06);
    --blue-glow: 0 4px 20px rgba(37, 99, 235, 0.2);

    /* Gradient */
    --gradient-hero: linear-gradient(135deg, #e63946 0%, #2563eb 100%);
    --gradient-cta: linear-gradient(135deg, #e63946 0%, #c62d39 50%, #2563eb 100%);
    --gradient-text: linear-gradient(135deg, #e63946, #2563eb);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
    --shadow-card-hover: 0 16px 48px rgba(15, 23, 42, 0.14);

    /* Layout */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.65;
    color: var(--slate-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--coral); color: white; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin-bottom: 1rem; font-size: 1.05rem; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.btn svg { width: 18px; height: 18px; transition: var(--transition); }

.btn-primary {
    background: var(--coral);
    color: white;
    box-shadow: var(--coral-glow);
}
.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(230, 57, 70, 0.35);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-blue {
    background: var(--blue);
    color: white;
    box-shadow: var(--blue-glow);
}
.btn-blue:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.btn-white {
    background: white;
    color: var(--coral);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-white-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ===== DIAGONAL STRIPE TEXTURE ===== */
.stripe-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        currentColor 10px,
        currentColor 11px
    );
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    padding: 0.65rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--coral);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    transition: var(--transition);
}

.site-logo:hover .logo-mark { transform: rotate(0deg); }

.logo-mark svg { width: 20px; height: 20px; }

.logo-text {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 500;
    color: var(--slate-400);
}

.main-nav ul { display: flex; gap: 0.25rem; }

.main-nav a {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--slate-500);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.main-nav a:hover { color: var(--navy); background: var(--off-white); }
.main-nav a.active { color: var(--coral); background: var(--coral-bg); }

.header-cta .btn { padding: 0.6rem 1.4rem; font-size: 0.82rem; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ===== HERO ===== */
.hero {
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-accent {
    position: absolute;
    top: -10%;
    right: -8%;
    width: 55%;
    height: 120%;
    background: var(--coral);
    transform: skewX(-8deg);
    opacity: 0.04;
    pointer-events: none;
}

.hero-blob-1 {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-blob-2 {
    position: absolute;
    bottom: 5%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--coral-bg);
    border: 1px solid rgba(230, 57, 70, 0.12);
    color: var(--coral);
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}

.hero-eyebrow svg { width: 16px; height: 16px; }

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
    font-style: normal;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--slate-500);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-value {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* Hero visual */
.hero-visual {
    position: relative;
    height: 520px;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(145deg, var(--cool-gray) 0%, #e2e8f0 100%);
    position: relative;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230,57,70,0.03) 0%, rgba(37,99,235,0.03) 100%);
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-placeholder svg {
    width: 100px;
    height: 100px;
    color: var(--slate-400);
    opacity: 0.15;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        var(--navy) 20px,
        var(--navy) 21px
    );
}

/* Floating data card */
.hero-data-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    border: 1px solid var(--border);
    animation: float-card 5s ease-in-out infinite;
}

.hero-data-card.ftp {
    bottom: 15%;
    left: -24px;
}

.hero-data-card.zone {
    top: 12%;
    right: -20px;
    animation-delay: 1.5s;
}

.data-card-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--slate-400);
    margin-bottom: 0.1rem;
}

.data-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

.data-card-value small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--slate-400);
}

.data-card-dot {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-400);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-logo {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-400);
    opacity: 0.55;
    transition: var(--transition-fast);
    letter-spacing: -0.3px;
}

.trust-logo:hover { opacity: 0.85; }

.trust-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--slate-400);
    opacity: 0.4;
}

/* ===== OFFERINGS ===== */
.offerings {
    padding: 7rem 0;
    background: var(--cool-gray);
    position: relative;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-top: -40px;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.offerings-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}

.offerings-header h2 { margin-bottom: 0.75rem; }
.offerings-header p { font-size: 1.1rem; color: var(--slate-500); }

.offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.offering-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-strong);
    transition: var(--transition);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.offering-card:hover::before { background: var(--coral); }

.offering-card.featured {
    border-color: var(--coral);
    border-width: 2px;
    padding-top: 2.5rem;
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.offering-card.featured::before {
    height: 4px;
    background: var(--gradient-hero);
}

.offering-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.offering-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    font-family: 'Urbanist', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.offering-badge.coral {
    background: var(--coral-bg-strong);
    color: var(--coral);
}

.offering-badge.blue {
    background: var(--blue-bg);
    color: var(--blue);
}

.offering-badge.slate {
    background: var(--cool-gray);
    color: var(--slate-500);
}

.offering-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.offering-icon svg { width: 24px; height: 24px; }
.offering-icon.coral { background: var(--coral-bg-strong); color: var(--coral); }
.offering-icon.blue { background: var(--blue-bg); color: var(--blue); }
.offering-icon.navy { background: rgba(15,23,42,0.06); color: var(--navy); }

.offering-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.offering-card > p {
    font-size: 0.92rem;
    color: var(--slate-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.offering-features {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}

.offering-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--slate-700);
}

.offering-feature svg {
    width: 16px;
    height: 16px;
    color: var(--coral);
    flex-shrink: 0;
}

.offering-price {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.offering-price-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.offering-price-period {
    font-size: 0.85rem;
    color: var(--slate-400);
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    padding: 7rem 0;
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
    margin-top: -40px;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.philosophy .stripe-texture {
    color: white;
    opacity: 0.015;
}

.philosophy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.philosophy .section-label { color: var(--coral-light); }
.philosophy .section-label::before { background: var(--coral-light); }

.philosophy h2 { color: white; margin-bottom: 1.25rem; }

.philosophy-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pillar {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-3px);
}

.pillar-icon {
    width: 40px;
    height: 40px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.pillar-icon svg { width: 20px; height: 20px; color: var(--coral-light); }

.pillar h4 { color: white; margin-bottom: 0.25rem; font-size: 0.95rem; }
.pillar p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.5; }

/* Performance chart */
.perf-chart {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.perf-chart svg { width: 100%; height: 100%; }

/* ===== ABOUT ===== */
.about {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
}

.about-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, var(--cool-gray), #e2e8f0);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, var(--navy) 15px, var(--navy) 16px);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--slate-400);
    opacity: 0.12;
}

.experience-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--coral);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--coral-glow);
    z-index: 2;
}

.experience-badge .years {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .label-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.about h2 { margin-bottom: 1.25rem; }

.about-text {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--slate-700);
}

.credential svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; }

/* ===== KNOWLEDGE ===== */
.knowledge {
    padding: 7rem 0;
    background: var(--off-white);
}

.knowledge-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.knowledge-header-text { max-width: 500px; }
.knowledge-header h2 { margin-bottom: 0.5rem; }

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.knowledge-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.knowledge-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--cool-gray), #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.knowledge-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.knowledge-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, var(--navy) 12px, var(--navy) 13px);
    z-index: 1;
}

.knowledge-card-image svg {
    width: 40px;
    height: 40px;
    color: var(--slate-400);
    opacity: 0.2;
    position: relative;
    z-index: 1;
}

.knowledge-card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-family: 'Urbanist', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.knowledge-card-tag.guide { background: var(--coral); color: white; }
.knowledge-card-tag.article { background: var(--blue); color: white; }

.knowledge-card-body { padding: 1.5rem; }
.knowledge-card-body h4 { margin-bottom: 0.4rem; line-height: 1.3; }
.knowledge-card-body p { font-size: 0.88rem; color: var(--slate-500); margin: 0; line-height: 1.55; }

.knowledge-card-meta {
    padding: 0.85rem 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--slate-400);
    font-family: 'JetBrains Mono', monospace;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 5rem 0;
    background: var(--white);
}

.final-cta-inner {
    background: var(--coral);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-inner .stripe-texture { color: white; opacity: 0.04; }

.final-cta-content { position: relative; z-index: 1; }

.final-cta h2 { color: white; margin-bottom: 0.75rem; }

.final-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.final-cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    padding: 7rem 0;
    background: var(--off-white);
}

.contact-header {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 3.5rem;
}

.contact-header h2 { margin-bottom: 0.5rem; }

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2rem;
}

.contact-info {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    border: 1px solid var(--border);
}

.contact-info h3 { margin-bottom: 0.4rem; font-size: 1.4rem; }
.contact-info > p { color: var(--slate-500); margin-bottom: 1.75rem; }

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    background: var(--coral-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg { width: 18px; height: 18px; color: var(--coral); }

.contact-item-content h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-400);
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.contact-item-content a,
.contact-item-content p {
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0;
    font-weight: 600;
}

.contact-item-content a:hover { color: var(--coral); }

.free-call-box {
    background: var(--coral-bg);
    border: 1px solid rgba(230, 57, 70, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}

.free-call-box h4 { color: var(--coral); font-size: 0.95rem; margin-bottom: 0.25rem; }
.free-call-box p { font-size: 0.85rem; margin: 0; color: var(--slate-500); }

/* Form */
.contact-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    border: 1px solid var(--border);
}

.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }

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

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--slate-500);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--off-white);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--navy);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px var(--coral-bg);
    background: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea { min-height: 110px; resize: vertical; }

.form-submit { width: 100%; margin-top: 0.25rem; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.4); }

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    max-width: 270px;
}

.footer-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.5);
}

.footer-column ul li { margin-bottom: 0.5rem; }

.footer-column a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
}

.footer-column a:hover { color: var(--coral-light); }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.25);
    margin: 0;
    font-size: 0.8rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.footer-legal a:hover { color: var(--coral-light); }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { height: 380px; }
    .hero-data-card.ftp { left: 10px; }
    .hero-data-card.zone { right: 10px; }
    .about-inner { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-container { max-width: 360px; margin: 0 auto; }
    .philosophy-inner { grid-template-columns: 1fr; gap: 3rem; }
    .perf-chart { min-height: 300px; }
    .offerings-grid { grid-template-columns: 1fr 1fr; }
    .offering-card.featured { transform: none; }
    .offering-card.featured:hover { transform: translateY(-6px); }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        padding: 5rem 2rem;
    }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .main-nav ul { flex-direction: column; text-align: center; gap: 0; }
    .main-nav a {
        display: block;
        padding: 1rem;
        font-size: 1.3rem;
    }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }

    .hero { padding: 7rem 0 3rem; }
    .hero-visual { height: 320px; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .stat-item { flex: 1 1 40%; }

    .offerings { clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); padding-top: 6rem; padding-bottom: 6rem; }
    .offerings-grid { grid-template-columns: 1fr; }

    .philosophy { clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 calc(100% - 20px)); padding-top: 6rem; padding-bottom: 6rem; }
    .pillars { grid-template-columns: 1fr; }
    .perf-chart { display: none; }

    .knowledge-grid { grid-template-columns: 1fr; }
    .knowledge-header { flex-direction: column; align-items: flex-start; }

    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .final-cta-inner { padding: 3rem 1.5rem; }
    .final-cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .container { padding: 0 1.25rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-data-card { display: none; }
    .experience-badge { width: 80px; height: 80px; bottom: -10px; right: -10px; }
    .experience-badge .years { font-size: 1.8rem; }
}

/* WordPress admin bar fix */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
