/* ============================================================
   Meslingo Enterprise (/enterprise) — schools, centers, companies
   Built on style.css tokens; card, section-head and CTA patterns
   follow home.css so the page reads as part of the same site.
   ============================================================ */

.ent { --section-pad: clamp(52px, 6.5vw, 92px); }
.ent-section { position: relative; padding: var(--section-pad) 0; }

.section-head {
    position: relative;
    max-width: 820px;
    margin: 0 auto clamp(2.25rem, 4.5vw, 3.5rem);
    text-align: center;
}
.section-head .section-title { margin: 1.1rem 0 1rem; }
.section-head .section-sub { max-width: 680px; margin: 0 auto; }
.eyebrow svg { flex-shrink: 0; }

[dir="rtl"] .ico-arrow { transform: scaleX(-1); }

/* ---------------- Hero ---------------- */
.ent-hero {
    position: relative;
    padding: 132px 0 clamp(48px, 7vw, 96px);
    overflow: clip;
}
.ent-aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* fade out before the hero's clip edge so no seam shows above the next section */
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
}
.ent-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
.ent-aurora i:nth-child(1) { width: 540px; height: 540px; top: -14%; left: -10%; background: radial-gradient(circle, rgba(236, 64, 122, 0.5), transparent 65%); }
.ent-aurora i:nth-child(2) { width: 520px; height: 520px; top: 6%; right: -12%; background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 65%); }
.ent-aurora i:nth-child(3) { width: 420px; height: 420px; bottom: -18%; left: 36%; background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent 65%); }
[data-theme="dark"] .ent-aurora i { opacity: 0.3; }
.motion .ent-aurora i:nth-child(1) { animation: entAuroraA 18s ease-in-out infinite alternate; }
.motion .ent-aurora i:nth-child(2) { animation: entAuroraB 22s ease-in-out infinite alternate; }
@keyframes entAuroraA { to { transform: translate3d(8%, 10%, 0) scale(1.1); } }
@keyframes entAuroraB { to { transform: translate3d(-10%, 8%, 0) scale(0.92); } }

.ent-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.ent-hero-copy { position: relative; z-index: 2; min-width: 0; }
.ent-title {
    margin: 1.2rem 0 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
    text-wrap: balance;
    /* break display words only where the translation allows (no "acade-mias") */
    hyphens: manual;
}
/* Room for stacked diacritics (vi) and descenders under the gradient clip */
.ent-title .gradient-text { padding-block: 0.08em; }
.ent-lead {
    max-width: 600px;
    color: var(--text-secondary);
    font-size: clamp(1.02rem, 1.25vw, 1.15rem);
    line-height: 1.7;
    text-wrap: pretty;
}
.ent-audience { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.ent-audience li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 500;
}
.ent-audience svg { flex-shrink: 0; color: var(--accent-primary); }
.ent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.ent-signin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.45rem;
    margin-top: 1.25rem;
    color: var(--text-tertiary);
    font-size: 0.92rem;
}
.ent-signin a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}
.ent-signin a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ent-signin a svg { transition: transform 0.35s var(--ease-bounce); }
.ent-signin a:hover svg { transform: translateX(3px); }
[dir="rtl"] .ent-signin a:hover svg { transform: scaleX(-1) translateX(3px); }
.ent-signin-bottom { justify-content: center; margin-top: 1.75rem; }

/* First-paint entrance (pure CSS) */
.motion .ent-in { animation: entIn 0.8s var(--ease-out) both; animation-delay: calc(var(--d) * 100ms + 60ms); }
.motion .ent-visual { animation: entVisual 1.1s var(--ease-out) 0.2s both; }
@keyframes entIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes entVisual { from { opacity: 0; transform: translateY(36px) scale(0.95); } to { opacity: 1; transform: none; } }

/* ---------------- Portal illustration ---------------- */
.ent-visual { position: relative; padding: 34px 20px 44px; min-width: 0; }
.pm {
    position: relative;
    border-radius: var(--radius-card);
    background: var(--bg-solid);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), 0 0 80px rgba(var(--accent-rgb), 0.12);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
[dir="rtl"] .pm { transform: perspective(1400px) rotateY(7deg) rotateX(3deg); }
.pm-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--hairline);
}
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.pm-bar i:nth-child(2) { background: #FBBF24; }
.pm-bar i:nth-child(3) { background: #34D399; }
.pm-url {
    margin-inline-start: 10px;
    padding: 2px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-family: var(--font-display);
    font-size: 0.72rem;
}
.pm-body { display: grid; gap: 12px; padding: 16px; }
.pm-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pm-logo {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.3);
}
.pm-org { display: flex; flex-direction: column; min-width: 0; }
.pm-org b { font-family: var(--font-display); font-size: 0.98rem; line-height: 1.25; }
.pm-org small { color: var(--text-tertiary); font-size: 0.74rem; }
.pm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pm-kpi,
.pm-chart {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--hairline);
}
.pm-kpi b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.pm-kpi small { display: block; margin-top: 2px; color: var(--text-tertiary); font-size: 0.68rem; line-height: 1.3; }
.pm-chart small { color: var(--text-tertiary); font-size: 0.7rem; }
/* One series, thin bars with 4px data-ends on a hairline baseline */
.pm-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 64px;
    margin-top: 8px;
    padding: 0 4px;
    border-bottom: 1px solid var(--hairline);
}
.pm-bars i {
    flex: 1;
    height: calc(var(--h) * 100%);
    border-radius: 4px 4px 0 0;
    background: rgba(var(--accent-rgb), 0.35);
}
.pm-bars i:last-child { background: var(--accent-primary); }
.motion .pm-bars i { animation: pmGrow 1s var(--ease-out) both; transform-origin: 50% 100%; }
.motion .pm-bars i:nth-child(2) { animation-delay: 0.05s; }
.motion .pm-bars i:nth-child(3) { animation-delay: 0.1s; }
.motion .pm-bars i:nth-child(4) { animation-delay: 0.15s; }
.motion .pm-bars i:nth-child(5) { animation-delay: 0.2s; }
.motion .pm-bars i:nth-child(6) { animation-delay: 0.25s; }
.motion .pm-bars i:nth-child(7) { animation-delay: 0.3s; }
@keyframes pmGrow { from { transform: scaleY(0.05); } to { transform: none; } }
.pm-roster { list-style: none; }
.pm-roster li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.pm-roster li:first-child { border-top: 0; padding-top: 0; }
.pm-av {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--c);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.pm-skel { flex: 1; min-width: 0; display: grid; gap: 5px; }
.pm-skel i { display: block; width: calc(var(--w) * 100%); height: 7px; border-radius: 4px; background: rgba(26, 26, 46, 0.09); }
[data-theme="dark"] .pm-skel i { background: rgba(255, 255, 255, 0.1); }
.pm-status {
    flex-shrink: 1;
    min-width: 0;
    max-width: 58%;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s-good { background: rgba(16, 185, 129, 0.14); color: #047857; }
.s-warn { background: rgba(245, 158, 11, 0.16); color: #B45309; }
.s-idle { background: rgba(120, 96, 109, 0.12); color: var(--text-tertiary); }
[data-theme="dark"] .s-good { color: #34D399; }
[data-theme="dark"] .s-warn { color: #FBBF24; }
.pm-seats-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.72rem;
}
.pm-seats-row b { color: var(--text-primary); font-family: var(--font-display); font-size: 0.85rem; white-space: nowrap; }
.pm-meter { display: block; height: 8px; margin-top: 6px; border-radius: var(--radius-pill); background: var(--bg-tertiary); overflow: hidden; }
.pm-meter i { display: block; width: calc(var(--w) * 100%); height: 100%; border-radius: inherit; background: var(--accent-gradient); }

.ent-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 70%;
    padding: 8px 14px 8px 8px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-float);
    color: var(--text-primary);
    font-size: 0.8rem;
}
[dir="rtl"] .ent-chip { padding: 8px 8px 8px 14px; }
.chip-code { top: 0; inset-inline-end: 0; }
.chip-code small { display: block; color: var(--text-tertiary); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.chip-code b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.14em; color: var(--accent-ink); }
.chip-qr {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fff;
    color: #1A1A2E;
    box-shadow: inset 0 0 0 1px rgba(26, 26, 46, 0.08);
}
.chip-seat { bottom: 6px; inset-inline-start: 0; border-radius: var(--radius-pill); font-weight: 600; }
.chip-ok {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #10B981;
    color: #fff;
}
.motion .ent-chip { animation: entFloat 6s ease-in-out infinite; }
.motion .chip-seat { animation-delay: -3s; animation-duration: 7s; }
@keyframes entFloat { 50% { transform: translateY(-8px); } }

/* ---------------- How it works ---------------- */
.ent-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent-step {
    position: relative;
    padding: 1.75rem 1.5rem 1.6rem;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
}
/* Dashed connector between neighbouring steps (desktop) */
.ent-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    inset-inline-end: -17px;
    width: 18px;
    border-top: 2px dashed rgba(var(--accent-rgb), 0.35);
}
.ent-step-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: var(--accent-gradient);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--glow-accent);
}
.ent-step h3 { margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ent-step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* ---------------- Features ---------------- */
.ent-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.6rem;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    overflow: hidden;
    transition: transform 0.45s var(--ease-bounce), box-shadow 0.35s ease, border-color 0.3s ease;
}
.ent-feature::after {
    content: '';
    position: absolute;
    inset: auto -30% -60% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
    pointer-events: none;
    transition: transform 0.6s var(--ease-out);
}
[dir="rtl"] .ent-feature::after { inset: auto auto -60% -30%; }
.ent-feature:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 18%, transparent);
}
.ent-feature:hover::after { transform: scale(1.3); }
.ent-feature-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    transition: transform 0.45s var(--ease-bounce);
}
.ent-feature:hover .ent-feature-ico { transform: rotate(-8deg) scale(1.06); }
.ent-feature h3 { margin-bottom: 0.45rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ent-feature p { position: relative; z-index: 1; color: var(--text-secondary); font-size: 0.94rem; line-height: 1.65; }
.ent-feature .ent-feature-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 9%, transparent);
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.5;
}
.ent-feature-note svg { flex-shrink: 0; margin-top: 0.12rem; color: var(--accent); }

.ent-roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-top: 16px;
    padding: 1.6rem 1.75rem;
    border-radius: var(--radius-card);
    background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(var(--accent-rgb), 0.16);
}
.ent-roles-text { flex: 1 1 340px; min-width: 0; }
.ent-roles h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.ent-roles p { margin-top: 0.35rem; color: var(--text-secondary); font-size: 0.94rem; line-height: 1.6; }
.ent-role-list { flex: 1 1 340px; list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ent-role-list li {
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--bg-solid);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    font-size: 0.86rem;
    font-weight: 600;
}

/* ---------------- Privacy ---------------- */
.ent-priv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ent-priv-card {
    padding: 1.75rem;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm), 0 12px 40px color-mix(in srgb, var(--tone) 8%, transparent);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
}
.ent-sees { --tone: #059669; }
.ent-never { --tone: #E11D63; }
[data-theme="dark"] .ent-sees { --tone: #34D399; }
[data-theme="dark"] .ent-never { --tone: #F06292; }
.ent-priv-card h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}
.ent-priv-card h3 > span:last-child { min-width: 0; }
.ent-priv-ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    color: var(--tone);
}
.ent-priv-list { list-style: none; display: grid; gap: 0.8rem; }
.ent-priv-list li { display: flex; gap: 0.65rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.ent-priv-list li > span { min-width: 0; }
.ent-priv-list svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--tone); }

.ent-priv-notes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.ent-priv-notes li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.2rem;
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}
.ent-note-ico {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-primary);
}
.ent-priv-notes b { font-family: var(--font-display); font-size: 0.98rem; }
.ent-priv-notes li > span:last-child { color: var(--text-tertiary); font-size: 0.88rem; line-height: 1.5; }

/* ---------------- Templates ---------------- */
.ent-tpl-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tpl {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.05rem 1.15rem 1.15rem;
    padding-inline-start: 1.35rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.4s var(--ease-bounce), border-color 0.3s ease;
}
.tpl::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--accent); }
.tpl:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.tpl-lang { color: var(--text-tertiary); font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.tpl-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; hyphens: auto; }
.tpl-meta { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.45; }
[dir="rtl"] .tpl-meta[dir="ltr"] { text-align: end; }
.ent-tpl-note { max-width: 720px; margin: 1.75rem auto 0; text-align: center; color: var(--text-tertiary); font-size: 0.92rem; line-height: 1.65; text-wrap: pretty; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq {
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq[open] { border-color: rgba(var(--accent-rgb), 0.25); box-shadow: var(--shadow-md); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-radius: 20px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { flex: 1; min-width: 0; }
.faq summary svg {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-primary);
    transition: transform 0.35s var(--ease-bounce);
}
.faq[open] summary svg { transform: rotate(180deg); }
.faq p { padding: 0 1.35rem 1.3rem; color: var(--text-secondary); font-size: 0.96rem; line-height: 1.7; }
.faq p a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------------- Contact ---------------- */
.ent-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.75rem, 5vw, 3.5rem);
    border-radius: clamp(28px, 4vw, 40px);
    background:
        radial-gradient(circle at 15% 0%, rgba(var(--accent-rgb), 0.16), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(139, 92, 246, 0.14), transparent 55%),
        var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}
.ent-cta-main { min-width: 0; }
.ent-cta .section-title { margin: 1rem 0 0.8rem; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.ent-cta .ent-actions { margin-top: 1.6rem; }
.ent-contact-alt { margin-top: 0.9rem; color: var(--text-tertiary); font-size: 0.9rem; }
.ent-contact-alt + .ent-contact-alt { margin-top: 0.2rem; }
.ent-contact-alt a { color: var(--accent-ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ent-contact-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ent-zalo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    padding: 1.25rem;
    border-radius: var(--radius-card);
    background: var(--bg-solid);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md), 0 12px 36px rgba(0, 104, 255, 0.1);
}
.ent-zalo-qr { width: 168px; flex-shrink: 0; margin: 0; }
.ent-zalo-qr img { width: 100%; height: auto; border-radius: 14px; }
.ent-zalo-qr figcaption { margin-top: 0.45rem; text-align: center; color: var(--text-tertiary); font-size: 0.75rem; }
.ent-zalo-text { min-width: 0; }
.ent-zalo-text b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.ent-zalo-text p { margin: 0.3rem 0 0.9rem; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }
.chip-zalo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0.55rem 1rem 0.55rem 0.55rem;
    border-radius: var(--radius-pill);
    background: #0068FF;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 104, 255, 0.3);
    transition: transform 0.35s var(--ease-bounce), box-shadow 0.3s ease;
}
[dir="rtl"] .chip-zalo { padding: 0.55rem 0.55rem 0.55rem 1rem; }
.chip-zalo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 104, 255, 0.38); }
.chip-zalo:active { transform: scale(0.96); }
.zalo-word { padding: 0.05rem 0.4rem; border-radius: 6px; background: #fff; color: #0068FF; font-size: 0.78rem; font-weight: 800; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
    .ent-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ent-priv-notes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
    .ent-hero { padding-top: 112px; }
    .ent-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .ent-hero-copy { text-align: center; }
    .ent-lead { margin: 0 auto; }
    .ent-audience,
    .ent-actions,
    .ent-signin { justify-content: center; }
    .ent-visual { justify-self: center; width: 100%; max-width: 540px; }
    .ent-steps { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
    .ent-step:not(:last-child)::after { top: auto; bottom: -16px; inset-inline-start: 46px; inset-inline-end: auto; width: 0; height: 16px; border-top: 0; border-inline-start: 2px dashed rgba(var(--accent-rgb), 0.35); }
    .ent-cta { grid-template-columns: minmax(0, 1fr); }
    .ent-tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .ent-priv-grid { grid-template-columns: minmax(0, 1fr); }
    .ent-role-list { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .ent-hero { padding: 100px 0 40px; }
    .ent-actions .btn { flex: 1 1 auto; white-space: normal; text-align: center; }
    .ent-visual { padding: 30px 6px 40px; }
    .pm { transform: none; }
    [dir="rtl"] .pm { transform: none; }
    .pm-body { padding: 12px; gap: 10px; }
    .pm-kpi { padding: 8px 9px; }
    .pm-kpi b { font-size: 1.15rem; }
    .ent-chip { font-size: 0.74rem; }
    .chip-code { inset-inline-end: -2px; }
    .chip-qr { width: 34px; height: 34px; }
    .chip-qr svg { width: 24px; height: 24px; }
    .chip-code b { font-size: 0.95rem; }
    .ent-feature-grid { grid-template-columns: minmax(0, 1fr); }
    .ent-feature,
    .ent-step,
    .ent-priv-card { padding: 1.35rem 1.25rem; }
    .ent-step-num { width: 42px; height: 42px; margin-bottom: 0.8rem; border-radius: 14px; font-size: 1.1rem; }
    .ent-step:not(:last-child)::after { inset-inline-start: 40px; }
    .ent-roles { padding: 1.35rem 1.25rem; }
    .tpl { padding: 0.95rem 0.95rem 1rem 1.15rem; }
    .tpl-name { font-size: 1.18rem; }
    .faq summary { padding: 1rem 1.1rem; font-size: 1rem; }
    .faq p { padding: 0 1.1rem 1.15rem; font-size: 0.94rem; }
    /* A QR can't be scanned from the phone it's shown on: button only */
    .ent-zalo-qr { display: none; }
    .ent-zalo { padding: 1.1rem 1.2rem; }
}

@media (max-width: 380px) {
    .pm-status { max-width: 50%; }
}
