* {
    box-sizing: border-box;
}

:root {
    --blue: #3974ff;
    --blue2: #1957e8;
    --cyan: #29c5f6;
    --purple: #7657ff;
    --navy: #10182d;
    --navy2: #17223c;
    --text: #172033;
    --muted: #69758b;
    --line: #e3e9f3;
    --soft: #f4f7fc;
    --green: #29c67a;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

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

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
}

.logo-bubble {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
    border-radius: 15px 15px 15px 5px;
    background: linear-gradient(135deg,var(--blue),var(--purple));
    box-shadow: 0 8px 25px rgba(57,116,255,.25);
}

.logo strong,
.logo small {
    display: block;
}

.logo strong {
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.logo small {
    margin-top: 5px;
    color: #7f899b;
    font-size: .67rem;
    letter-spacing: .04em;
}

.desktop-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: .9rem;
    font-weight: 750;
}

.desktop-nav a:hover {
    color: var(--blue);
}

.header-enter {
    padding: 10px 17px;
    color: #fff;
    font-size: .88rem;
    font-weight: 850;
    border-radius: 11px;
    background: var(--blue);
}


/* HERO */

.chat-hero {
    overflow: hidden;
    padding: 74px 0 64px;
    background:
        radial-gradient(circle at 14% 10%,rgba(70,132,255,.13),transparent 27%),
        radial-gradient(circle at 92% 74%,rgba(71,220,242,.13),transparent 26%),
        linear-gradient(180deg,#f8fbff 0,#fff 100%);
}

.chat-hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 65px;
}

.online-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 19px;
    color: #55637b;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.online-label span {
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(41,198,122,.12);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.4rem,6vw,6rem);
    line-height: .91;
    letter-spacing: -.075em;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--blue);
}

.hero-intro {
    max-width: 660px;
    margin: 27px 0;
    color: #5c687d;
    font-size: 1.08rem;
}

.hero-intro strong {
    color: #27344b;
}

.hero-search {
    max-width: 610px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 17px;
    box-shadow: 0 16px 45px rgba(31,61,110,.09);
}

.search-icon {
    font-size: 1.7rem;
    color: #8390a6;
}

.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .96rem;
    color: var(--text);
    background: transparent;
}

.search-results {
    position: absolute;
    z-index: 10;
    width: min(610px,calc(100% - 40px));
    display: none;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(20,40,80,.15);
}

.search-results.visible {
    display: grid;
}

.search-results a {
    padding: 10px 12px;
    border-radius: 9px;
    font-weight: 750;
}

.search-results a:hover {
    background: #f0f5ff;
    color: var(--blue);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.primary-button,
.secondary-button {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border-radius: 13px;
    font-weight: 900;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    box-shadow: 0 14px 30px rgba(57,116,255,.22);
}

.secondary-button {
    border: 1px solid #d9e1ed;
    background: #fff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 22px;
    color: #718096;
    font-size: .78rem;
    font-weight: 750;
}


/* FAKE CHAT */

.chat-demo {
    position: relative;
}

.chat-demo:before {
    content: "";
    position: absolute;
    inset: 10% -10% -9% 16%;
    z-index: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,rgba(57,116,255,.2),rgba(41,197,246,.12));
    filter: blur(45px);
}

.chat-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(215,224,239,.95);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 35px 90px rgba(27,49,88,.18);
}

.chat-window-top {
    min-height: 57px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    border-bottom: 1px solid #e5eaf2;
}

.chat-window-top strong {
    margin-right: auto;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d9dee7;
}

.window-dots i:nth-child(1) {background:#ff6a67}
.window-dots i:nth-child(2) {background:#ffc45c}
.window-dots i:nth-child(3) {background:#42cc78}

.room-open {
    color: #718096;
    font-size: .72rem;
}

.room-open::first-letter {
    color: var(--green);
}

.chat-layout {
    min-height: 430px;
    display: grid;
    grid-template-columns: 145px 1fr;
}

.fake-sidebar {
    padding: 18px 11px;
    background: #111a2e;
}

.sidebar-title {
    display: block;
    margin: 0 9px 10px;
    color: #72809b;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.fake-sidebar a {
    display: flex;
    gap: 7px;
    padding: 9px 10px;
    margin: 3px 0;
    color: #aeb8c9;
    border-radius: 8px;
    font-size: .78rem;
}

.fake-sidebar a b {
    color: #64728d;
}

.fake-sidebar a:hover,
.fake-sidebar a.active {
    color: #fff;
    background: rgba(255,255,255,.09);
}

.fake-sidebar a.active b {
    color: #67a2ff;
}

.fake-conversation {
    position: relative;
    padding: 27px 24px 80px;
    background:
        radial-gradient(circle at 90% 0,rgba(57,116,255,.06),transparent 25%),
        #fff;
}

.day-label {
    width: max-content;
    margin: 0 auto 22px;
    padding: 5px 11px;
    color: #8993a5;
    font-size: .65rem;
    border-radius: 999px;
    background: #f4f6fa;
}

.fake-message {
    display: flex;
    gap: 11px;
    margin-bottom: 20px;
}

.avatar {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    border-radius: 50%;
}

.avatar-a {background:linear-gradient(135deg,#ff6fa8,#a85bff)}
.avatar-b {background:linear-gradient(135deg,#40a8ff,#4b65e8)}
.avatar-c {background:linear-gradient(135deg,#1fcf9a,#17a9b8)}

.fake-message strong {
    display: block;
    font-size: .77rem;
}

.fake-message p {
    display: inline-block;
    max-width: 320px;
    margin: 4px 0 0;
    padding: 9px 12px;
    color: #536075;
    font-size: .76rem;
    border-radius: 4px 13px 13px 13px;
    background: #f1f4f9;
}

.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 14px 0;
    color: #98a2b3;
    font-size: .65rem;
}

.typing span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #91a0b8;
}

.fake-input {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    height: 46px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: #a1a9b7;
    font-size: .72rem;
    border: 1px solid #e0e5ed;
    border-radius: 12px;
}

.fake-input span {
    margin-right: auto;
}

.fake-input button {
    width: 35px;
    height: 35px;
    margin-right: 5px;
    border: 0;
    color: #fff;
    border-radius: 9px;
    background: var(--blue);
}


/* ROOM STRIP */

.room-strip {
    padding: 18px 0;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #e7ecf3;
    background: #fff;
}

.room-strip .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.strip-title {
    white-space: nowrap;
    font-size: .82rem;
}

.strip-rooms {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.strip-rooms::-webkit-scrollbar {
    display: none;
}

.strip-rooms a {
    white-space: nowrap;
    padding: 7px 11px;
    color: #526078;
    font-size: .75rem;
    font-weight: 800;
    border: 1px solid #e1e7ef;
    border-radius: 999px;
    background: #f9fbfe;
}

.strip-rooms a i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--green);
}


/* COMMON */

.directory-section,
.popular-section,
.seo-home {
    padding: 86px 0;
}

.directory-section {
    background: var(--soft);
}

.heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 37px;
}

.mini-label {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .14em;
}

.mini-label.light {
    color: #7db1ff;
}

.heading-row h2,
.why-section h2,
.seo-home h2 {
    margin: 0;
    font-size: clamp(2rem,4vw,3.25rem);
    line-height: 1.04;
    letter-spacing: -.048em;
}

.heading-row > p {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
}


/* CATEGORY CARDS */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.category-card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid #e0e6ef;
    border-radius: 20px;
    background: #fff;
    transition: .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #bfd0f5;
    box-shadow: 0 18px 40px rgba(29,60,110,.09);
}

.category-icon {
    font-size: 1.7rem;
}

.category-card h3 {
    margin: 20px 0 5px;
    font-size: 1.14rem;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
}

.category-count {
    display: block;
    margin-top: 15px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
}


/* CHAT ROOM CARDS */

.chat-room-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.chat-room-card {
    min-height: 230px;
    padding: 20px;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: #fff;
    transition: .2s ease;
}

.chat-room-card:hover {
    transform: translateY(-4px);
    border-color: #bdd1fb;
    box-shadow: 0 18px 45px rgba(31,65,120,.09);
}

.room-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.room-hash {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 950;
    border-radius: 11px;
    background: #edf3ff;
}

.room-status {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #748097;
    font-size: .65rem;
    font-weight: 800;
}

.room-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.chat-room-card h3 {
    margin: 20px 0 9px;
}

.chat-room-card p {
    min-height: 62px;
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enter-room {
    display: block;
    margin-top: 18px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 900;
}


/* WHY */

.why-section {
    padding: 95px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%,rgba(57,116,255,.23),transparent 28%),
        #10182d;
}

.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
}

.why-section > .container > div:first-child p {
    max-width: 520px;
    color: #aab5c8;
}

.why-items {
    display: grid;
}

.why-items article {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.why-items article > strong {
    color: #6e9fff;
    font-size: .75rem;
}

.why-items h3 {
    margin: 0 0 5px;
}

.why-items p {
    margin: 0;
    color: #9faabd;
    font-size: .88rem;
}


/* SEO HOME */

.seo-home-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 75px;
}

.seo-home article p {
    color: var(--muted);
}

.quick-links {
    display: grid;
    gap: 8px;
}

.quick-links h3 {
    margin: 0 0 9px;
}

.quick-links a {
    display: grid;
    grid-template-columns: 40px 1fr 20px;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.quick-links strong,
.quick-links small {
    display: block;
}

.quick-links small {
    color: #8994a7;
}


/* CHANNEL PAGES */

.channel-page-hero {
    padding: 50px 0 30px;
    background:
        radial-gradient(circle at 80% 10%,rgba(58,116,255,.12),transparent 30%),
        linear-gradient(180deg,#f7faff,#fff);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 23px;
    color: #8792a5;
    font-size: .76rem;
}

.breadcrumbs a {
    color: var(--blue);
}

.channel-page-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem,5vw,4.7rem);
    line-height: .97;
    letter-spacing: -.06em;
}

.channel-intro {
    max-width: 790px;
    margin: 18px 0 0;
    color: #647087;
    font-size: 1.03rem;
}

.channel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.channel-meta span {
    padding: 7px 11px;
    color: #52647c;
    font-size: .72rem;
    font-weight: 800;
    border-radius: 999px;
    background: #eef4ff;
}


/* REAL WEBCHAT */

.real-chat-section {
    padding: 25px 0 66px;
}

.real-chat-shell {
    overflow: hidden;
    border: 1px solid #d9e1ed;
    border-radius: 22px;
    background: #10182d;
    box-shadow: 0 25px 65px rgba(25,47,88,.15);
}

.real-chat-top {
    height: 53px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    color: #dfe6f1;
    background: #10182d;
}

.real-chat-top strong {
    margin-right: auto;
    font-size: .84rem;
}

.real-chat-top span {
    color: #8d99ae;
    font-size: .68rem;
}

.real-chat-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.real-chat-shell iframe {
    display: block;
    width: 100%;
    height: min(760px,calc(100vh - 115px));
    min-height: 620px;
    border: 0;
    background: #fff;
}

.open-external {
    margin-top: 11px;
    text-align: right;
}

.open-external a {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
}


/* CONTENT */

.channel-content {
    padding: 35px 0 85px;
}

.channel-content-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 65px;
}

.channel-copy {
    max-width: 780px;
}

.channel-copy h2 {
    margin: 42px 0 12px;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.channel-copy h2:first-child {
    margin-top: 0;
}

.channel-copy p {
    color: #5e6b80;
}

.related-panel {
    align-self: start;
    position: sticky;
    top: 100px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.related-panel h2 {
    margin: 0 0 15px;
    font-size: 1.3rem;
}

.related-panel a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    background: #f6f8fc;
}

.related-panel a b {
    color: var(--blue);
}

.related-panel a span {
    margin-left: auto;
    color: #8793a6;
}


/* CATEGORY PAGE */

.category-hero {
    padding: 62px 0 45px;
    background: #f5f8fd;
}

.category-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem,6vw,5rem);
    line-height: .96;
    letter-spacing: -.06em;
}

.category-hero p {
    max-width: 720px;
    color: #647087;
}

.category-list-section {
    padding: 65px 0 90px;
}


/* FOOTER */

.footer {
    padding: 58px 0 20px;
    color: #adb7c8;
    background: #0a1120;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr);
    gap: 40px;
}

.footer-logo strong {
    color: #fff;
}

.footer-intro p {
    max-width: 320px;
    font-size: .8rem;
}

.footer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .85rem;
}

.footer > .container a:not(.logo) {
    display: block;
    margin: 8px 0;
    font-size: .8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #79859a;
    font-size: .72rem;
}


/* RESPONSIVE */

@media(max-width:1000px) {

    .desktop-nav {
        display: none;
    }

    .chat-hero-grid,
    .why-grid,
    .seo-home-grid,
    .channel-content-grid {
        grid-template-columns: 1fr;
    }

    .chat-demo {
        max-width: 760px;
    }

    .category-grid,
    .chat-room-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .related-panel {
        position: static;
    }
}

@media(max-width:680px) {

    .container {
        width: min(100% - 26px,1200px);
    }

    .header-enter {
        display: none;
    }

    .chat-hero {
        padding-top: 50px;
    }

    .hero-copy h1 {
        font-size: 3.25rem;
    }

    .chat-layout {
        grid-template-columns: 88px 1fr;
    }

    .fake-sidebar {
        padding: 13px 6px;
    }

    .fake-sidebar a {
        overflow: hidden;
        padding: 8px 6px;
        font-size: .65rem;
    }

    .fake-conversation {
        padding: 20px 12px 76px;
    }

    .room-strip .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .chat-room-grid {
        grid-template-columns: 1fr;
    }

    .real-chat-shell {
        margin-left: -13px;
        margin-right: -13px;
        border-radius: 0;
    }

    .real-chat-shell iframe {
        min-height: 690px;
        height: calc(100vh - 75px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:470px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   HOME SEO V3
   ========================================================= */

.home-directory,
.home-geo-section,
.home-latam,
.home-topic-section,
.home-editorial,
.home-faq {
    padding: 88px 0;
}

.home-directory {
    background: #f5f8fd;
}

.seo-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.seo-category-card {
    min-height: 220px;
    padding: 22px;
    border: 1px solid #dfe6f0;
    border-radius: 19px;
    background: #fff;
    transition: .2s ease;
}

.seo-category-card:hover {
    transform: translateY(-4px);
    border-color: #b9cdf8;
    box-shadow: 0 17px 40px rgba(25,55,100,.08);
}

.seo-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-total {
    color: #8490a5;
    font-size: .69rem;
    font-weight: 800;
}

.seo-category-card h3 {
    margin: 25px 0 8px;
    font-size: 1.12rem;
}

.seo-category-card p {
    min-height: 58px;
    margin: 0;
    color: #68758a;
    font-size: .82rem;
}

.home-geo-section {
    background: #fff;
}

.home-geo-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 80px;
    align-items: start;
}

.home-geo-grid h2,
.home-editorial h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem,4vw,3.2rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.home-geo-grid article > p,
.home-editorial article > p {
    color: #667287;
}

.home-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 27px 0;
}

.home-link-cloud a {
    padding: 8px 12px;
    color: #4d5d75;
    font-size: .76rem;
    font-weight: 800;
    border: 1px solid #dce4ee;
    border-radius: 999px;
    background: #fafcff;
}

.home-link-cloud a:hover {
    color: #3974ff;
    border-color: #abc5fb;
}

.text-action {
    color: #3974ff;
    font-weight: 900;
}

.home-region-list {
    padding: 23px;
    border: 1px solid #e0e6ef;
    border-radius: 20px;
    background: #f8faff;
}

.home-region-list h3 {
    margin: 0 0 13px;
}

.home-region-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 7px;
    color: #4f5e74;
    font-size: .82rem;
    border-bottom: 1px solid #e9edf4;
}

.home-region-list a:last-child {
    border-bottom: 0;
}

.home-region-list b {
    color: #3974ff;
}

.home-latam {
    background: #f5f8fd;
}

.home-country-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.home-country-grid a {
    padding: 16px;
    border: 1px solid #dee5ef;
    border-radius: 14px;
    background: #fff;
}

.home-country-grid strong,
.home-country-grid span {
    display: block;
}

.home-country-grid strong {
    font-size: .88rem;
}

.home-country-grid span {
    margin-top: 5px;
    color: #3974ff;
    font-size: .7rem;
    font-weight: 850;
}

.home-latam-links {
    margin-top: 27px;
}

.home-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-topic-grid a {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    padding: 21px;
    border: 1px solid #e0e6ef;
    border-radius: 18px;
    background: #fff;
    transition: .2s ease;
}

.home-topic-grid a:hover {
    transform: translateY(-3px);
    border-color: #b7cdf9;
}

.home-topic-grid span {
    font-size: 1.5rem;
}

.home-topic-grid strong {
    margin-top: 24px;
}

.home-topic-grid small {
    margin-top: 4px;
    color: #788398;
}

.home-editorial {
    background: #fff;
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 75px;
}

.home-editorial article {
    max-width: 790px;
}

.home-editorial article h2:not(:first-of-type) {
    margin-top: 48px;
}

.editorial-nav {
    align-self: start;
    position: sticky;
    top: 100px;
    padding: 23px;
    border: 1px solid #e0e6ef;
    border-radius: 19px;
    background: #f7f9fd;
}

.editorial-nav h3 {
    margin: 0 0 15px;
}

.editorial-nav a {
    display: block;
    padding: 12px;
    margin-top: 7px;
    border-radius: 11px;
    background: #fff;
}

.editorial-nav strong,
.editorial-nav span {
    display: block;
}

.editorial-nav span {
    margin-top: 3px;
    color: #3974ff;
    font-size: .72rem;
}

.home-faq {
    background: #f5f8fd;
}

.faq-container {
    max-width: 920px;
}

.faq-container details {
    padding: 19px 0;
    border-bottom: 1px solid #dfe5ed;
}

.faq-container summary {
    cursor: pointer;
    font-weight: 900;
}

.faq-container details p {
    max-width: 780px;
    color: #647087;
}

@media(max-width:1000px) {

    .seo-category-grid,
    .home-topic-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .home-country-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .home-geo-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-nav {
        position: static;
    }
}

@media(max-width:600px) {

    .seo-category-grid,
    .home-topic-grid,
    .home-country-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   HUB EDITORIAL V4
   ========================================================= */

.hub-editorial {
    padding: 90px 0;
    background: #fff;
}

.hub-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 75px;
    align-items: start;
}

.hub-copy {
    max-width: 790px;
}

.hub-copy section + section {
    margin-top: 48px;
}

.hub-copy h2 {
    margin: 0 0 15px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hub-copy p {
    margin: 0;
    color: #626f84;
    font-size: 1rem;
    line-height: 1.8;
}

.hub-side-nav {
    position: sticky;
    top: 100px;
    padding: 23px;
    border: 1px solid #e0e6ef;
    border-radius: 19px;
    background: #f7f9fd;
}

.hub-side-nav h3 {
    margin: 0 0 15px;
}

.hub-side-nav a {
    display: block;
    padding: 12px;
    margin-top: 7px;
    border-radius: 11px;
    background: #fff;
}

.hub-side-nav a:hover {
    box-shadow: 0 7px 20px rgba(30,60,110,.07);
}

.hub-side-nav strong,
.hub-side-nav span {
    display: block;
}

.hub-side-nav span {
    margin-top: 3px;
    color: #3974ff;
    font-size: .72rem;
}

@media(max-width:1000px) {

    .hub-editorial-grid {
        grid-template-columns: 1fr;
    }

    .hub-side-nav {
        position: static;
    }
}



/* =========================================================
   INFORMATION PAGES V5
   ========================================================= */

.info-page-hero {
    padding: 72px 0 62px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(57,116,255,.14),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f7faff,
            #fff
        );
}

.info-page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .96;
    letter-spacing: -.06em;
}

.info-page-hero > .container > p {
    max-width: 800px;
    margin: 22px 0 0;
    color: #647087;
    font-size: 1.08rem;
    line-height: 1.8;
}

.info-page-content {
    padding: 85px 0 100px;
}

.info-page-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 75px;
    align-items: start;
}

.info-copy {
    max-width: 800px;
}

.info-copy section + section {
    margin-top: 52px;
}

.info-copy h2 {
    margin: 0 0 15px;
    font-size: clamp(1.8rem,3vw,2.55rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.info-copy p {
    margin: 0;
    color: #606d82;
    font-size: 1rem;
    line-height: 1.85;
}

.info-nav {
    position: sticky;
    top: 100px;
    padding: 23px;
    border: 1px solid #e0e6ef;
    border-radius: 19px;
    background: #f7f9fd;
}

.info-nav h3 {
    margin: 0 0 15px;
}

.info-nav a {
    display: block;
    margin-top: 7px;
    padding: 12px;
    border-radius: 11px;
    background: #fff;
}

.info-nav strong,
.info-nav span {
    display: block;
}

.info-nav span {
    margin-top: 3px;
    color: #3974ff;
    font-size: .72rem;
}

.info-steps {
    padding: 10px 0 75px;
}

.info-step-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.info-step-grid article {
    padding: 23px;
    border: 1px solid #e0e6ef;
    border-radius: 18px;
    background: #fff;
}

.info-step-grid article > span {
    color: #3974ff;
    font-size: .72rem;
    font-weight: 950;
}

.info-step-grid h2 {
    margin: 25px 0 9px;
    font-size: 1.15rem;
}

.info-step-grid p {
    margin: 0;
    color: #68758a;
    font-size: .83rem;
}


@media(max-width:1000px) {

    .info-page-grid {
        grid-template-columns: 1fr;
    }

    .info-nav {
        position: static;
    }

    .info-step-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


@media(max-width:600px) {

    .info-step-grid {
        grid-template-columns: 1fr;
    }
}



/* CHATPOLIS MOBILE NAV V7 */

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: #172033;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}

.mobile-nav {
    display: none;
    border-top: 1px solid #e7ecf3;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 45px rgba(20,40,80,.09);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-inner {
    padding-top: 18px;
    padding-bottom: 24px;
}

.mobile-nav-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-nav-main a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 47px;
    padding: 10px 12px;
    border: 1px solid #e6ebf2;
    border-radius: 11px;
    background: #f8faff;
    font-size: .86rem;
    font-weight: 800;
}

.mobile-nav-main a span {
    width: 24px;
    text-align: center;
}

.mobile-nav-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 17px;
    padding: 18px 3px 14px;
}

.mobile-nav-secondary a {
    color: #68758a;
    font-size: .78rem;
    font-weight: 750;
}

.mobile-chat-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 4px;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg,#3974ff,#1957e8);
    font-weight: 900;
}

body.menu-open {
    overflow: hidden;
}

.search-empty {
    padding: 10px 12px;
    color: #7f899b;
    font-size: .82rem;
}

@media(max-width:1000px) {

    .desktop-nav,
    .header-enter {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .topbar-inner {
        min-height: 68px;
    }
}

@media(max-width:560px) {

    .mobile-nav-main {
        grid-template-columns: 1fr;
    }

    .mobile-nav {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
}



/* CHATPOLIS LEGAL V7 */

.legal-hero {
    padding: 68px 0 48px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(57,116,255,.12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f7faff,
            #fff
        );
}

.legal-hero h1 {
    max-width: 950px;
    margin: 0;
    font-size: clamp(2.8rem,5vw,4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.legal-updated {
    margin: 18px 0 0;
    color: #7c879a;
    font-size: .83rem;
}

.legal-content {
    padding: 70px 0 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 75px;
    align-items: start;
}

.legal-copy {
    max-width: 830px;
}

.legal-copy h2 {
    margin: 52px 0 15px;
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.legal-copy h3 {
    margin: 28px 0 9px;
    font-size: 1.05rem;
}

.legal-copy p,
.legal-copy li,
.legal-copy dd {
    color: #5f6c81;
    line-height: 1.82;
}

.legal-copy a {
    color: #285fd5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-copy ul {
    padding-left: 24px;
}

.legal-copy li + li {
    margin-top: 6px;
}

.legal-copy code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #eef2f7;
}

.legal-data {
    overflow: hidden;
    display: grid;
    grid-template-columns: 210px 1fr;
    margin: 22px 0 28px;
    border: 1px solid #e0e6ef;
    border-radius: 15px;
}

.legal-data dt,
.legal-data dd {
    margin: 0;
    padding: 12px 15px;
    border-bottom: 1px solid #e8edf4;
}

.legal-data dt {
    color: #44516a;
    font-size: .82rem;
    font-weight: 900;
    background: #f6f8fc;
}

.legal-data dd {
    font-size: .88rem;
}

.legal-data dt:nth-last-of-type(1),
.legal-data dd:nth-last-of-type(1) {
    border-bottom: 0;
}

.legal-nav {
    position: sticky;
    top: 100px;
    padding: 22px;
    border: 1px solid #e0e6ef;
    border-radius: 18px;
    background: #f7f9fd;
}

.legal-nav h3 {
    margin: 0 0 13px;
}

.legal-nav a {
    display: block;
    padding: 10px 11px;
    margin-top: 5px;
    border-radius: 9px;
    background: #fff;
    font-size: .83rem;
    font-weight: 750;
}

.legal-nav a:hover {
    color: #3974ff;
}

.legal-nav hr {
    height: 1px;
    margin: 16px 0;
    border: 0;
    background: #e1e6ee;
}


@media(max-width:900px) {

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
    }
}


@media(max-width:600px) {

    .legal-data {
        grid-template-columns: 1fr;
    }

    .legal-data dt {
        border-bottom: 0;
        padding-bottom: 3px;
    }

    .legal-data dd {
        padding-top: 3px;
    }
}



/* CHATPOLIS LOGO IMAGE V1 */

.logo-mark{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:block;
}

.logo-mark img{
    display:block;
    width:38px;
    height:38px;
    object-fit:cover;
    border-radius:10px;
}

.footer-logo .logo-mark{
    width:40px;
    height:40px;
    flex-basis:40px;
}

.footer-logo .logo-mark img{
    width:40px;
    height:40px;
}

@media(max-width:600px){

    .logo-mark,
    .logo-mark img{
        width:35px;
        height:35px;
    }

    .logo-mark{
        flex-basis:35px;
    }

}

/* CHATPOLIS MOBILE HORIZONTAL OVERFLOW FIX */
@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /*
     * La fila de salas puede desplazarse horizontalmente,
     * pero nunca debe ensanchar el documento.
     */
    .room-strip {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .strip-rooms {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow-x: auto;
        overflow-y: hidden;

        box-sizing: border-box;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;

        scrollbar-width: none;
    }

    .strip-rooms::-webkit-scrollbar {
        display: none;
    }

    .strip-rooms > * {
        flex: 0 0 auto;
        max-width: calc(100vw - 40px);
    }

    /*
     * Evita que cualquiera de los contenedores relacionados
     * fuerce un ancho superior al viewport.
     */
    .popular-section,
    .heading-row,
    .chat-room-grid {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}
