/*
Theme Name: John Ortiz Developer
Theme URI: https://www.johnortiz.es
Description: Tema profesional para John Ortiz - Fotógrafo deportivo. Child theme de Flatsome con diseño cinematográfico.
Author: Developer
Template: flatsome
Version: 1.0.0
Text Domain: johnortiz
*/

/* ========== IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #0f0f0f;
    --color-surface: #161616;
    --color-surface-hover: #1e1e1e;
    --color-accent: #c8a44e;
    --color-accent-light: #e2c675;
    --color-accent-dark: #9a7d3a;
    --color-text: #ffffff;
    --color-text-secondary: #888888;
    --color-text-muted: #555555;
    --color-border: #222222;
    --color-overlay: rgba(0, 0, 0, 0.6);
    --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-dramatic: cubic-bezier(0.77, 0, 0.175, 1);
    --header-height: 80px;
    --section-padding: clamp(80px, 10vw, 140px);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.jo-theme {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Hide Flatsome default header/footer on front page */
body.jo-theme .header-wrapper,
body.jo-theme #wrapper>.header-main,
body.jo-theme .footer-wrapper,
body.jo-theme .absolute-footer,
body.jo-theme #wrapper {
    background: transparent;
}

body.jo-theme .header-wrapper {
    display: none;
}

body.jo-theme .footer-wrapper,
body.jo-theme .absolute-footer {
    display: none;
}

body.jo-theme img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.jo-theme a {
    color: inherit;
    text-decoration: none;
}

body.jo-theme h1,
body.jo-theme h2,
body.jo-theme h3,
body.jo-theme h4,
body.jo-theme h5,
body.jo-theme h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* ========== CUSTOM CURSOR ========== */
.jo-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s var(--transition-smooth), opacity 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.jo-cursor.is-active {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(200, 164, 78, 0.1);
    border-color: var(--color-accent-light);
}

@media (hover: none) {
    .jo-cursor {
        display: none;
    }
}

/* ========== CUSTOM NAVIGATION ========== */
.jo-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0 clamp(20px, 4vw, 60px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s var(--transition-smooth);
}

.jo-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}

.jo-nav__logo {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    letter-spacing: 0.15em;
    color: var(--color-text);
    position: relative;
}

.jo-nav__logo span {
    color: var(--color-accent);
}

.jo-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    list-style: none;
}

.jo-nav__links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: color 0.3s;
    position: relative;
}

.jo-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--transition-smooth);
}

.jo-nav__links a:hover {
    color: var(--color-text);
}

.jo-nav__links a:hover::after {
    width: 100%;
}

.jo-nav__cta {
    padding: 10px 28px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.2em !important;
    transition: all 0.4s var(--transition-smooth) !important;
}

.jo-nav__cta:hover {
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
}

.jo-nav__cta::after {
    display: none !important;
}

/* Hamburger */
.jo-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.jo-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.4s var(--transition-smooth);
    transform-origin: center;
}

.jo-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.jo-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.jo-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.jo-mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--transition-smooth);
}

.jo-mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.jo-mobile-menu a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.jo-mobile-menu a:hover {
    color: var(--color-accent);
    transform: translateX(10px);
}

/* ========== HERO SECTION ========== */
.jo-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jo-hero__bg {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    background-size: cover;
    background-position: center;
    animation: rotateSky 180s linear infinite;
    will-change: transform;
}

@keyframes rotateSky {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.jo-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.5) 80%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.jo-hero__vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.jo-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.jo-hero__label {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s var(--transition-smooth) 0.3s forwards;
}

.jo-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: 0.08em;
    line-height: 0.95;
    margin-bottom: 20px;
    overflow: hidden;
}

.jo-hero__title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    animation: heroCharReveal 0.8s var(--transition-dramatic) forwards;
}

@keyframes heroCharReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.jo-hero__subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s var(--transition-smooth) 1.2s forwards;
}

.jo-hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s var(--transition-smooth) 1.5s forwards;
}

@keyframes heroRevealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.jo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.jo-btn--primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.jo-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.jo-btn--primary:hover::before {
    left: 100%;
}

.jo-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(200, 164, 78, 0.3);
}

.jo-btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.jo-btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.jo-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: heroRevealUp 1s var(--transition-smooth) 2s forwards;
}

.jo-hero__scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.jo-hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.5);
        transform-origin: top;
    }
}

/* ========== SECTION COMMON ========== */
.jo-section {
    padding: var(--section-padding) clamp(20px, 5vw, 80px);
    position: relative;
}

.jo-section__header {
    text-align: center;
    margin-bottom: clamp(50px, 6vw, 80px);
}

.jo-section__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 15px;
    display: block;
}

.jo-section__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 0.05em;
}

.jo-section__title span {
    color: var(--color-accent);
}

.jo-section__line {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 25px auto 0;
}

/* Scroll Animations */
.jo-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.jo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.jo-reveal--left {
    transform: translateX(-80px);
}

.jo-reveal--left.is-visible {
    transform: translateX(0);
}

.jo-reveal--right {
    transform: translateX(80px);
}

.jo-reveal--right.is-visible {
    transform: translateX(0);
}

.jo-reveal--scale {
    transform: scale(0.85);
}

.jo-reveal--scale.is-visible {
    transform: scale(1);
}

.jo-reveal--blur {
    filter: blur(10px);
}

.jo-reveal--blur.is-visible {
    filter: blur(0);
    transition: opacity 0.8s, transform 0.8s, filter 1s;
}

/* Stagger delays */
.jo-stagger-1 {
    transition-delay: 0.1s !important;
}

.jo-stagger-2 {
    transition-delay: 0.2s !important;
}

.jo-stagger-3 {
    transition-delay: 0.3s !important;
}

.jo-stagger-4 {
    transition-delay: 0.4s !important;
}

.jo-stagger-5 {
    transition-delay: 0.5s !important;
}

/* ========== SERVICES ========== */
.jo-services {
    background: var(--color-bg);
}

.jo-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.jo-service-card {
    position: relative;
    padding: 50px 35px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--transition-smooth);
    overflow: hidden;
}

.jo-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transition: transform 0.6s var(--transition-smooth);
}

.jo-service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(200, 164, 78, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.jo-service-card:hover::before {
    transform: scaleX(1);
}

.jo-service-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    color: var(--color-accent);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jo-service-card__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-accent);
    stroke-width: 1.5;
    fill: none;
}

.jo-service-card__title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.jo-service-card__text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ========== ABOUT ========== */
.jo-about {
    background: var(--color-bg-alt);
}

.jo-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.jo-about__image-wrap {
    position: relative;
    overflow: hidden;
}

.jo-about__image-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    z-index: 0;
    transition: all 0.6s var(--transition-smooth);
}

.jo-about__image-wrap:hover::before {
    top: -10px;
    left: -10px;
}

.jo-about__image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.6s var(--transition-smooth);
}

.jo-about__image-wrap:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.jo-about__content {
    position: relative;
}

.jo-about__text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.jo-about__text strong {
    color: var(--color-text);
    font-weight: 600;
}

.jo-about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.jo-stat {
    border-left: 1px solid var(--color-accent);
    padding-left: 20px;
}

.jo-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.jo-stat__label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========== PORTFOLIO ========== */
.jo-portfolio {
    background: var(--color-bg);
}

.jo-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.jo-portfolio__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.jo-portfolio__item:nth-child(1) {
    grid-row: span 2;
    aspect-ratio: auto;
}

.jo-portfolio__item:nth-child(4) {
    grid-column: span 2;
}

.jo-portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth), filter 0.5s;
}

.jo-portfolio__item:hover img {
    transform: scale(1.08);
    filter: brightness(0.5);
}

.jo-portfolio__item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
}

.jo-portfolio__item:hover .jo-portfolio__item-overlay {
    opacity: 1;
}

.jo-portfolio__item-cat {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.5s var(--transition-smooth) 0.1s;
}

.jo-portfolio__item:hover .jo-portfolio__item-cat {
    transform: translateY(0);
}

.jo-portfolio__item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    transform: translateY(20px);
    transition: transform 0.5s var(--transition-smooth) 0.15s;
}

.jo-portfolio__item:hover .jo-portfolio__item-title {
    transform: translateY(0);
}

.jo-portfolio__cta {
    text-align: center;
    margin-top: 50px;
}

/* ========== CLIENTS ========== */
.jo-clients {
    background: var(--color-bg-alt);
    overflow: hidden;
}

.jo-clients__track {
    display: flex;
    gap: 80px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.jo-clients__track img {
    height: 50px;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.5;
    transition: all 0.4s;
}

.jo-clients__track img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== CONTACT ========== */
.jo-contact {
    background: var(--color-bg);
}

.jo-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    max-width: 1100px;
    margin: 0 auto;
}

.jo-contact__info h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.jo-contact__info p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.jo-contact__detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.jo-contact__detail svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.jo-contact__social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.jo-contact__social a {
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
}

.jo-contact__social a:hover {
    border-color: var(--color-accent);
    background: rgba(200, 164, 78, 0.1);
    transform: translateY(-3px);
}

.jo-contact__social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-secondary);
    transition: fill 0.3s;
}

.jo-contact__social a:hover svg {
    fill: var(--color-accent);
}

/* Contact Form */
.jo-contact__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.jo-form-group {
    position: relative;
}

.jo-form-group input,
.jo-form-group textarea,
.jo-contact__form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.jo-form-group input:focus,
.jo-form-group textarea:focus {
    background: rgba(255, 255, 255, 0.07);
}

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

.jo-form-group input:focus,
.jo-form-group textarea:focus {
    border-bottom-color: var(--color-accent);
}

.jo-form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s var(--transition-smooth);
}

.jo-form-group input:focus~label,
.jo-form-group input:not(:placeholder-shown)~label,
.jo-form-group textarea:focus~label,
.jo-form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

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

/* CF7 Form Styling */
.jo-contact__form .wpcf7 {
    width: 100%;
}

.jo-contact__form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.jo-contact__form .wpcf7-form p {
    margin: 0;
}

.jo-contact__form .wpcf7-submit {
    align-self: flex-start;
    padding: 16px 50px;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.jo-contact__form .wpcf7-submit:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(200, 164, 78, 0.3);
}

/* ========== FOOTER ========== */
.jo-footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 60px clamp(20px, 5vw, 80px) 30px;
}

.jo-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.jo-footer__brand p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-top: 15px;
}

.jo-footer__col h4 {
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: var(--color-text);
}

.jo-footer__col ul {
    list-style: none;
}

.jo-footer__col li {
    margin-bottom: 10px;
}

.jo-footer__col a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.jo-footer__col a:hover {
    color: var(--color-accent);
}

.jo-footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========== PORTFOLIO ARCHIVE ========== */
.jo-archive-hero {
    padding: calc(var(--header-height) + 60px) clamp(20px, 5vw, 80px) 60px;
    background: var(--color-bg);
    text-align: center;
}

.jo-archive-hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: 0.08em;
}

.jo-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 0 20px;
}

.jo-filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.jo-filter-btn:hover,
.jo-filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(200, 164, 78, 0.08);
}

.jo-masonry {
    columns: 3;
    column-gap: 15px;
    padding: 0 clamp(20px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
}

.jo-masonry__item {
    break-inside: avoid;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.jo-masonry__item img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

.jo-masonry__item:hover img {
    transform: scale(1.05);
}

.jo-masonry__item-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s;
}

.jo-masonry__item:hover .jo-masonry__item-info {
    opacity: 1;
}

/* ========== SINGLE PORTFOLIO ========== */
.jo-single-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.jo-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jo-single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--color-bg) 0%, transparent 50%);
}

.jo-single-content {
    max-width: 900px;
    margin: -100px auto 0;
    padding: 0 clamp(20px, 5vw, 80px) var(--section-padding);
    position: relative;
    z-index: 2;
}

.jo-single-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 15px;
}

.jo-single-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.jo-single-meta span strong {
    color: var(--color-accent);
    margin-right: 8px;
}

.jo-single-body {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text-secondary);
}

.jo-single-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.jo-single-gallery img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.4s;
}

.jo-single-gallery img:hover {
    transform: scale(1.02);
}

/* ========== LIGHTBOX ========== */
.jo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    cursor: zoom-out;
}

.jo-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.jo-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s var(--transition-smooth);
}

.jo-lightbox.active img {
    transform: scale(1);
}

.jo-lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    font-size: 1.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .jo-portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jo-portfolio__item:nth-child(1) {
        grid-row: span 1;
    }

    .jo-portfolio__item:nth-child(4) {
        grid-column: span 1;
    }

    .jo-masonry {
        columns: 2;
    }

    .jo-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .jo-nav__links {
        display: none;
    }

    .jo-hamburger {
        display: flex;
    }

    .jo-about__grid {
        grid-template-columns: 1fr;
    }

    .jo-contact__grid {
        grid-template-columns: 1fr;
    }

    .jo-portfolio__grid {
        grid-template-columns: 1fr 1fr;
    }

    .jo-hero__title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .jo-footer__grid {
        grid-template-columns: 1fr;
    }

    .jo-footer__bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .jo-single-gallery {
        grid-template-columns: 1fr;
    }

    .jo-about__stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .jo-masonry {
        columns: 1;
    }

    .jo-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .jo-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ========== PAGE TRANSITIONS ========== */
.jo-page-transition {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 100000;
    transform: scaleY(1);
    transform-origin: top;
    animation: pageReveal 0.8s var(--transition-dramatic) 0.2s forwards;
}

@keyframes pageReveal {
    to {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ========== PROCESS/WORKFLOW ========== */
.jo-process {
    background: var(--color-bg-alt);
}

.jo-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.jo-process__grid::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent), transparent);
    opacity: 0.3;
}

.jo-process__step {
    text-align: center;
    position: relative;
}

.jo-process__number {
    width: 70px;
    height: 70px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin: 0 auto 25px;
    background: var(--color-bg-alt);
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.jo-process__step:hover .jo-process__number {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.1);
}

.jo-process__step h4 {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.jo-process__step p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .jo-process__grid {
        grid-template-columns: 1fr 1fr;
    }

    .jo-process__grid::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .jo-process__grid {
        grid-template-columns: 1fr;
    }
}