/*
Theme Name: JJ Chauffeured Cars
Theme URI: https://jjchauffeuredcars.com.au/
Author: JJ Chauffeured Cars
Description: Custom WordPress theme for JJ Chauffeured Cars.
Version: 1.0.0
Text Domain: jj-chauffeured
*/

:root {
    --jj-black: #111214;
    --jj-graphite: #1b1d20;
    --jj-silver: #b8bcc2;
    --jj-light-silver: #e5e7ea;
    --jj-white: #ffffff;
    --jj-muted: #70757d;
    --jj-gold: #c9a24a;
    --jj-gold-hover: #d4ae58;

    --jj-container: 1200px;

    --jj-radius: 18px;

    --jj-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);

    --jj-transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--jj-white);
    color: var(--jj-black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.jj-container {
    width: min(
        calc(100% - 40px),
        var(--jj-container)
    );

    margin-inline: auto;
}

.jj-homepage {
    overflow: hidden;
}

.jj-eyebrow {
    margin: 0 0 16px;
    color: var(--jj-silver);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.jj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform var(--jj-transition),
        background var(--jj-transition),
        color var(--jj-transition);
}

.jj-button:hover {
    transform: translateY(-2px);
}

.jj-button-primary {
    background: var(--jj-white);
    color: var(--jj-black);
}

.jj-button-primary:hover {
    background: var(--jj-light-silver);
}

.jj-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--jj-white);
}

.jj-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.jj-intro,
.jj-services,
.jj-feature {
    padding: 110px 0;
}

.jj-intro {
    background: var(--jj-white);
}

.jj-intro h2,
.jj-section-heading h2,
.jj-feature h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.jj-intro p:not(.jj-eyebrow),
.jj-feature p:not(.jj-eyebrow) {
    max-width: 760px;
    margin-top: 28px;
    color: var(--jj-muted);
    font-size: 18px;
}

.jj-services {
    background: #f5f5f4;
}

.jj-section-heading {
    margin-bottom: 50px;
}

.jj-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.jj-service-card {
    min-height: 260px;
    padding: 30px;
    background: var(--jj-white);
    border: 1px solid #e4e5e7;
    border-radius: var(--jj-radius);
    box-shadow: var(--jj-shadow);
}

.jj-service-card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
}

.jj-service-card p {
    margin: 18px 0 0;
    color: var(--jj-muted);
}

.jj-feature {
    background: var(--jj-graphite);
    color: var(--jj-white);
}

.jj-feature p:not(.jj-eyebrow) {
    color: var(--jj-light-silver);
}

@media (max-width: 900px) {
    .jj-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .jj-container {
        width: min(
            calc(100% - 28px),
            var(--jj-container)
        );
    }

    .jj-button {
        width: 100%;
    }

    .jj-intro,
    .jj-services,
    .jj-feature {
        padding: 78px 0;
    }

    .jj-service-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------------------------------
   Header
--------------------------------- */

.jj-skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 10000;
    padding: 10px 16px;
    background: var(--jj-gold);
    color: var(--jj-black);
    font-size: 13px;
    font-weight: 700;
}

.jj-skip-link:focus {
    top: 12px;
    outline: 2px solid var(--jj-white);
    outline-offset: 3px;
}

.jj-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--jj-black);
    color: var(--jj-white);
    border-bottom: 1px solid rgba(201, 162, 74, 0.28);
}

.jj-site-header .jj-container {
    width: min(calc(100% - 40px), 1440px);
}

.jj-header-inner {
    min-height: 128px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.jj-logo {
    flex: 0 0 390px;
    display: inline-flex;
    align-items: center;
}

.jj-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.jj-main-nav {
    flex: 1 1 0;
    min-width: 0;
}

.jj-main-nav ul,
.jj-mobile-nav-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jj-main-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.jj-main-nav li {
    flex: 0 0 auto;
}

.jj-main-nav a,
.jj-mobile-nav-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--jj-transition);
}

.jj-main-nav a {
    white-space: nowrap;
}

.jj-main-nav a:hover,
.jj-mobile-nav-menu a:hover {
    color: var(--jj-gold);
}

.jj-main-nav .current-menu-item > a,
.jj-main-nav .current_page_item > a,
.jj-mobile-nav-menu .current-menu-item > a,
.jj-mobile-nav-menu .current_page_item > a {
    color: var(--jj-white);
}

.jj-main-nav .current-menu-item > a::after,
.jj-main-nav .current_page_item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--jj-gold);
}

.jj-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
}

.jj-header-icon {
    display: block;
    flex: 0 0 auto;
}

.jj-header-phone,
.jj-header-whatsapp {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
}

.jj-header-phone {
    padding: 0 10px;
    color: var(--jj-light-silver);
    font-size: 13px;
    font-weight: 600;
}

.jj-header-phone:hover {
    color: var(--jj-white);
}

.jj-header-whatsapp {
    padding: 0 16px;
    border: 1px solid rgba(201, 162, 74, 0.42);
    border-radius: 999px;
    color: var(--jj-white);
    font-size: 13px;
    font-weight: 700;
    transition:
        background var(--jj-transition),
        border-color var(--jj-transition),
        color var(--jj-transition);
}

.jj-header-whatsapp:hover {
    background: rgba(201, 162, 74, 0.12);
    border-color: var(--jj-gold);
    color: var(--jj-gold);
}

.jj-button-header {
    min-height: 44px;
    padding-inline: 22px;
    background: var(--jj-gold);
    color: var(--jj-black);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.jj-site-header .jj-button:hover {
    transform: none;
}

.jj-button-header:hover {
    background: var(--jj-gold-hover);
    color: var(--jj-black);
}

.jj-header-actions .jj-button {
    width: auto;
}

.jj-site-header a:focus-visible,
.jj-nav-toggle:focus-visible {
    outline: 2px solid var(--jj-gold);
    outline-offset: 3px;
}

.jj-mobile-nav {
    display: none;
    position: static;
}

.jj-nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--jj-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

.jj-nav-toggle::-webkit-details-marker,
.jj-nav-toggle::marker {
    display: none;
    content: "";
}

.jj-nav-toggle-icon {
    position: relative;
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
}

.jj-nav-toggle-icon::before,
.jj-nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1.5px;
    background: currentColor;
}

.jj-nav-toggle-icon::before {
    top: -5px;
}

.jj-nav-toggle-icon::after {
    top: 5px;
}

.jj-mobile-nav[open] .jj-nav-toggle {
    border-color: var(--jj-gold);
    color: var(--jj-gold);
}

.jj-mobile-nav[open] .jj-nav-toggle-icon {
    background: transparent;
}

.jj-mobile-nav[open] .jj-nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.jj-mobile-nav[open] .jj-nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.jj-mobile-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 0 28px;
    background: #0d0e10;
    border-top: 1px solid rgba(201, 162, 74, 0.22);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.jj-mobile-nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(calc(100% - 40px), var(--jj-container));
    margin-inline: auto;
}

.jj-mobile-nav-menu li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jj-mobile-nav-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--jj-light-silver);
    font-size: 15px;
}

.jj-mobile-nav-menu a:hover,
.jj-mobile-nav-menu .current-menu-item > a,
.jj-mobile-nav-menu .current_page_item > a {
    color: var(--jj-gold);
}

@media (max-width: 1100px) {
    .jj-main-nav {
        display: none;
    }

    .jj-mobile-nav {
        display: block;
    }

    .jj-header-inner {
        justify-content: flex-end;
        gap: 12px;
    }

    .jj-logo {
        flex: 0 0 280px;
        margin-right: auto;
    }

    .jj-logo img {
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
    }
}

@media (max-width: 760px) {
    .jj-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "actions actions";
        align-items: center;
        gap: 0 12px;
        min-height: 0;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .jj-logo {
        grid-area: logo;
        flex: 0 1 auto;
        width: auto;
        max-width: 240px;
        margin-right: 0;
    }

    .jj-logo img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
    }

    .jj-mobile-nav {
        grid-area: toggle;
        justify-self: end;
    }

    .jj-header-actions {
        grid-area: actions;
        justify-content: stretch;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .jj-header-phone,
    .jj-header-whatsapp,
    .jj-button-header {
        flex: 1 1 0;
        min-height: 42px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .jj-nav-toggle-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .jj-nav-toggle {
        padding: 0;
        width: 44px;
    }
}

@media (max-width: 480px) {
    .jj-header-phone span,
    .jj-header-whatsapp span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .jj-header-phone,
    .jj-header-whatsapp {
        flex: 0 0 44px;
        width: 44px;
        padding: 0;
    }

    .jj-button-header {
        flex: 1 1 auto;
        padding-inline: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jj-site-header *,
    .jj-site-header *::before,
    .jj-site-header *::after {
        transition: none;
    }
}
/* ---------------------------------
   Footer styles live in assets/css/jj-footer.css
--------------------------------- */

/* ---------------------------------
   WhatsApp
--------------------------------- */

.jj-button-whatsapp {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--jj-white);
    background: rgba(255, 255, 255, 0.04);
}

.jj-button-whatsapp:hover {
    background: rgba(255, 255, 255, 0.10);
}
/* ---------------------------------
   Premium Hero
--------------------------------- */

.jj-hero {
    --jj-space-1: 8px;
    --jj-space-2: 12px;
    --jj-space-3: 20px;
    --jj-space-4: 24px;
    --jj-space-5: 28px;
    --jj-space-6: 32px;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: #0a0b0c;
    color: var(--jj-white);
}

.jj-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(201, 162, 74, 0.10),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #08090a 0%,
            #101114 100%
        );
}

.jj-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: calc(var(--jj-space-6) + var(--jj-space-4));
    min-height: 0;
    padding-block: calc(var(--jj-space-6) * 2);
}

.jj-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.jj-hero .jj-eyebrow {
    margin: 0 0 var(--jj-space-3);
    color: var(--jj-gold);
}

.jj-hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(72px, 6vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.jj-hero-rule {
    display: block;
    width: 56px;
    height: 1px;
    margin: var(--jj-space-5) 0 0;
    background: var(--jj-gold);
}

.jj-hero-text {
    max-width: none;
    margin: var(--jj-space-4) 0 0;
    color: #d5d7db;
    font-size: 18px;
    line-height: 1.7;
}

.jj-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--jj-space-4);
    margin: var(--jj-space-6) 0 0;
    padding: 0;
    list-style: none;
}

.jj-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: var(--jj-space-2);
    color: #c5c8cd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.jj-hero-trust-icon {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.jj-hero-trust-icon::before,
.jj-hero-trust-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.jj-icon-chauffeur::before {
    top: 0;
    left: 4px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--jj-gold);
    border-radius: 50%;
}

.jj-icon-chauffeur::after {
    left: 1px;
    right: 1px;
    bottom: 0;
    height: 6px;
    border: 1px solid var(--jj-gold);
    border-radius: 7px 7px 2px 2px;
}

.jj-icon-fleet::before {
    top: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--jj-gold);
}

.jj-icon-fleet::after {
    top: 0;
    left: 4px;
    right: 0;
    height: 9px;
    border: 1px solid rgba(201, 162, 74, 0.55);
}

.jj-icon-time::before {
    inset: 0;
    border: 1px solid var(--jj-gold);
    border-radius: 50%;
}

.jj-icon-time::after {
    top: 3px;
    left: 7px;
    width: 1px;
    height: 6px;
    background: var(--jj-gold);
    box-shadow: 2px 4px 0 -0.35px var(--jj-gold);
}

.jj-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--jj-space-2);
    margin-top: var(--jj-space-6);
}

.jj-hero .jj-button {
    min-height: 52px;
    border-radius: 999px;
}

.jj-hero .jj-button:focus-visible {
    outline: 2px solid var(--jj-gold);
    outline-offset: 3px;
}

.jj-button-primary {
    background: linear-gradient(
        135deg,
        #f0c85d,
        #b98928
    );

    color: #111214;
    box-shadow:
        0 10px 30px rgba(190, 145, 40, 0.22);
}

.jj-button-primary:hover {
    background: linear-gradient(
        135deg,
        #f6d574,
        #c99b38
    );
}

.jj-hero-assurance {
    margin: var(--jj-space-4) 0 0;
    color: var(--jj-light-silver);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.jj-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    z-index: 0;
}

.jj-hero-vehicle {
    display: block;
    width: min(760px, 52vw);
    height: auto;
    max-width: none;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin-right: -4vw;
    filter: brightness(0.84) contrast(1.05);
    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 15%,
            #000 30%,
            #000 82%,
            rgba(0, 0, 0, 0.45) 94%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 12%,
            #000 24%,
            #000 76%,
            rgba(0, 0, 0, 0.45) 90%,
            transparent 100%
        );
    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 15%,
            #000 30%,
            #000 82%,
            rgba(0, 0, 0, 0.45) 94%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 12%,
            #000 24%,
            #000 76%,
            rgba(0, 0, 0, 0.45) 90%,
            transparent 100%
        );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

@media (max-width: 980px) {
    .jj-hero {
        --jj-space-3: 16px;
        --jj-space-4: 20px;
        --jj-space-5: 24px;
        --jj-space-6: 28px;
        min-height: 0;
    }

    .jj-hero-inner {
        gap: var(--jj-space-6);
        padding-block: calc(var(--jj-space-6) + var(--jj-space-4));
    }

    .jj-hero h1 {
        font-size: clamp(56px, 7vw, 72px);
    }
}

@media (max-width: 760px) {
    .jj-hero {
        --jj-space-3: 16px;
        --jj-space-4: 20px;
        --jj-space-5: 20px;
        --jj-space-6: 24px;
        min-height: 0;
        position: relative;
        overflow: hidden;
    }

    .jj-hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: calc(var(--jj-space-6) + var(--jj-space-3) + 32px);
        padding-bottom: calc(var(--jj-space-6) + var(--jj-space-3));
    }

    .jj-hero-copy {
        position: relative;
        z-index: 3;
        max-width: none;
    }

    .jj-hero h1 {
        font-size: clamp(48px, 11vw, 56px);
    }

    .jj-hero-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .jj-hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--jj-space-3);
    }

    .jj-hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .jj-hero-visual {
        position: absolute;
        top: 90px;
        right: -18%;
        bottom: 80px;
        left: 8%;
        z-index: 1;
        width: auto;
        min-height: 0;
        margin: 0;
        display: block;
        pointer-events: none;
    }

    .jj-hero-vehicle {
        width: 125%;
        max-width: 620px;
        height: auto;
        margin: 0 0 0 auto;
        opacity: 0.28;
        filter: brightness(0.82) contrast(1.08);
        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0, 0, 0, 0.35) 18%,
                #000 42%,
                #000 78%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.25) 12%,
                #000 30%,
                #000 65%,
                rgba(0, 0, 0, 0.35) 84%,
                transparent 100%
            );
        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0, 0, 0, 0.35) 18%,
                #000 42%,
                #000 78%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.25) 12%,
                #000 30%,
                #000 65%,
                rgba(0, 0, 0, 0.35) 84%,
                transparent 100%
            );
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jj-hero * {
        transition: none;
    }
}

/* ---------------------------------
   Chauffeur Services
--------------------------------- */

.jj-offerings {
    padding: 110px 0;
    background: var(--jj-graphite);
    color: var(--jj-white);
}

.jj-offerings-intro {
    max-width: 760px;
    margin-bottom: 56px;
}

.jj-offerings .jj-eyebrow {
    color: var(--jj-gold);
}

.jj-offerings-intro h2 {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.jj-offerings-intro p:not(.jj-eyebrow) {
    margin: 22px 0 0;
    color: var(--jj-light-silver);
    font-size: 17px;
    line-height: 1.7;
}

.jj-offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.jj-offering {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 1px solid rgba(201, 162, 74, 0.42);
    background: #16181b;
    border-radius: 16px;
    transition:
        border-color var(--jj-transition),
        transform var(--jj-transition);
}

.jj-offering h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    min-height: 3.2em;
    margin-bottom: 18px;
}

.jj-offering p {
    flex: 1 1 auto;
    margin: 16px 0 28px;
    color: #c4c7cc;
    font-size: 15px;
    line-height: 1.65;
    min-height: 5.2em;
}

.jj-offering-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--jj-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.jj-offering:hover {
    border-color: rgba(201, 162, 74, 0.38);
    transform: translateY(-2px);
}

.jj-offering-link:hover {
    color: var(--jj-gold-hover);
}

.jj-offering-link:focus-visible {
    outline: 2px solid var(--jj-gold);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .jj-offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .jj-offerings {
        padding: 78px 0;
    }

    .jj-offerings-intro {
        margin-bottom: 36px;
    }

    .jj-offerings-grid {
        grid-template-columns: 1fr;
    }

    .jj-offering {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jj-offering {
        transform: none;
    }
}
