/* =========================================================================
   JB International Holidays: public site theme ("photo-led premium").
   Loaded only by Views/Shared/_homepageLayout.cshtml, after custom.css.
   Every class starts with "jb-" so nothing here touches the admin panel.
   Colours used for text/buttons meet WCAG AA contrast.
   ========================================================================= */

:root {
    --jb-teal: #009688;          /* brand (decorative use) */
    --jb-teal-btn: #00796b;      /* brand on buttons / links (AA with white) */
    --jb-teal-dark: #00695c;
    --jb-teal-soft: #e6f5f3;
    --jb-accent: #f97316;        /* warm orange: lines, highlights */
    --jb-accent-btn: #c2410c;    /* orange buttons (AA with white) */
    --jb-accent-light: #fdba74;  /* orange text on dark backgrounds */
    --jb-mint: #5eead4;          /* icons on dark backgrounds */
    --jb-navy: #0b1324;
    --jb-ink: #101828;
    --jb-text: #3d4654;
    --jb-muted: #5f6b7a;
    --jb-line: #e6eaef;
    --jb-soft: #f4f7f9;
    --jb-radius: 22px;
    --jb-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --jb-shadow-lg: 0 28px 60px rgba(16, 24, 40, 0.18);
    --jb-head: 'Plus Jakarta Sans', 'Hind Siliguri', 'Segoe UI', sans-serif;
    --jb-body: 'Inter', 'Hind Siliguri', 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
body.jb {
    font-family: var(--jb-body);
    color: var(--jb-text);
    background: #fff;
    padding-top: 0 !important;
    -webkit-font-smoothing: antialiased;
}

body.jb h1, body.jb h2, body.jb h3, body.jb h4, body.jb h5 {
    font-family: var(--jb-head);
    color: var(--jb-ink);
    letter-spacing: -0.02em;
}

body.jb a { text-underline-offset: 3px; }
body.jb :focus-visible { outline: 3px solid var(--jb-accent); outline-offset: 2px; }
section[id] { scroll-margin-top: 96px; }

/* ---------- Buttons ---------- */
.btn-jb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--jb-head);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-jb:hover { transform: translateY(-2px); }
.btn-jb-accent { background: var(--jb-accent-btn); color: #fff; box-shadow: 0 12px 26px rgba(194, 65, 12, 0.32); }
.btn-jb-accent:hover, .btn-jb-accent:focus { background: #9a3412; color: #fff; }
.btn-jb-teal { background: var(--jb-teal-btn); color: #fff; box-shadow: 0 12px 26px rgba(0, 121, 107, 0.28); }
.btn-jb-teal:hover, .btn-jb-teal:focus { background: var(--jb-teal-dark); color: #fff; }
.btn-jb-wa { background: #0f7d70; color: #fff; }
.btn-jb-wa:hover, .btn-jb-wa:focus { background: #0b5f55; color: #fff; }
.btn-jb-outline { background: #fff; color: var(--jb-teal-dark); border-color: rgba(0, 121, 107, 0.35); }
.btn-jb-outline:hover, .btn-jb-outline:focus { background: var(--jb-teal-soft); border-color: var(--jb-teal-btn); color: var(--jb-teal-dark); }
.btn-jb-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-jb-ghost:hover, .btn-jb-ghost:focus { background: rgba(255, 255, 255, 0.2); border-color: #fff; color: #fff; }

/* ---------- Section heads ---------- */
.jb-section { padding: 96px 0; }
.jb-section.soft { background: var(--jb-soft); }

.jb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--jb-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jb-accent-btn);
}

.jb-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--jb-accent); }
.jb-eyebrow.light { color: var(--jb-accent-light); }

.jb-head { max-width: 680px; margin-bottom: 44px; }
.jb-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.jb-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 0 0 14px; }
.jb-head p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--jb-muted); }

.jb-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 40px;
    margin-bottom: 44px;
}

.jb-head-row .jb-head { margin-bottom: 0; }

.jb-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--jb-head);
    font-weight: 700;
    color: var(--jb-teal-dark);
    text-decoration: none;
}

.jb-link-more i { transition: transform 0.25s ease; }
.jb-link-more:hover { color: var(--jb-accent-btn); }
.jb-link-more:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.navbar-wrapper { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; }

.jb-topbar {
    height: 38px;
    overflow: hidden;
    background: var(--jb-navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    transition: margin-top 0.3s ease;
}

.jb-topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.jb-topbar-info, .jb-topbar-social { display: flex; align-items: center; gap: 22px; }
.jb-topbar-social { gap: 16px; }
.jb-topbar a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.jb-topbar a:hover { color: #fff; }
.jb-topbar-info i { color: var(--jb-mint); margin-right: 7px; }
.navbar-wrapper.scrolled .jb-topbar { margin-top: -38px; }

.jb-header {
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--jb-line);
    transition: box-shadow 0.3s ease;
}

.navbar-wrapper.scrolled .jb-header { box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08); }
.jb-header .navbar { padding: 12px 0; transition: padding 0.3s ease; }
.navbar-wrapper.scrolled .jb-header .navbar { padding: 8px 0; }
.jb-header .nav-logo { max-height: 50px; max-width: 170px; width: auto; transition: max-height 0.3s ease; }
.navbar-wrapper.scrolled .jb-header .nav-logo { max-height: 40px; }

.jb-header .mainmenu .nav-link {
    font-family: var(--jb-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--jb-ink) !important;
    padding: 9px 15px !important;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jb-header .mainmenu .nav-link:hover,
.jb-header .mainmenu .nav-link.active,
.jb-header .mainmenu .show > .nav-link {
    color: var(--jb-teal-dark) !important;
    background: var(--jb-teal-soft);
}

.jb-header .mainmenu .hover-underline { display: none; }
.jb-header .dropdown-menu { border: 1px solid var(--jb-line); border-radius: 16px; box-shadow: var(--jb-shadow-lg); padding: 8px; }
.jb-header .dropdown-item { border-radius: 10px; padding: 9px 14px; font-weight: 500; }
.jb-header .dropdown-item:hover, .jb-header .dropdown-item.active { background: var(--jb-teal-soft); color: var(--jb-teal-dark); }

.jb-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--jb-line);
    background: #fff;
    color: var(--jb-ink);
    text-decoration: none;
}

.jb-icon-btn:hover { background: var(--jb-teal-soft); color: var(--jb-teal-dark); }
.jb-header .navbar-toggler { padding: 0; box-shadow: none; }
.jb-header-cta { display: flex; align-items: center; gap: 10px; }
.jb-header-cta .btn-jb { padding: 10px 18px; font-size: 0.88rem; }

@media (min-width: 1200px) {
    .jb-header-cta { margin-left: 18px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .jb-header-cta { display: none; }
}

@media (max-width: 991.98px) {
    .jb-header .navbar-collapse {
        margin-top: 10px;
        padding: 12px 0 16px;
        border-top: 1px solid var(--jb-line);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .jb-header .mainmenu .nav-link { border-radius: 12px; }
    .jb-header-cta { padding-top: 12px; }
    .jb-header-cta .btn-jb { flex: 1; }
}

/* ---------- Hero ---------- */
.jb-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(580px, 86vh, 760px);
    padding: 72px 0 104px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1100px 600px at 85% 15%, rgba(0, 150, 136, 0.45), transparent 60%),
        linear-gradient(135deg, #0b1324 0%, #10354a 55%, #00695c 100%);
}

.jb-hero-slides { position: absolute; inset: 0; z-index: 0; }
.jb-hero-slides .carousel-inner, .jb-hero-slides .carousel-item { height: 100%; }

.jb-hero-img {
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
    transform: scale(1.03);
    transition: transform 9s ease-out;
}

.jb-hero-slides .carousel-item.active .jb-hero-img { transform: scale(1.1); }

/* Dark side for the text, photo stays bright on the right */
.jb-hero-slides .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 19, 36, 0.86) 0%, rgba(11, 19, 36, 0.6) 42%, rgba(11, 19, 36, 0.15) 100%),
        linear-gradient(0deg, rgba(11, 19, 36, 0.55) 0%, rgba(11, 19, 36, 0) 38%);
}

.jb-hero-inner { position: relative; z-index: 1; }
.jb-hero-copy { max-width: 660px; }

.jb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
}

.jb-hero-badge i { color: var(--jb-mint); }

body.jb .jb-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.jb-hero .jb-hl { color: var(--jb-accent-light); }
.jb-hero-copy p { max-width: 560px; margin: 0; font-size: 1.12rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); }

/* Inquiry bar */
.jb-hero-search {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr auto;
    gap: 4px;
    max-width: 980px;
    margin-top: 32px;
    padding: 8px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.jb-field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 16px;
    transition: background-color 0.2s ease;
}

.jb-field + .jb-field::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--jb-line);
}

.jb-field:focus-within { background: var(--jb-soft); box-shadow: inset 0 0 0 2px rgba(0, 121, 107, 0.45); }

.jb-field label {
    margin-bottom: 3px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jb-muted);
}

.jb-field label i { margin-right: 5px; color: var(--jb-teal-btn); }

.jb-field input,
.jb-field select {
    width: 100%;
    padding: 2px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--jb-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--jb-ink);
}

.jb-field select { cursor: pointer; }
body.jb .jb-field input:focus-visible, body.jb .jb-field select:focus-visible { outline: 0; }
.jb-hero-search .btn-jb { border-radius: 16px; padding: 14px 26px; }
.jb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.jb-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.jb-hero-trust i { margin-right: 7px; color: var(--jb-mint); }

.jb-hero-caption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    max-width: min(420px, 60%);
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(11, 19, 36, 0.55);
    color: #fff;
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.jb-hero .carousel-item:not(.active) .jb-hero-caption { visibility: hidden; }
.jb-hero .carousel-indicators { bottom: 18px; margin-bottom: 0; z-index: 3; }

.jb-hero .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    margin: 0 1px;
    border: 8px solid transparent;
    border-radius: 13px;
    background-color: rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
    opacity: 1;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.jb-hero .carousel-indicators .active { width: 28px; background-color: #fff; }

.jb-hero-pause {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(11, 19, 36, 0.5);
    color: #fff;
    font-size: 0.8rem;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.jb-hero-pause:hover { background: rgba(11, 19, 36, 0.75); }

@media (max-width: 991.98px) {
    .jb-hero-search { grid-template-columns: repeat(3, 1fr); }
    .jb-hero-search .btn-jb { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .jb-hero-slides .carousel-item::after { background: linear-gradient(180deg, rgba(11, 19, 36, 0.55) 0%, rgba(11, 19, 36, 0.88) 100%); }
    .jb-hero-caption { display: none; }
}

@media (max-width: 575.98px) {
    .jb-hero { min-height: 0; padding: 44px 0 84px; }
    .jb-hero-search { grid-template-columns: 1fr; padding: 6px; border-radius: 18px; }
    .jb-field { border-radius: 12px; padding: 10px 14px; }
    .jb-field + .jb-field::before { left: 14px; right: 14px; top: -2px; bottom: auto; width: auto; height: 1px; }
    .jb-hero-search .btn-jb { grid-column: auto; }
}

/* ---------- Airline strip ---------- */
.jb-airlines { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--jb-line); }
.jb-airlines .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 40px; }
.jb-airlines-title { margin: 0; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jb-muted); }
body.jb .jb-airlines-title { font-family: var(--jb-body); letter-spacing: 0.12em; color: var(--jb-muted); }
.jb-airlines ul { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.jb-airlines img { height: 36px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.jb-airlines li:hover img { filter: none; opacity: 1; }
.jb-airline-name { font-family: var(--jb-head); font-weight: 700; color: var(--jb-muted); }

/* ---------- Services ---------- */
.jb-service {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 34px 30px 30px;
    border-radius: var(--jb-radius);
    border: 1px solid var(--jb-line);
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.jb-service::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jb-teal-btn), var(--jb-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.jb-service:hover { transform: translateY(-6px); box-shadow: var(--jb-shadow-lg); border-color: transparent; color: inherit; }
.jb-service:hover::after { transform: scaleX(1); }
.jb-service-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; font-size: 1.55rem; }
.jb-service.is-visa .jb-service-icon { background: #e0f2fe; color: #0369a1; }
.jb-service.is-air .jb-service-icon { background: #ffedd5; color: var(--jb-accent-btn); }
.jb-service.is-tour .jb-service-icon { background: var(--jb-teal-soft); color: var(--jb-teal-dark); }
.jb-service h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 800; }
.jb-service p { flex: 1; margin: 0 0 20px; line-height: 1.7; color: var(--jb-muted); }

/* ---------- Visa tiles ---------- */
.jb-visa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }

.jb-visa-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--jb-line);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jb-visa-tile:hover { transform: translateY(-3px); box-shadow: var(--jb-shadow); border-color: rgba(0, 121, 107, 0.35); color: inherit; }

.jb-flag {
    flex-shrink: 0;
    width: 48px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.08), 0 4px 10px rgba(16, 24, 40, 0.08);
}

.jb-flag-globe { display: grid; place-items: center; background: var(--jb-teal-soft); color: var(--jb-teal-dark); font-size: 1.05rem; }
.jb-visa-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.jb-visa-text strong, .jb-visa-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-visa-text strong { font-family: var(--jb-head); font-weight: 700; line-height: 1.3; color: var(--jb-ink); }
.jb-visa-text small { font-size: 0.84rem; color: var(--jb-muted); }
.jb-visa-go { color: #9aa4b2; transition: transform 0.25s ease, color 0.25s ease; }
.jb-visa-tile:hover .jb-visa-go { color: var(--jb-teal-btn); transform: translateX(3px); }

/* ---------- Photo cards (travel) ---------- */
.jb-photo-card {
    position: relative;
    isolation: isolate;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--jb-radius);
    overflow: hidden;
    background: #1e293b;
    box-shadow: var(--jb-shadow);
    text-decoration: none;
}

.jb-photo-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jb-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 19, 36, 0) 30%, rgba(11, 19, 36, 0.9) 100%);
}

.jb-photo-card:hover img { transform: scale(1.07); }

.jb-photo-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--jb-ink);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jb-photo-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; color: #fff; }

body.jb .jb-photo-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
}

.jb-photo-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.jb-photo-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--jb-accent-light); }

/* ---------- Notices ---------- */
.jb-notice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }

.jb-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--jb-line);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jb-notice:hover { transform: translateY(-3px); box-shadow: var(--jb-shadow); color: inherit; }

.jb-notice-date {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fff7ed;
    color: var(--jb-accent-btn);
    line-height: 1;
}

.jb-notice-date strong { font-family: var(--jb-head); font-size: 1.5rem; font-weight: 800; }
.jb-notice-date small { margin-top: 4px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.jb-notice-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.jb-notice-text strong { font-family: var(--jb-head); font-weight: 700; color: var(--jb-ink); }
.jb-notice-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.86rem; color: var(--jb-muted); }
.jb-notice > i { color: #9aa4b2; }

/* ---------- Why us + stats (dark band) ---------- */
.jb-why {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    background:
        radial-gradient(900px 500px at 10% 0%, rgba(0, 150, 136, 0.35), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(249, 115, 22, 0.18), transparent 60%),
        var(--jb-navy);
}

body.jb .jb-why h2 { margin: 0 0 16px; color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
.jb-why-lead { margin: 0 0 28px; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.jb-why-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.jb-why-list li { display: flex; align-items: flex-start; gap: 14px; }

.jb-why-list li > i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(94, 234, 212, 0.12);
    color: var(--jb-mint);
    font-size: 1.05rem;
}

.jb-why-list strong { display: block; font-family: var(--jb-head); color: #fff; }
.jb-why-list span { font-size: 0.93rem; color: rgba(255, 255, 255, 0.78); }
.jb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.jb-stat {
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.jb-stat strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--jb-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.jb-stat strong em { font-style: normal; color: var(--jb-accent-light); }
.jb-stat span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }

/* ---------- Client reviews ---------- */
.jb-review-row {
    display: flex;
    gap: 22px;
    padding: 6px 4px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.jb-review {
    flex: 0 0 min(370px, 86%);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 30px 28px;
    border-radius: var(--jb-radius);
    border: 1px solid var(--jb-line);
    background: #fff;
    scroll-snap-align: start;
}

.jb-review-quote { margin-bottom: 14px; font-size: 1.6rem; color: var(--jb-accent); }
.jb-review blockquote { flex: 1; margin: 0 0 22px; font-size: 0.98rem; line-height: 1.75; color: var(--jb-text); }
.jb-review figcaption { display: flex; align-items: center; gap: 12px; }

.jb-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    object-fit: cover;
    background: var(--jb-teal-soft);
    color: var(--jb-teal-dark);
    font-family: var(--jb-head);
    font-weight: 800;
    font-size: 1.15rem;
}

.jb-review figcaption strong { display: block; font-family: var(--jb-head); color: var(--jb-ink); }
.jb-review figcaption small { color: var(--jb-muted); }

/* ---------- Team preview ---------- */
.jb-team-card { text-align: center; }

.jb-team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 16px;
    border-radius: var(--jb-radius);
    object-fit: cover;
    background: var(--jb-teal-soft);
    box-shadow: var(--jb-shadow);
}

body.jb .jb-team-card h3 { margin: 0 0 2px; font-size: 1.05rem; font-weight: 800; }
.jb-team-card p { margin: 0; font-size: 0.88rem; color: var(--jb-muted); }

/* ---------- Call to action ---------- */
.jb-cta { padding: 88px 0; }

.jb-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px 40px;
    padding: 56px;
    border-radius: 28px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    background:
        radial-gradient(600px 300px at 90% 10%, rgba(249, 115, 22, 0.35), transparent 60%),
        linear-gradient(120deg, #00695c 0%, #0b1324 100%);
    box-shadow: var(--jb-shadow-lg);
}

body.jb .jb-cta-box h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.jb-cta-box p { max-width: 520px; margin: 0; }
.jb-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pagination ---------- */
.jb-pagination { margin-top: 36px; }
.jb-pagination .pagination { flex-wrap: wrap; gap: 8px; }

.jb-pagination .page-link {
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--jb-line);
    border-radius: 12px !important;
    background: #fff;
    color: var(--jb-ink);
    font-weight: 700;
}

.jb-pagination .page-link:hover { background: var(--jb-teal-soft); color: var(--jb-teal-dark); }
.jb-pagination .active .page-link { background: var(--jb-teal-btn); border-color: var(--jb-teal-btn); color: #fff; }

/* ---------- Inner-page banner ---------- */
.jb-banner {
    position: relative;
    isolation: isolate;
    padding: 64px 0 56px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(0, 150, 136, 0.45), transparent 60%),
        linear-gradient(135deg, #0b1324 0%, #10354a 60%, #00695c 100%);
}

.jb-banner-img { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; transform: scale(1.04); }

.jb-banner.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 19, 36, 0.9) 0%, rgba(11, 19, 36, 0.72) 55%, rgba(11, 19, 36, 0.5) 100%);
}

body.jb .jb-banner h1 { max-width: 860px; margin: 0 0 12px; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; }
.jb-banner p { max-width: 680px; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.jb-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.85rem; }
.jb-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.5); }
.jb-crumbs a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.jb-crumbs a:hover { color: #fff; text-decoration: underline; }
.jb-crumbs [aria-current] { color: var(--jb-accent-light); }

/* ---------- Article (post / CMS page) ---------- */
.jb-article { padding: 40px; border-radius: var(--jb-radius); border: 1px solid var(--jb-line); background: #fff; box-shadow: 0 2px 12px rgba(16, 24, 40, 0.04); }
.jb-article-wide { max-width: 900px; margin: 0 auto; }
.jb-article-cover { display: block; width: 100%; height: auto; max-height: 480px; margin-bottom: 26px; border-radius: 16px; object-fit: cover; }
.jb-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; font-size: 0.9rem; color: var(--jb-muted); }
.jb-article-meta i { margin-right: 6px; color: var(--jb-teal-btn); }
.jb-prose { font-size: 1.06rem; line-height: 1.85; color: var(--jb-text); overflow-wrap: anywhere; }
.jb-prose h1, .jb-prose h2, .jb-prose h3, .jb-prose h4 { margin: 1.6em 0 0.6em; line-height: 1.3; }
.jb-prose h2 { font-size: 1.5rem; }
.jb-prose h3 { font-size: 1.25rem; }
.jb-prose p { margin: 0 0 1.1em; }
.jb-prose ul, .jb-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.jb-prose li { margin-bottom: 0.4em; }
.jb-prose img { max-width: 100%; height: auto; margin: 1em 0; border-radius: 14px; }
.jb-prose table { display: block; width: 100%; margin: 1.2em 0; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; }
.jb-prose th, .jb-prose td { padding: 10px 12px; border: 1px solid var(--jb-line); }
.jb-prose th { background: var(--jb-soft); }
.jb-prose a { color: var(--jb-teal-dark); }
.jb-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--jb-accent); color: var(--jb-ink); }

.jb-sticky { position: sticky; top: 110px; display: grid; gap: 20px; }

.jb-ask-card {
    padding: 28px;
    border-radius: var(--jb-radius);
    color: rgba(255, 255, 255, 0.88);
    background:
        radial-gradient(400px 200px at 100% 0%, rgba(249, 115, 22, 0.35), transparent 60%),
        linear-gradient(140deg, #00695c, #0b1324);
}

body.jb .jb-ask-card h2 { margin: 0 0 8px; color: #fff; font-size: 1.3rem; font-weight: 800; }
.jb-ask-card p { margin: 0 0 8px; font-size: 0.93rem; }
.jb-ask-card .btn-jb { width: 100%; margin-top: 10px; }
.jb-side-card { padding: 24px; border-radius: var(--jb-radius); border: 1px solid var(--jb-line); background: #fff; }
body.jb .jb-side-card h2 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; }
.jb-side-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.jb-side-list a { display: flex; align-items: center; gap: 12px; margin: 0 -8px; padding: 8px; border-radius: 12px; color: inherit; text-decoration: none; }
.jb-side-list a:hover { background: var(--jb-soft); }
.jb-side-list img { flex-shrink: 0; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--jb-soft); }
.jb-side-list strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--jb-head); font-size: 0.93rem; font-weight: 700; line-height: 1.35; color: var(--jb-ink); }
.jb-side-list small { font-size: 0.8rem; color: var(--jb-muted); }

/* ---------- Contact page ---------- */
.jb-contact-grid { display: grid; gap: 16px; }
.jb-contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--jb-line); background: #fff; }

.jb-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--jb-teal-soft);
    color: var(--jb-teal-dark);
    font-size: 1.15rem;
}

body.jb .jb-contact-card h2 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; }
.jb-contact-card p { margin: 0; color: var(--jb-text); word-break: break-word; }
.jb-contact-card a { color: inherit; text-decoration: none; }
.jb-contact-card a:hover { color: var(--jb-teal-dark); text-decoration: underline; }
.jb-contact-social { display: flex; flex-wrap: wrap; gap: 10px; }

.jb-contact-social a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--jb-line);
    background: #fff;
    color: var(--jb-ink);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jb-contact-social a:hover { background: var(--jb-teal-btn); color: #fff; }
.jb-map { height: 100%; min-height: 420px; border-radius: var(--jb-radius); overflow: hidden; background: var(--jb-soft); box-shadow: var(--jb-shadow); }
.jb-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.jb-map-empty { height: 100%; min-height: 420px; display: grid; place-items: center; text-align: center; color: var(--jb-muted); }
.jb-form-card { padding: 36px; border-radius: var(--jb-radius); border: 1px solid var(--jb-line); background: #fff; box-shadow: var(--jb-shadow); }
.jb-form-card .form-control, .jb-form-card .form-select { padding: 12px 14px; border-radius: 12px; border-color: #d4dbe3; }
.jb-form-card .form-control:focus, .jb-form-card .form-select:focus { border-color: var(--jb-teal-btn); box-shadow: 0 0 0 4px rgba(0, 121, 107, 0.12); }
.jb-form-card .form-label { font-weight: 600; color: var(--jb-ink); }

/* ---------- 404 ---------- */
.jb-404 { padding: 96px 16px; text-align: center; }

.jb-404-code {
    font-family: var(--jb-head);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--jb-teal-btn), var(--jb-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Footer ---------- */
.jb-footer { background: var(--jb-navy); color: rgba(255, 255, 255, 0.75); font-size: 0.93rem; }
.jb-footer-top { padding: 72px 0 44px; }
.jb-footer-logo { display: inline-block; margin-bottom: 18px; padding: 10px 14px; border-radius: 14px; background: #fff; }
.jb-footer-logo img { display: block; max-height: 46px; max-width: 160px; width: auto; }
.jb-footer-desc { margin: 0 0 14px; line-height: 1.7; }

.jb-footer-license {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.jb-footer-license i { color: var(--jb-mint); }
body.jb .jb-footer-title { margin: 0 0 18px; font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: 0.01em; }
.jb-footer-title::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 10px; border-radius: 2px; background: var(--jb-accent); }
.jb-footer-links { margin: 0; padding: 0; list-style: none; }
.jb-footer-links li { margin-bottom: 4px; }
.jb-footer-links a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.jb-footer-links a:hover { color: #fff; transform: translateX(3px); }
.jb-footer-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.jb-footer-contact li { display: flex; align-items: flex-start; gap: 12px; }

.jb-footer-contact li > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(94, 234, 212, 0.1);
    color: var(--jb-mint);
}

.jb-footer-contact a { color: rgba(255, 255, 255, 0.88); text-decoration: none; word-break: break-word; }
.jb-footer-contact a:hover { color: #fff; text-decoration: underline; }
.jb-footer-contact span { padding-top: 7px; }
.jb-footer-contact a { display: inline-block; padding-top: 7px; }
.jb-social { display: flex; flex-wrap: wrap; gap: 10px; }

.jb-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.jb-social a:hover { background: var(--jb-teal-btn); color: #fff; transform: translateY(-2px); }
.jb-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.84rem; color: rgba(255, 255, 255, 0.65); }
.jb-footer-bottom a { color: var(--jb-mint); font-weight: 600; text-decoration: none; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 999;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(18, 140, 126, 0.45);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover, .whatsapp-float:focus-visible { color: #fff; transform: scale(1.06); }
body.jb #goTopBtn { right: 30px; bottom: 24px; width: 42px; height: 42px; border-radius: 50% !important; background-color: var(--jb-navy) !important; }

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
    .jb-section, .jb-why { padding: 64px 0; }
    .jb-cta { padding: 56px 0; }
    .jb-head, .jb-head-row { margin-bottom: 30px; }
    .jb-banner { padding: 44px 0 40px; }
    .jb-cta-box { padding: 36px 24px; }
    .jb-cta-actions .btn-jb { flex: 1; }
    .jb-article, .jb-form-card { padding: 24px 18px; }
}

@media (max-width: 991.98px) {
    .jb-sticky { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    .jb-hero-img { transition: none; transform: none !important; }
    .jb-photo-card img, .jb-service, .jb-visa-tile, .jb-notice, .btn-jb { transition: none; }
}
