/**
 * custom.css — John Mattes Theme
 * Pixel-perfect Guardity-matched styles + Elementor override layer.
 *
 * @package john-mattes-theme
 * Colors: --jm-bg:#0a0a0a | --jm-blue:#0d4ed1 | --jm-bg-card:#1f1f1f
 * Fonts:  Anton (headings), Inter (body)
 */

/* ============================================================
   CRITICAL: ELEMENTOR GLOBAL TYPOGRAPHY OVERRIDES
   The Elementor kit (post-128.css) forces h1=240px, h2=75px.
   These rules beat that via !important.
   ============================================================ */
.jm-hero-headline{font-size:clamp(28px,3.2vw,46px)!important;line-height:1.1!important;font-weight:400!important;}
.jm-section-title{font-size:clamp(24px,2.8vw,42px)!important;line-height:1.1!important;font-weight:400!important;}
.jm-blog-card-title{font-size:18px!important;line-height:1.25!important;font-weight:400!important;}
.jm-team-card-name{font-size:16px!important;}
.jm-team-center-block h3,.jm-booking-card h3{font-size:22px!important;}
.jm-stat-card-num{font-size:clamp(42px,4vw,62px)!important;}
.jm-hero-stat-num{font-size:28px!important;}
.jm-cta-bigtext .line1,.jm-cta-bigtext .line2{font-size:clamp(38px,6.5vw,100px)!important;line-height:0.9!important;}
.jm-hero-bigtext-line1,.jm-hero-bigtext-line2{font-size:clamp(60px,11vw,170px)!important;}
.jm-footer-col h4{font-size:13px!important;}
.jm-header-logo a{font-size:20px!important;}

/* ============================================================
   MOBILE NAV — use transform, not right, to avoid left:0 bug
   ============================================================ */
.jm-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto !important;
    transform: translateX(105%);
    width: min(320px, 85vw);
    height: 100vh;
    background: #111;
    z-index: 1005;
    padding: 80px 32px 40px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}
.jm-mobile-nav.open { transform: translateX(0); }

.jm-mobile-nav a {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.2s;
    display: block;
}
.jm-mobile-nav a:hover { color: #0d4ed1; }

.jm-mobile-nav .jm-mobile-cta {
    margin-top: 24px;
    background: #0d4ed1;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-bottom: none !important;
}

.jm-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.jm-mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   ELEMENTOR RESETS
   ============================================================ */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
    padding: 0;
}
.elementor-widget-html { font-size: inherit !important; }
.elementor-widget-html h1, .elementor-widget-html h2, .elementor-widget-html h3 {
    font-family: 'Anton', sans-serif !important;
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
.jm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}
body.admin-bar .jm-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .jm-header { top: 46px; } }

.jm-header.scrolled {
    background: rgba(10,10,10,0.97);
    padding: 12px 40px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.jm-header-logo a {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
.jm-header-logo a span { color: #0d4ed1; }

.jm-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.jm-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.jm-nav a:hover, .jm-nav a.active { color: #fff; }

.jm-header-cta { display: flex; align-items: center; gap: 14px; }

.jm-header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d4ed1;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}
.jm-header-cta-btn:hover { background: #0b3faa; transform: translateY(-1px); }

.jm-header-dots {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 4px;
    cursor: pointer;
    opacity: 0.6;
}
.jm-header-dots span {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #fff;
    display: block;
}

.jm-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1010;
}
.jm-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}
.jm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jm-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.jm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.jm-hero {
    position: relative;
    min-height: 100vh;
    background: #0a0a0a;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.jm-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(5,10,30,0.82) 0%, rgba(5,10,30,0.55) 50%, rgba(5,10,30,0.72) 100%);
    z-index: 1;
}
.jm-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 60px;
    display: grid;
    grid-template-columns: 1fr auto 340px;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 75px);
}

.jm-hero-left { display: flex; flex-direction: column; gap: 24px; }

.jm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13,78,209,0.15);
    border: 1px solid rgba(13,78,209,0.4);
    border-radius: 100px;
    padding: 8px 18px 8px 12px;
    width: fit-content;
}
.jm-hero-badge-dot {
    width: 8px; height: 8px;
    background: #0d4ed1;
    border-radius: 50%;
    animation: jmPulse 2s infinite;
    flex-shrink: 0;
}
@keyframes jmPulse {
    0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(13,78,209,.4);}
    50%{opacity:.7;transform:scale(.85);box-shadow:0 0 0 6px rgba(13,78,209,0);}
}
.jm-hero-badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0d4ed1;
}

.jm-hero-headline {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px,3.2vw,46px) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em;
    color: #fff !important;
    text-transform: uppercase;
    margin: 0;
}
.jm-hero-headline .blue { color: #0d4ed1; }

.jm-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 380px;
    margin: 0;
}

.jm-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.jm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0d4ed1;
    color: #fff !important;
    font-family: 'Anton', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.jm-btn-primary:hover { background: #0b3faa; transform: translateY(-2px); }

.jm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.jm-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* Hero center portrait */
.jm-hero-center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
}
.jm-hero-portrait-wrap { position: relative; width: 320px; }
.jm-hero-portrait {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(13,78,209,0.3));
}

/* Rotating badge */
.jm-hero-rotating-badge {
    position: absolute;
    bottom: 30px;
    right: -50px;
    width: 130px;
    height: 130px;
    z-index: 3;
}
.jm-hero-rotating-badge svg {
    animation: jmRotateSVG 12s linear infinite;
    width: 100%;
    height: 100%;
}
@keyframes jmRotateSVG { from{transform:rotate(0deg);}to{transform:rotate(360deg);} }

.jm-rotating-text {
    font-family: 'Anton', sans-serif;
    font-size: 10px;
    fill: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.jm-rotating-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 44px; height: 44px;
    background: #0d4ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

/* Hero right stats */
.jm-hero-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}
.jm-hero-stat-block { display: flex; flex-direction: column; gap: 4px; }
.jm-hero-stat-num {
    font-family: 'Anton', sans-serif;
    font-size: 42px !important;
    color: #fff;
    line-height: 1;
}
.jm-hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.jm-hero-divider {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

/* Hero big background text */
.jm-hero-bigtext {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    line-height: 0.85;
    overflow: hidden;
}
.jm-hero-bigtext-line1 {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(60px,11vw,170px) !important;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.12);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.jm-hero-bigtext-line2 {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(60px,11vw,170px) !important;
    color: rgba(255,255,255,0.06);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.jm-marquee-section {
    background: #0d4ed1;
    overflow: hidden;
    padding: 14px 0;
}
.jm-marquee-track {
    display: flex;
    width: max-content;
    animation: jmMarquee 28s linear infinite;
}
@keyframes jmMarquee { from{transform:translateX(0);}to{transform:translateX(-50%);} }
.jm-marquee-track:hover { animation-play-state: paused; }

.jm-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 20px;
    font-family: 'Anton', sans-serif;
    font-size: 14px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}
.jm-marquee-sep {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.jm-about {
    background: #0a0a0a;
    padding: 100px 40px;
    overflow: hidden;
}
.jm-about-inner { max-width: 1300px; margin: 0 auto; }

.jm-about-heading-row {
    margin-bottom: 60px;
}
.jm-about-full-heading {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px,3.5vw,52px) !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.0;
}

.jm-about-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* About images */
.jm-about-images-wrap { display: flex; flex-direction: column; gap: 20px; }
.jm-about-images-grid {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
}
.jm-elite-strip {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Anton', sans-serif;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    background: #0d4ed1;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
}
.jm-about-img-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 0 8px 8px 0;
}
.jm-about-secondary-stack {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 38%;
}
.jm-about-img-sm {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid #0a0a0a;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* About rating */
.jm-about-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    width: fit-content;
}
.jm-about-rating-avatars {
    display: flex;
    align-items: center;
}
.jm-about-rating-avatars img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #0a0a0a;
    margin-right: -8px;
    object-fit: cover;
}
.jm-about-rating-plus {
    width: 32px; height: 32px;
    background: #0d4ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-right: 0;
    margin-left: -8px;
    border: 2px solid #0a0a0a;
    flex-shrink: 0;
}
.jm-about-rating strong {
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    color: #fff;
    display: block;
}
.jm-about-rating span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    display: block;
}

/* About right */
.jm-about-right { display: flex; flex-direction: column; gap: 20px; }
.jm-about-bio {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.jm-about-learn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d4ed1;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
}
.jm-about-learn-link:hover { gap: 12px; }

/* ============================================================
   STATS + BOOKING
   ============================================================ */
.jm-stats-booking { background: #0a0a0a; padding: 0 40px 80px; }
.jm-stats-booking-inner { max-width: 1300px; margin: 0 auto; }
.jm-stats-card-group {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

/* Left column: two small stat cards + explore card */
.jm-stats-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.jm-stat-card {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s;
}
.jm-stat-card:hover { transform: translateY(-3px); }
.jm-stat-card.blue { background: #0d4ed1; }

.jm-stat-card-num {
    font-family: 'Anton', sans-serif;
    font-size: clamp(42px,4vw,62px) !important;
    color: #fff;
    line-height: 1;
}
.jm-stat-card-sublabel {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.6);
}
.jm-stat-card.blue .jm-stat-card-sublabel { color: rgba(255,255,255,0.75); }
.jm-stat-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    margin-top: 6px;
}

/* Explore card */
.jm-stats-explore-card {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    grid-column: 1;
}
.jm-stats-explore-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.jm-stats-explore-avatars {
    display: flex;
    align-items: center;
}
.jm-stats-explore-avatars img {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    margin-right: -8px;
    object-fit: cover;
}
.jm-stats-explore-btn {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.jm-stats-explore-btn:hover { background: #0d4ed1; border-color: #0d4ed1; color: #fff; }

/* Booking card */
.jm-booking-card-wrap {
    grid-column: 2;
    grid-row: 1 / 3;
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}
.jm-booking-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jm-booking-card-content {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.jm-services { background: #0f0f0f; padding: 100px 40px; }
.jm-services-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: start;
}
.jm-services-list-col { display: flex; flex-direction: column; }
.jm-services-header { margin-bottom: 36px; }

.jm-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0d4ed1;
}
.jm-section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #0d4ed1;
}

.jm-service-list { list-style: none; margin: 0; padding: 0; }
.jm-service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    text-decoration: none;
    transition: padding-left 0.25s;
}
.jm-service-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.jm-service-item:hover { padding-left: 6px; }
.jm-service-item:hover .jm-service-name { color: #fff; }
.jm-service-item:hover .jm-service-arrow { background: #0d4ed1; border-color: #0d4ed1; color: #fff; }

.jm-service-num {
    font-family: 'Anton', sans-serif;
    font-size: 11px;
    color: #0d4ed1;
    letter-spacing: 1px;
    flex-shrink: 0;
    min-width: 28px;
}
.jm-service-name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(15px,1.6vw,20px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    flex: 1;
    transition: color 0.25s;
}
.jm-service-arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.25s;
}

/* Services media */
.jm-services-media { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.jm-services-video-card { position: relative; border-radius: 14px; overflow: hidden; background: #1a1a1a; }
.jm-services-video-card img { width: 100%; height: 340px; object-fit: cover; display: block; }
.jm-services-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

/* ============================================================
   VIDEO PLAY BUTTON
   ============================================================ */
.jm-video-play-btn {
    width: 64px; height: 64px;
    background: #0d4ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    border: none;
    box-shadow: 0 8px 30px rgba(13,78,209,0.5);
    padding-left: 3px;
}
.jm-video-play-btn:hover { transform: scale(1.1); background: #0b3faa; }

/* ============================================================
   PARTNERS
   ============================================================ */
.jm-partners {
    background: linear-gradient(135deg, #030c1e 0%, #0d0d20 50%, #030c1e 100%);
    padding: 50px 40px;
}
.jm-partners-inner { max-width: 1200px; margin: 0 auto; }
.jm-partners-label {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 36px;
}
.jm-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}
.jm-partner-logo {
    height: 36px;
    width: auto;
    opacity: 0.45;
    filter: brightness(10);
    transition: all 0.3s;
    object-fit: contain;
}
.jm-partner-logo:hover { opacity: 0.85; }

/* Old text-only partner names (fallback) */
.jm-partner-name {
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #aaa;
    text-transform: uppercase;
    opacity: 0.4;
    transition: all 0.3s;
}
.jm-partner-name:hover { opacity: 0.8; color: #fff; }

/* ============================================================
   TRUST
   ============================================================ */
.jm-trust { background: #0a0a0a; padding: 100px 40px; }
.jm-trust-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Trust images mosaic */
.jm-trust-images-col {}
.jm-trust-images-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 14px;
    align-items: start;
}
.jm-trust-img-tall { position: relative; display: flex; flex-direction: column; gap: 12px; }
.jm-trust-img-tall > img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
}
.jm-trust-img-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jm-trust-small-card {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.jm-trust-small-card.blue { background: #0d4ed1; }
.jm-trust-small-card a { text-decoration: none; }

.jm-trust-img-right-stack { display: flex; flex-direction: column; gap: 12px; }
.jm-trust-img-right-stack > img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}
.jm-trust-rating-badge {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.jm-trust-rating-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.jm-trust-rating-avatars img {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    margin-right: -7px;
    object-fit: cover;
}
.jm-trust-rating-avatars span {
    width: 28px; height: 28px;
    background: #0d4ed1;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-left: -7px;
    flex-shrink: 0;
}

/* Trust right */
.jm-trust-right { display: flex; flex-direction: column; gap: 22px; }
.jm-trust-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
}
.jm-checklist {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.jm-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}
.jm-checklist li::before {
    content: '';
    width: 20px; height: 20px;
    background: rgba(13,78,209,0.2);
    border: 1px solid rgba(13,78,209,0.5);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230d4ed1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.jm-testimonials { background: #0f0f0f; padding: 100px 40px; }
.jm-testimonials-inner { max-width: 1300px; margin: 0 auto; }
.jm-testimonials-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 20px;
    flex-wrap: wrap;
}
.jm-testimonials-arrow {
    width: 56px; height: 56px;
    background: #0d4ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
}
.jm-testimonials-arrow:hover { background: #0b3faa; transform: scale(1.08); }

.jm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.jm-testimonial-card {
    background: #1a1a1a;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid rgba(255,255,255,0.06);
}
.jm-testimonial-card:hover { transform: translateY(-4px); border-color: rgba(13,78,209,0.3); }

.jm-testimonial-quote-icon {
    font-size: 72px;
    color: #0d4ed1;
    line-height: 0.7;
    font-family: Georgia, serif;
    font-weight: bold;
}
.jm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.jm-testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(13,78,209,0.4);
}
.jm-testimonial-name {
    font-family: 'Anton', sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: block;
}
.jm-testimonial-role {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: block;
}
.jm-testimonial-stars {
    display: flex;
    gap: 3px;
    font-size: 13px;
    color: #f59e0b;
}
.jm-testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    flex: 1;
}

/* ============================================================
   TEAM
   ============================================================ */
.jm-team { background: #0a0a0a; padding: 100px 40px; }
.jm-team-inner { max-width: 1300px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.jm-team-row1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jm-team-row2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.jm-team-row3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 66.66%; }

.jm-team-card {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}
.jm-team-card:hover { transform: translateY(-4px); }
.jm-team-card-img {
    width: 100%; height: 260px;
    object-fit: cover;
    display: block;
    background: #2a2a2a;
}
.jm-team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 55%);
    pointer-events: none;
}
.jm-team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
}
.jm-team-card-name {
    font-family: 'Anton', sans-serif;
    font-size: 16px !important;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
}
.jm-team-card-role {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

/* Team center block */
.jm-team-center-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.jm-team-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(13,78,209,0.1);
    border: 1px solid rgba(13,78,209,0.4);
    border-radius: 100px;
    padding: 12px 18px;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    letter-spacing: 0.3px;
}
.jm-team-explore-btn:hover { background: #0d4ed1; border-color: #0d4ed1; color: #fff; }

/* ============================================================
   BLOG
   ============================================================ */
.jm-blog { background: #0a0a0a; padding: 100px 40px; }
.jm-blog-inner { max-width: 1300px; margin: 0 auto; }
.jm-blog-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 50px;
}
.jm-blog-header-left {}
.jm-blog-header-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.jm-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.jm-blog-card {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.06);
}
.jm-blog-card:hover { transform: translateY(-5px); }
.jm-blog-card-img-wrap { overflow: hidden; }
.jm-blog-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.jm-blog-card:hover .jm-blog-card-img { transform: scale(1.04); }

.jm-blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.jm-blog-card-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.jm-blog-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 4px 10px;
}
.jm-blog-card-cat {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.jm-blog-card-title {
    font-family: 'Anton', sans-serif;
    font-size: 18px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
    transition: color 0.2s;
}
.jm-blog-card:hover .jm-blog-card-title { color: #0d4ed1; }
.jm-blog-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

/* ============================================================
   CTA
   ============================================================ */
.jm-cta {
    background: linear-gradient(135deg, #030c1e 0%, #0a0a0a 40%, #030c1e 100%);
    padding: 80px 40px;
    overflow: hidden;
    position: relative;
}
.jm-cta-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.jm-cta-content { flex: 1; }
.jm-cta-bigtext { line-height: 0.9; }
.jm-cta-bigtext .line1 {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(38px,6.5vw,100px) !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
}
.jm-cta-bigtext .line2 {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(38px,6.5vw,100px) !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255,255,255,0.85);
}
.jm-cta-circle-btn {
    width: 130px; height: 130px;
    background: #0d4ed1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
    flex-shrink: 0;
}
.jm-cta-circle-btn:hover { background: #0b3faa; transform: scale(1.08) rotate(-10deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.jm-footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); }
.jm-footer-top {
    padding: 70px 40px 50px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}
.jm-footer-logo a {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}
.jm-footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin: 0 0 20px;
}
.jm-footer-social { display: flex; gap: 10px; }
.jm-footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}
.jm-footer-social a:hover { background: #0d4ed1; color: #fff; }

.jm-footer-col h4 {
    font-family: 'Anton', sans-serif;
    font-size: 13px !important;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.jm-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jm-footer-links a, .jm-footer-links span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.jm-footer-links a:hover { color: #fff; }
.jm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}
.jm-footer-contact li i { color: #0d4ed1; margin-top: 3px; flex-shrink: 0; }

/* Footer form row */
.jm-footer-form-row {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 40px;
    max-width: 1300px;
    margin: 0 auto;
}
.jm-contact-form-wrap { max-width: 820px; }

.jm-contact-form { display: flex; flex-direction: column; gap: 16px; }
.jm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jm-form-group { display: flex; flex-direction: column; }
.jm-form-group input,
.jm-form-group textarea,
.jm-form-group select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 13px 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.jm-form-group input:focus,
.jm-form-group textarea:focus,
.jm-form-group select:focus { border-color: #0d4ed1; }
.jm-form-group textarea { resize: vertical; min-height: 120px; }
.jm-form-group select option { background: #1a1a1a; color: #fff; }
.jm-form-group input::placeholder,
.jm-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.jm-form-submit {
    background: #0d4ed1;
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}
.jm-form-submit:hover { background: #0b3faa; transform: translateY(-2px); }
.jm-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.jm-form-message { padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; font-family: 'Inter', sans-serif; }
.jm-form-message.success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #4ade80; display: block; }
.jm-form-message.error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3); color: #f87171; display: block; }

.jm-footer-bottom {
    background: #0d4ed1;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.jm-footer-bottom p { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }
.jm-footer-bottom-links { display: flex; gap: 24px; }
.jm-footer-bottom-links a { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.jm-footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.jm-scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: #0d4ed1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
}
.jm-scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.jm-scroll-top:hover { background: #0b3faa; transform: translateY(-2px); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.jm-animate        { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.jm-animate-left   { opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.jm-animate-right  { opacity: 0; transform: translateX(36px); transition: opacity .7s ease, transform .7s ease; }
.jm-animate.animated,
.jm-animate-left.animated,
.jm-animate-right.animated { opacity: 1; transform: none; }
.jm-delay-1{transition-delay:.1s!important;}
.jm-delay-2{transition-delay:.2s!important;}
.jm-delay-3{transition-delay:.3s!important;}
.jm-delay-4{transition-delay:.4s!important;}
.jm-delay-5{transition-delay:.5s!important;}

/* ============================================================
   RESPONSIVE — TABLET ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
    .jm-header { padding: 14px 24px; }
    .jm-header.scrolled { padding: 10px 24px; }
    .jm-nav { display: none; }
    .jm-hamburger { display: flex; }
    .jm-header-dots { display: none; }

    .jm-hero-inner { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 48px; }
    .jm-hero-left { align-items: center; text-align: center; }
    .jm-hero-desc { max-width: 100%; }
    .jm-hero-actions { justify-content: center; }
    .jm-hero-center { order: -1; }
    .jm-hero-portrait-wrap { width: 260px; }
    .jm-hero-right { flex-direction: row; justify-content: center; flex-wrap: wrap; }

    .jm-about-cols { grid-template-columns: 1fr; gap: 50px; }
    .jm-about-heading-row { text-align: center; }
    .jm-stats-card-group { grid-template-columns: 1fr; }
    .jm-booking-card-wrap { grid-column: 1; grid-template-columns: 1fr; }
    .jm-booking-card-img { height: 220px; }
    .jm-services-inner { grid-template-columns: 1fr; }
    .jm-services-media { position: static; }
    .jm-trust-inner { grid-template-columns: 1fr; gap: 50px; }
    .jm-testimonials-grid { grid-template-columns: 1fr 1fr; }
    .jm-team-row1 { grid-template-columns: 1fr 1fr 1fr; }
    .jm-team-row2 { grid-template-columns: repeat(3, 1fr); }
    .jm-team-row3 { max-width: 100%; grid-template-columns: 1fr 1fr; }
    .jm-blog-grid { grid-template-columns: 1fr 1fr; }
    .jm-blog-header-row { grid-template-columns: 1fr; gap: 30px; }
    .jm-cta-inner { flex-direction: column; align-items: flex-start; }
    .jm-footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .jm-footer-form-row { padding: 50px 24px; }
    .jm-footer-bottom { padding: 14px 24px; }

    .jm-about, .jm-trust, .jm-testimonials, .jm-team,
    .jm-services, .jm-blog { padding: 70px 24px; }
    .jm-stats-booking { padding: 0 24px 60px; }
    .jm-cta { padding: 60px 24px; }
    .jm-partners { padding: 50px 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤767px
   ============================================================ */
@media (max-width: 767px) {
    .jm-hero-portrait-wrap { width: 220px; }
    .jm-hero-rotating-badge { width: 100px; height: 100px; right: -18px; }
    .jm-form-row { grid-template-columns: 1fr; }
    .jm-testimonials-grid { grid-template-columns: 1fr; }
    .jm-team-row1, .jm-team-row2 { grid-template-columns: 1fr 1fr; }
    .jm-team-row2 .jm-team-center-block { grid-column: span 2; }
    .jm-team-row3 { grid-template-columns: 1fr 1fr; }
    .jm-blog-grid { grid-template-columns: 1fr; }
    .jm-footer-top { grid-template-columns: 1fr; gap: 28px; }
    .jm-footer-bottom { flex-direction: column; text-align: center; }
    .jm-footer-bottom-links { justify-content: center; }
    .jm-trust-images-grid { grid-template-columns: 1fr; }
    .jm-cta-bigtext .line1, .jm-cta-bigtext .line2 { white-space: normal; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE ≤480px
   ============================================================ */
@media (max-width: 480px) {
    .jm-team-row1, .jm-team-row2, .jm-team-row3 { grid-template-columns: 1fr; }
    .jm-team-row2 .jm-team-center-block { grid-column: span 1; }
    .jm-hero-actions { flex-direction: column; width: 100%; }
    .jm-btn-primary, .jm-btn-outline { justify-content: center; }
    .jm-scroll-top { bottom: 20px; right: 16px; }
    .jm-stats-card-group { padding: 16px; }
}
