/* ===== CORE FITNESS PT — Brutalist Dual-Mode ===== */

.img-failed {
    background: linear-gradient(145deg, #0a0a0a 0%, #2563eb 40%, #f97316 100%);
    min-height: 280px;
}

:root {
    --bg: #0a0a0a;
    --fg: #fafafa;
    --muted: #888;
    --border: #fafafa;
    --electric: #2563eb;
    --electric-bright: #3b82f6;
    --train: #f97316;
    --train-bright: #fb923c;
    --accent: var(--electric);
    --accent-bright: var(--electric-bright);
    --accent-train: var(--train);
    --accent-train-bright: var(--train-bright);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    --header-h: 72px;
    --trust-h: 36px;
    --section-border: 3px;
    --snap-sections: hero, services, contact;
}

body[data-mode="recover"] {
    --accent: var(--electric);
    --accent-bright: var(--electric-bright);
}

body[data-mode="train"] {
    --accent: var(--train);
    --accent-bright: var(--train-bright);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
}

html.snap-active {
    scroll-snap-type: y proximity;
}

.snap-section[data-snap] {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
address { font-style: normal; }

.skip-link {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ===== TRUST BAR ===== */
.trust-bar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    height: var(--trust-h);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-bottom: var(--section-border) solid var(--border);
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.trust-bar span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-bar span + span::before {
    content: '|';
    margin-right: 12px;
    color: var(--muted);
    font-weight: 400;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: var(--section-border) solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--fg);
    font-weight: 700;
    font-size: 0.75rem;
    background: var(--accent);
    color: var(--fg);
    transition: background 0.4s ease;
}

.logo-text { display: none; }

.nav-desktop {
    display: none;
    gap: 28px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-desktop a:hover { color: var(--accent-bright); }
.nav-cta {
    padding: 8px 16px;
    border: 2px solid var(--fg);
    transition: background 0.3s, color 0.3s;
}
.nav-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--fg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mode Switch */
.mode-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.mode-label {
    opacity: 0.35;
    transition: opacity 0.3s, color 0.3s;
}
.mode-label--recover.active { opacity: 1; color: var(--electric-bright); }
.mode-label--train.active { opacity: 1; color: var(--train-bright); }

.mode-track {
    position: relative;
    width: 44px;
    height: 22px;
    border: 2px solid var(--fg);
    background: var(--bg);
}

.mode-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: var(--electric);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s;
}

body[data-mode="train"] .mode-thumb {
    transform: translateX(20px);
    background: var(--train);
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px;
}
.burger span {
    display: block;
    height: 2px;
    background: var(--fg);
    transition: transform 0.3s, opacity 0.3s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: var(--section-border) solid var(--border);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #222;
}
.mobile-nav a:hover { color: var(--accent-bright); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 2px solid var(--fg);
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}
.btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--fg);
}
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}
.btn-outline {
    background: transparent;
}
.btn-full { width: 100%; text-align: center; }
.btn--confirmed {
    background: var(--electric);
    border-color: var(--electric);
}

/* ===== SECTIONS ===== */
.section-header { margin-bottom: 40px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
}
.section-sub {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + var(--trust-h) + 24px) 24px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    flex: 1;
    border: var(--section-border) solid var(--border);
    overflow: hidden;
    position: relative;
}

.hero-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(135deg, transparent 49.5%, var(--border) 49.5%, var(--border) 50.5%, transparent 50.5%);
    opacity: 0;
}

.hero-panel {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-panel__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.15);
    opacity: 0.18;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.hero-panel--recover .hero-panel__bg {
    background-image: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=900&q=80');
}

.hero-panel--train .hero-panel__bg {
    background-image: url('https://images.unsplash.com/photo-1529900748604-07564a03e7a6?auto=format&fit=crop&w=900&q=80');
}

.hero-panel__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-panel--recover .hero-panel__overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.hero-panel--train .hero-panel__overlay {
    background: linear-gradient(225deg, rgba(249, 115, 22, 0.14) 0%, transparent 55%);
}

.hero-panel--recover {
    background: var(--bg);
    border-bottom: var(--section-border) solid var(--border);
}

.hero-panel--recover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--electric);
    z-index: 2;
}

.hero-panel--train {
    background: #0d0d0d;
    align-items: flex-end;
    text-align: right;
}

.hero-panel--train::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--train);
    z-index: 2;
}

.hero-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--electric-bright);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-panel--train .hero-tag {
    color: var(--train-bright);
}

.hero-headlines {
    position: relative;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.hero-title span { display: block; }
.hero-title.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero-desc {
    max-width: 420px;
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}
.hero-desc--right { margin-left: auto; }

.skeleton-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    pointer-events: none;
    width: 180px;
    z-index: 0;
}

.skeleton-svg {
    width: 100%;
    color: var(--fg);
}

.joint {
    fill: transparent;
    transition: fill 0.5s ease, stroke 0.5s ease;
}

body[data-mode="recover"] .joint-spine,
body[data-mode="recover"] .joint-shoulder-l,
body[data-mode="recover"] .joint-shoulder-r {
    fill: var(--electric-bright);
    stroke: var(--electric-bright);
    opacity: 0.85;
}

body[data-mode="train"] .joint-hip-l,
body[data-mode="train"] .joint-hip-r,
body[data-mode="train"] .joint-knee-l,
body[data-mode="train"] .joint-knee-r {
    fill: var(--train);
    stroke: var(--train);
    opacity: 0.85;
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.scroll-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.5); opacity: 0.4; }
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: var(--section-border) solid var(--border);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: var(--section-border) solid var(--border);
    padding-bottom: 16px;
}

.filter-tab {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.filter-tab:hover { border-color: var(--muted); }
.filter-tab.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--fg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    border: var(--section-border) solid var(--border);
    padding: 28px 24px;
    position: relative;
    background: var(--bg);
    transition: border-color 0.3s, transform 0.2s;
}
.service-card:hover {
    border-color: var(--accent-bright);
    transform: translate(-2px, -2px);
}
.service-card.hidden { display: none; }

.card-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-bright);
    margin-bottom: 12px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border: 1px solid var(--muted);
    color: var(--muted);
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 24px;
    border-top: var(--section-border) solid var(--border);
    border-bottom: var(--section-border) solid var(--border);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    border: var(--section-border) solid var(--border);
}
.about-image-frame {
    position: absolute;
    inset: 12px -12px -12px 12px;
    border: var(--section-border) solid var(--accent);
    pointer-events: none;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 12px;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
    list-style: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.about-stats strong {
    display: block;
    font-size: 2rem;
    color: var(--accent-bright);
    line-height: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: var(--section-border) solid var(--border);
}

.carousel-wrap {
    position: relative;
}

.carousel-wrap::before,
.carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 32px;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.carousel-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.carousel-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 16px;
    cursor: grab;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 12px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; user-select: none; }

.testimonial-card {
    flex: 0 0 calc(100% - 32px);
    scroll-snap-align: center;
    border: var(--section-border) solid var(--border);
    border-top: 4px solid var(--accent);
    padding: 36px 28px 32px;
    background: #0d0d0d;
    min-height: 220px;
    position: relative;
    transition: border-top-color 0.4s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.35;
    transition: color 0.4s ease;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    padding-top: 16px;
    border-top: 1px solid #222;
}
.testimonial-card cite {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.testimonial-card footer span { color: var(--muted); }

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 36px;
    height: 4px;
    background: #2a2a2a;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.dot:hover { background: #444; }
.dot.active {
    background: var(--accent);
    transform: scaleY(1.5);
}

/* ===== PROCESS ===== */
.process {
    padding: 80px 24px;
    border-top: var(--section-border) solid var(--border);
    max-width: 1400px;
    margin: 0 auto;
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: var(--section-border) solid #1a1a1a;
    align-items: start;
}

.step-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--accent-bright);
    -webkit-text-stroke: 2px var(--fg);
    paint-order: stroke fill;
}

.step-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.step-body p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 24px;
    border-top: var(--section-border) solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: var(--section-border) solid #1a1a1a;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.faq-trigger:hover { color: var(--accent-bright); }

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--fg);
    position: relative;
    transition: background 0.3s, border-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--fg);
    transition: transform 0.3s, background 0.3s;
}
.faq-icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}
.faq-icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
}
.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-panel {
    overflow: hidden;
}
.faq-panel p {
    color: var(--muted);
    font-size: 0.9rem;
    padding-bottom: 20px;
    line-height: 1.6;
}

/* ===== CONTACT / BOOK ===== */
.contact {
    padding: 80px 24px;
    border-top: var(--section-border) solid var(--border);
    min-height: 80vh;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-lead {
    color: var(--muted);
    margin-bottom: 28px;
}

.contact-details p { margin-bottom: 8px; }
.contact-details a:hover { color: var(--accent-bright); }

.contact-hours {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--muted);
}
.contact-hours p { margin-bottom: 4px; }

.contact-form {
    border: var(--section-border) solid var(--border);
    padding: 32px 24px;
    background: #0d0d0d;
}

.form-row {
    margin-bottom: 20px;
}

.form-row--half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 22px 14px 8px;
    background: var(--bg);
    border: 2px solid #2a2a2a;
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
}

.form-field textarea {
    padding-top: 26px;
    min-height: 120px;
    resize: vertical;
}

.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23fafafa' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-field input[type="date"] {
    color-scheme: dark;
}

.form-field input[type="date"] + label {
    top: 6px;
    font-size: 0.58rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.form-field label {
    position: absolute;
    left: 14px;
    top: 16px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label,
.form-field.is-filled label {
    top: 6px;
    font-size: 0.58rem;
    color: var(--accent-bright);
}

.form-field select:invalid + label {
    top: 16px;
    font-size: 0.7rem;
    color: var(--muted);
}

.form-status {
    margin-top: 16px;
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.25em;
}
.form-status.success { color: var(--electric-bright); }
.form-status.error { color: #f87171; }
.form-status.loading { color: var(--muted); }

/* ===== FOOTER ===== */
.site-footer {
    border-top: var(--section-border) solid var(--border);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-brand-badges {
    margin-top: 24px;
    width: 100%;
    max-width: 280px;
}

/* Trustpilot — same base as .btn-primary */
.tp-review-collector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.45rem;
    flex-wrap: wrap;
    text-transform: none;
    letter-spacing: 0.02em;
}

.tp-review-collector__logo {
    display: block;
    width: 88px;
    height: 22px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-links a:hover { color: var(--accent-bright); }

.footer-legal {
    font-size: 0.75rem;
    color: #555;
}
.footer-legal p { margin-bottom: 4px; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-ready .hero-panel,
.reveal-ready .service-card,
.reveal-ready .process-step,
.reveal-ready .about-content,
.reveal-ready .testimonial-card {
    opacity: 0;
    transform: translateY(24px);
}

.no-motion .reveal-ready .hero-panel,
.no-motion .reveal-ready .service-card,
.no-motion .reveal-ready .process-step,
.no-motion .reveal-ready .about-content,
.no-motion .reveal-ready .testimonial-card {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .logo-text { display: block; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card { flex: 0 0 calc(50% - 8px); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process-step { border-bottom: none; border: var(--section-border) solid #1a1a1a; padding: 24px; }
    .form-row--half { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .burger { display: none; }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-grid::after { opacity: 1; }
    .hero-panel--recover { border-bottom: none; border-right: var(--section-border) solid var(--border); }
    .hero-panel { padding: 48px 40px; }
    .hero-panel__bg { opacity: 0.22; }

    .about-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
    .footer-inner { grid-template-columns: 1fr auto auto; align-items: start; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-card { flex: 0 0 calc(33.333% - 11px); }
    .carousel-wrap::before,
    .carousel-wrap::after { width: 80px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html.snap-active { scroll-snap-type: none; }
    .scroll-line { animation: none; }
}
