.world-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 16% 20%, rgba(20, 184, 166, .30), transparent 28%), linear-gradient(135deg, #082f49 0%, #0f766e 58%, #f59e0b 140%);
    color: #fff;
    padding: 82px 0 76px;
}

.world-hero:after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.world-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: 36px;
    align-items: center;
}

.world-hero-copy h1 {
    max-width: 850px;
    margin: 0 0 16px;
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    line-height: .98;
    letter-spacing: -0.055em;
}

.world-hero-copy p:not(.eyebrow) {
    max-width: 740px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
    line-height: 1.8;
}

.world-hero-panel {
    min-height: 410px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.07));
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    padding: 24px;
}

.world-hero-panel:before {
    content: "";
    position: absolute;
    inset: 32px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .35);
}

.world-orbit-card {
    position: absolute;
    width: 146px;
    min-height: 126px;
    border-radius: 26px;
    padding: 18px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 20px 45px rgba(2, 6, 23, .22);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.world-orbit-card.large {
    width: 190px;
    min-height: 160px;
    left: 34px;
    top: 42px;
}

.world-orbit-card:nth-child(2) { right: 28px; top: 136px; }
.world-orbit-card:nth-child(3) { left: 96px; bottom: 34px; }

.world-orbit-card span {
    display: block;
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0f766e;
}

.world-orbit-card strong {
    margin-top: 8px;
    font-size: .95rem;
    color: #475569;
}

.world-map-section {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.world-head-note {
    max-width: 520px;
    line-height: 1.7;
}

.world-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 22px;
    align-items: stretch;
}

.world-map-wrap {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .10);
    background: #ecfeff;
}

.world-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-grid {
    fill: none;
    stroke: rgba(15, 23, 42, .10);
    stroke-width: 2;
    stroke-dasharray: 9 12;
}

.map-continent {
    fill: url(#mapLand);
    stroke: rgba(255, 255, 255, .70);
    stroke-width: 2;
    filter: drop-shadow(0 16px 25px rgba(15, 23, 42, .12));
}

.world-map-pin {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #f59e0b;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, .20), 0 12px 24px rgba(15, 23, 42, .24);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.world-map-pin:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 2px;
    height: 14px;
    background: rgba(15, 23, 42, .18);
}

.world-map-pin span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    white-space: nowrap;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 6px 9px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.world-map-pin:hover,
.world-map-pin.is-active {
    transform: translate(-50%, -50%) scale(1.28);
    background: #14b8a6;
    box-shadow: 0 0 0 10px rgba(20, 184, 166, .22), 0 16px 34px rgba(15, 23, 42, .28);
}

.world-map-pin:hover span,
.world-map-pin.is-active span {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.world-map-info {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .10);
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.world-map-info img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.world-map-info-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.world-map-badge {
    align-self: flex-start;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    padding: 7px 11px;
    font-size: .78rem;
    font-weight: 900;
}

.world-map-info h3 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: -.04em;
    color: #0f172a;
}

.world-map-info p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.world-map-info ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 6px;
    display: grid;
    gap: 8px;
}

.world-map-info li {
    border-radius: 14px;
    background: #f8fafc;
    padding: 9px 11px;
    color: #334155;
    font-weight: 800;
}

.btn-sm {
    padding: 10px 16px;
    min-height: auto;
    font-size: .9rem;
}

.world-intro-section {
    background: #f8fafc;
}

.world-country-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.world-country-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    min-height: 560px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.world-country-card:hover,
.world-country-card.is-selected {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, .55);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .14);
}

.world-country-card.is-selected:after {
    content: "Selected from map";
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    border-radius: 999px;
    background: #14b8a6;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: 7px 10px;
    box-shadow: 0 12px 24px rgba(20, 184, 166, .25);
}

.world-country-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.world-country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.world-country-card:hover .world-country-image img { transform: scale(1.05); }

.world-country-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.38));
}

.world-country-image span {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #0f766e;
    padding: 7px 11px;
    font-size: .78rem;
    font-weight: 900;
}

.world-country-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.world-country-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.world-country-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #ecfeff;
    color: #0f766e;
    font-weight: 900;
}

.world-card-map-btn {
    border: 0;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.world-country-card h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.world-country-card .muted {
    line-height: 1.65;
    min-height: 78px;
}

.world-best-for {
    margin: 14px 0 16px;
    border-radius: 18px;
    padding: 11px 13px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 800;
    font-size: .88rem;
}

.world-place-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    flex: 1;
}

.world-place-list li {
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 16px;
    padding: 11px 12px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.world-place-list strong {
    display: block;
    color: #0f172a;
    font-size: .95rem;
}

.world-place-list span {
    display: block;
    color: #64748b;
    font-size: .83rem;
    line-height: 1.45;
    margin-top: 3px;
}

.world-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.world-guides-section {
    background: linear-gradient(180deg, #ffffff 0%, #eefdfb 100%);
}

.world-guide-grid .empty-state,
.world-empty-state {
    grid-column: 1 / -1;
}

.world-guide-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    align-items: start;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    padding: 18px;
}

.world-guide-card img {
    width: 118px;
    height: 118px;
    border-radius: 22px;
    object-fit: cover;
    background: #f1f5f9;
}

.world-guide-card h3 {
    margin: 0 0 6px;
    color: #0f172a;
}

.world-guide-rating {
    margin: 10px 0;
    color: #0f766e;
    font-weight: 900;
}

.world-guide-rating span {
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .world-country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .world-hero-inner,
    .world-map-layout { grid-template-columns: 1fr; }
    .world-hero-panel { min-height: 330px; }
    .world-map-info { min-height: auto; }
    .world-map-wrap { min-height: 440px; }
    .world-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .world-hero { padding: 56px 0; }
    .world-hero-panel { display: grid; min-height: auto; gap: 12px; }
    .world-hero-panel:before { display: none; }
    .world-orbit-card,
    .world-orbit-card.large,
    .world-orbit-card:nth-child(2),
    .world-orbit-card:nth-child(3) {
        position: static;
        width: auto;
        min-height: auto;
    }
    .world-map-wrap { min-height: 360px; border-radius: 24px; }
    .world-map-pin span { display: none; }
    .world-map-info img { height: 210px; }
    .world-country-grid { grid-template-columns: 1fr; }
    .world-country-card { min-height: auto; }
    .world-country-card .muted { min-height: auto; }
    .world-card-actions { flex-direction: column; }
    .world-guide-card { grid-template-columns: 1fr; }
    .world-guide-card img { width: 100%; height: 220px; }
}

/* Real map correction: replaces the abstract blob SVG with an accurate world-map image. */
.world-map-wrap {
    position: relative;
    min-height: 0;
    height: min(520px, 54vw);
    max-height: 560px;
    overflow: hidden;
    border-radius: 34px;
    background: #dff7fb;
}

.world-map-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    z-index: 1;
}

.world-map-svg { display: none !important; }

.world-map-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 18%, rgba(255,255,255,.38), transparent 25%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(15,118,110,.05));
}

.world-map-legend {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .86);
    color: #fff;
    padding: 9px 13px;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.world-map-legend span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #f59e0b;
    border: 2px solid #fff;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, .22);
}

.world-map-pin {
    z-index: 6;
    width: 15px;
    height: 15px;
    border-width: 3px;
    background: #f59e0b;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, .20), 0 12px 24px rgba(15, 23, 42, .25);
}

.world-map-pin:after {
    height: 12px;
    background: rgba(15, 23, 42, .25);
}

.world-map-pin span {
    z-index: 8;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,.18);
}

.world-map-pin:hover,
.world-map-pin.is-active {
    background: #14b8a6;
    box-shadow: 0 0 0 10px rgba(20, 184, 166, .23), 0 16px 34px rgba(15, 23, 42, .30);
}

@media (max-width: 980px) {
    .world-map-wrap {
        height: 460px;
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .world-map-wrap {
        height: 360px;
        min-height: 0;
        border-radius: 24px;
    }

    .world-map-legend {
        left: 12px;
        bottom: 12px;
        font-size: .68rem;
        padding: 8px 10px;
    }

    .world-map-pin {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
}
