:root {
    --navy: #0b2340;
    --navy-deep: #07182c;
    --navy-mid: #123058;
    --blue: #1d6fe9;
    --blue-dark: #1557c0;
    --text: #1c2b3a;
    --muted: #5b6b7c;
    --line: #dbe4ef;
    --bg: #f4f7fb;
    --white: #fff;
    --shadow: 0 16px 40px rgba(11, 35, 64, .10);
    --radius: 14px;
    --header-h: 96px;
    --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
body:not(.admin-body) main p,
body:not(.admin-body) .legal-copy,
body:not(.admin-body) .article-body,
body:not(.admin-body) .split p,
body:not(.admin-body) .pill-card p,
body:not(.admin-body) .solution-card p,
body:not(.admin-body) .service-card p,
body:not(.admin-body) .blog-card p,
body:not(.admin-body) .course-item p,
body:not(.admin-body) .value-card p,
body:not(.admin-body) .mv-grid p,
body:not(.admin-body) .footer-brand p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}
body:not(.admin-body) main .center,
body:not(.admin-body) main .section-head,
body:not(.admin-body) main .section-head p,
body:not(.admin-body) main .eyebrow.center,
body:not(.admin-body) .center-cta,
body:not(.admin-body) .commitment,
body:not(.admin-body) .commitment p,
body:not(.admin-body) .audience-intro {
    text-align: center;
}
ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.icon { width: 24px; height: 24px; display: block; }
.icon-wrap {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}
.icon-wrap.light { color: #9ec2ff; }

.eyebrow {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .7rem;
}
.eyebrow.light { color: #8eb6ff; }
.eyebrow.center, .center { text-align: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}
.text-link .icon { width: 16px; height: 16px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    color: var(--navy);
    height: var(--header-h);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(11, 35, 64, .08);
}
.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand-logo {
    height: 78px;
    width: auto;
    display: block;
}
.brand-logo-footer {
    height: 120px;
}
.footer-brand .brand {
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 4px 10px 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-left: auto;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.site-nav a { text-decoration: none; color: var(--navy); opacity: .78; }
.site-nav a:hover, .site-nav a.is-active { opacity: 1; color: var(--blue); }
.nav-item { position: relative; }
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    color: var(--navy);
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.sub-menu a {
    display: block;
    padding: 10px 16px;
    text-transform: none;
    letter-spacing: 0;
    font-size: .9rem;
    opacity: 1;
    color: var(--navy);
}
.sub-menu a:hover { background: var(--bg); color: var(--blue); }
.nav-item:hover .sub-menu { display: block; }
.header-cta { flex: 0 0 auto; }
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--navy);
    margin-left: auto;
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: 70px 0 70px;
    overflow: hidden;
}
.hero-media, .hero-overlay, .quote-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(6,18,36,.82) 8%, rgba(6,18,36,.45) 58%, rgba(6,18,36,.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 20px; }
.hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4.6vw, 4rem);
    max-width: 720px;
    font-weight: 800;
    letter-spacing: -.03em;
}
.hero-content > p {
    max-width: 560px;
    font-size: 1.05rem;
    color: rgba(255,255,255,.9);
}
.hero-lead {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: .4rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 48px; }
.hero-pills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.pill-card, .solution-card, .service-card, .blog-card {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.pill-card {
    padding: 22px 18px 20px;
    border-top: 3px solid var(--blue);
}
.pill-card h3, .solution-card h3, .service-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.pill-card p, .solution-card p, .service-card p { color: var(--muted); font-size: .88rem; }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .about-section h2, .split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.photo-frame {
    border-radius: 18px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.solutions-grid, .services-grid, .blog-grid {
    display: grid;
    gap: 22px;
}
.solutions-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
.solution-card { padding: 24px 18px 28px; text-align: left; }
.solution-card .num { color: var(--blue); font-weight: 800; font-size: .9rem; }

.commitment {
    position: relative;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 72px 0;
    overflow: hidden;
}
.commitment-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.28) saturate(.9);
}
.commitment .container { position: relative; z-index: 1; }
.commitment h2, .commitment h3 { color: var(--white); }
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}
.commitment p { color: rgba(255,255,255,.78); margin: 0; }

.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 0 0 22px; overflow: hidden; }
.service-card-body { padding: 22px 24px 8px; }
.card-photo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.service-card ul { margin: 12px 0 18px; }
.service-card li {
    position: relative;
    padding-left: 14px;
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: .45rem;
}
.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}

.courses-section { background: var(--bg); }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    text-align: center;
}
.course-item h3 { font-size: .95rem; }
.icon-circle {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--blue);
}
.icon-circle .icon { width: 32px; height: 32px; }
.center-cta { text-align: center; margin-top: 36px; }
.courses-grid-page { grid-template-columns: repeat(3, 1fr); }
.courses-grid-page .course-item {
    background: var(--white);
    padding: 0 0 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.courses-grid-page .course-item .icon-circle,
.courses-grid-page .course-item h3,
.courses-grid-page .course-item p { margin-left: 16px; margin-right: 16px; }
.course-price {
    font-weight: 800;
    color: var(--navy);
    margin: 8px 16px 10px !important;
}
.course-pay {
    display: inline-flex;
    margin: 0 16px 16px;
    width: calc(100% - 32px);
}
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: start;
}
.checkout-summary {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 20px;
}
.checkout-summary img { width: 100%; height: 200px; object-fit: cover; }
.checkout-summary .eyebrow, .checkout-summary h2, .checkout-summary p { margin-left: 20px; margin-right: 20px; }
.checkout-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.checkout-summary .pay-methods,
.checkout-summary .checkout-card {
    margin: 12px 16px 16px;
}
.checkout-summary .admin-form-grid { grid-template-columns: 1fr; }
.checkout-form-wrap h2 { margin-top: 0; }
.checkout-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
    background: #f8fbff;
}
.checkout-card[hidden] { display: none !important; }
.checkout-card-title { font-weight: 700; color: var(--navy); margin: 0; }
#csfStatus.is-ok { color: #0f7a4a; }
#csfStatus.is-error { color: #b42318; }
#csfStatus.is-busy { color: var(--navy); }
.checkout-card label { display: grid; gap: 6px; font-weight: 650; font-size: .86rem; color: var(--navy); }
.checkout-card select {
    min-height: 48px;
    border: 1px solid #cfd9e6;
    border-radius: 10px;
    padding: 0 12px;
    font: inherit;
    background: #fff;
}
.checkout-thanks { max-width: 640px; }
.pay-methods {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 16px;
    display: grid;
    gap: 8px;
}
.pay-methods legend {
    font-weight: 700;
    color: var(--navy);
    padding: 0 6px;
}
.csf-upload {
    display: grid;
    gap: 6px;
    font-weight: 650;
    font-size: .86rem;
    color: var(--navy);
}
.pay-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}
.pay-option:has(input:checked) {
    border-color: var(--blue);
    background: #eef5ff;
}
.bank-details { display: grid; gap: 6px; margin: 0 0 12px; }
.bank-details li { color: var(--muted); }
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
}
.courses-grid-page .course-item .icon-circle { margin-top: 16px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
    text-align: center;
}
.audience-grid article {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 26px 16px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(11, 35, 64, .06);
}
.audience-grid .icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eef5ff 0%, #dceaff 100%);
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(29, 111, 233, .12);
}
.audience-grid .icon-wrap .icon {
    width: 42px;
    height: 42px;
    stroke-width: 1.5;
}
.audience-grid h3 {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    max-width: 12em;
}
.audience-intro { color: var(--muted); max-width: 640px; margin: 0 auto 8px; }
.audience-section { padding-top: 20px; }

.mv-section { background: var(--bg); }
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mv-grid article {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mv-grid p { color: var(--muted); margin: 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.value-card {
    background: var(--bg);
    padding: 22px 20px;
    border-radius: var(--radius);
}
.value-card h3 { font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.value-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.agency-block { margin: 22px 0; }
.agency-block h3 { font-size: 1.05rem; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 18px 18px 22px; }
.chip {
    display: inline-block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.blog-card h3 { font-size: 1.05rem; }
.blog-card h3 a { text-decoration: none; }
.blog-card p { color: var(--muted); font-size: .92rem; }

.quote-section {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    overflow: hidden;
}
.quote-media { filter: brightness(.28) saturate(.85); }
.quote-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.quote-copy h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.quote-copy p { color: rgba(255,255,255,.82); }
.quote-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.quote-form .input { margin: 0; }
.quote-form .input textarea,
.quote-form .input input,
.quote-form .input select {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
    background: rgba(255,255,255,.96);
    color: var(--navy);
}
.quote-form .input.textarea,
.quote-form .input.select { grid-column: 1 / -1; }
.quote-form .error-message { color: #ffd0d0; font-size: .8rem; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 14px; }

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 72px 0 64px;
    overflow: hidden;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 44, .84) 0%, rgba(7, 24, 44, .55) 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); max-width: 820px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; }

.title-band {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 52px 0;
    margin-bottom: 42px;
    overflow: hidden;
}
.title-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 44, .82) 0%, rgba(7, 24, 44, .52) 100%);
}
.title-band .section-head {
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.title-band h2 { color: var(--white); }
.title-band p { color: rgba(255,255,255,.86); }
.section.has-title-band { padding-top: 0; }

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: .8rem;
}
.check-list .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 2px; }

.contact-page-grid, .article-layout { max-width: 920px; }
.contact-details li { display: flex; gap: 10px; align-items: center; margin-bottom: .8rem; }
.contact-details .icon { color: var(--blue); }
.legal-copy p { color: var(--muted); max-width: 760px; }
.article-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 28px; }
.article-body { max-width: 760px; }

.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,.82);
    padding-top: 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr .8fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
}
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; }
.site-footer h4 {
    color: var(--white);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.site-footer a { text-decoration: none; }
.site-footer li { margin-bottom: .55rem; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-size: .85rem;
}
.footer-bottom a { margin-left: 16px; }
.footer-by {
    color: rgba(255,255,255,.92);
    font-weight: 600;
    letter-spacing: .02em;
}

.flash-wrap {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    z-index: 50;
    pointer-events: none;
}
.flash-wrap .message { pointer-events: auto; }
.message {
    width: min(720px, calc(100% - 32px));
    margin: 12px auto 0;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
}
.message.error { background: #b42318; }
.message.success { background: #027a48; }

.pagination {
    margin-top: 32px;
}
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination a, .pagination span {
    min-width: 40px;
    min-height: 40px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg);
    color: var(--navy);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid var(--line);
    font-weight: 650;
    font-size: .9rem;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}
.pagination a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.pagination .active a,
.pagination .current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    pointer-events: none;
}
.pagination .ellipsis {
    min-width: 40px;
    color: var(--muted);
    border: none;
    background: transparent;
    padding: 8px 4px;
}
.pagination .prev a,
.pagination .next a,
.pagination .prev.disabled a,
.pagination .next.disabled a {
    min-width: 118px;
    padding: 8px 18px;
}
.pagination .disabled a {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 980px) {
    .hero-pills, .solutions-grid, .services-grid, .blog-grid, .courses-grid, .courses-grid-page, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .audience-grid { grid-template-columns: repeat(3, 1fr); }
    .split, .quote-grid, .footer-grid, .commitment-grid { grid-template-columns: 1fr; }
    .mv-grid, .values-grid { grid-template-columns: 1fr 1fr; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 14px;
        box-shadow: 0 12px 24px rgba(11, 35, 64, .12);
    }
    .site-nav.is-open { display: flex; }
    .sub-menu { position: static; display: block; background: transparent; color: var(--navy); box-shadow: none; padding-left: 8px; }
    .sub-menu a { color: var(--navy); }
}
.admin-body { background: #eef3f8; min-height: 100vh; color: var(--text); }
.admin-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: linear-gradient(180deg, #07182c 0%, #0b2340 100%);
    color: #d5e4f7;
    padding: 22px 16px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 22px;
}
.admin-logo { height: 38px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.admin-brand strong { display: block; font-size: .95rem; letter-spacing: .04em; }
.admin-brand small { display: block; color: #9ec2ff; font-size: .72rem; }
.admin-nav-label {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7fa3cf;
    margin: 0 10px 8px;
}
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 10px;
    color: #d5e4f7;
}
.admin-sidebar nav a .icon { width: 18px; height: 18px; }
.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover { background: rgba(29, 111, 233, .22); color: #fff; }
.admin-sidebar nav a.is-active { box-shadow: inset 3px 0 0 var(--blue); }
.admin-sidebar-foot { margin-top: auto; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-foot a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ec2ff;
    text-decoration: none;
    font-size: .86rem;
    padding: 8px 10px;
    border-radius: 8px;
}
.admin-sidebar-foot a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar-foot .icon { width: 16px; height: 16px; }
.admin-sidebar-foot .admin-by {
    justify-content: center;
    color: rgba(255,255,255,.55);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
}
.admin-content { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    background: rgba(255,255,255,.86);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}
.admin-menu {
    display: none;
    border: 0;
    background: var(--bg);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--navy);
    cursor: pointer;
}
.admin-topbar-copy p {
    margin: 0;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 700;
}
.admin-topbar-copy h1 {
    margin: 2px 0 0;
    font-size: 1.35rem;
}
.admin-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    border-left: 1px solid var(--line);
}
.admin-user strong, .admin-user small { display: block; }
.admin-user small { color: var(--muted); font-size: .75rem; }
.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}
.admin-main { padding: 28px; }
.admin-main > .message { width: min(100%, 720px); margin: 0 0 18px; }
.admin-lead { color: var(--muted); max-width: 680px; margin: 0 0 22px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-stat {
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 16px;
    padding: 18px 18px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(11, 35, 64, .05);
}
.admin-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--blue);
    display: grid;
    place-items: center;
}
.admin-stat p { margin: 0; color: var(--muted); font-size: .8rem; }
.admin-stat strong { display: block; font-size: 1.7rem; color: var(--navy); line-height: 1.15; }
.admin-stat-text { font-size: 1rem !important; word-break: break-all; }
.admin-stat a { color: var(--blue); font-weight: 700; font-size: .82rem; text-decoration: none; }
.admin-panel {
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 35, 64, .05);
    overflow: hidden;
}
.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.admin-panel-head h2 { margin: 0 0 4px; font-size: 1.05rem; }
.admin-panel-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.admin-dl > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.admin-dl dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.admin-dl dd { margin: 0; font-weight: 600; color: var(--navy); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #f7fafc; }
.admin-table td strong { display: block; color: var(--navy); }
.admin-table td small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #f8fbff; }
.admin-actions { display: flex; gap: 14px; justify-content: flex-end; }
.admin-actions a { color: var(--blue); font-weight: 700; font-size: .85rem; text-decoration: none; }
.admin-actions a.is-danger, .admin-actions form a { color: #b42318; }
.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}
.admin-badge.is-on { background: #e7f8ef; color: #027a48; }
.admin-badge.is-off { background: #f2f4f7; color: #667085; }
.admin-empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.admin-pager .pagination { margin: 0; padding: 16px; }
.admin-panel-form { padding: 22px; }
.admin-form { display: grid; gap: 16px; max-width: 860px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form .input { margin: 0; }
.admin-form label { display: block; font-weight: 650; font-size: .86rem; color: var(--navy); margin-bottom: 8px; }
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="tel"],
.admin-form input[type="url"],
.admin-form input[type="search"],
.admin-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    border: 1px solid #cfd9e6;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}
.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 111, 233, .12);
}
.admin-form textarea { min-height: 120px; }
.admin-form input[type="file"] {
    width: 100%;
    min-height: 48px;
    padding: 10px;
    border: 1px dashed #cfd9e6;
    border-radius: 10px;
    background: #f8fbff;
    font: inherit;
}
.admin-help { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.admin-image-preview {
    margin-bottom: 12px;
    max-width: 360px;
}
.admin-image-preview img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.admin-image-preview span {
    display: block;
    margin-top: 6px;
    font-size: .78rem;
    color: var(--muted);
}
.admin-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.admin-form .checkbox input { width: auto; min-height: 0; margin-right: 8px; }
.admin-form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.conekta-keys {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fbff;
}
.conekta-keys h3 { margin: 0; font-size: 1rem; color: var(--navy); }
.conekta-keys.is-live { background: #fff8f1; border-color: #f0d2b0; }
.conekta-keys.is-required { box-shadow: inset 0 0 0 1px #d97706; }
.checkout-test-note {
    background: #fff6e5;
    border: 1px solid #f0d2b0;
    border-radius: 10px;
    padding: 10px 12px;
    color: #9a5b12;
}

.admin-body.is-login {
    background: var(--navy-deep);
    min-height: 100vh;
}
.login-screen {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
}
.login-brand {
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 40px 28px;
}
.login-brand-media,
.login-brand-overlay {
    position: absolute;
    inset: 0;
}
.login-brand-media {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}
.login-brand-overlay {
    background:
        linear-gradient(180deg, rgba(7, 24, 44, .35) 0%, rgba(7, 24, 44, .55) 42%, rgba(7, 24, 44, .88) 100%),
        linear-gradient(90deg, rgba(7, 24, 44, .55), rgba(11, 35, 64, .2));
}
.login-brand-content,
.login-brand-foot { position: relative; z-index: 1; }
.login-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.login-logo img {
    height: 56px;
    width: auto;
}
.login-kicker {
    margin: 48px 0 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9ec2ff;
}
.login-brand h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -.03em;
    max-width: 460px;
    margin-bottom: 12px;
}
.login-brand-content > p {
    max-width: 420px;
    color: rgba(255,255,255,.82);
    margin-bottom: 28px;
}
.login-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}
.login-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: rgba(255,255,255,.9);
}
.login-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    flex: 0 0 auto;
}
.login-brand-foot {
    margin: 32px 0 0;
    font-size: .78rem;
    color: rgba(255,255,255,.62);
}
.login-panel {
    background: #f7f9fc;
    display: grid;
    place-items: center;
    padding: 40px 28px;
}
.login-panel-inner {
    width: min(420px, 100%);
}
.login-panel-inner .message {
    width: 100%;
    margin: 0 0 18px;
}
.login-eyebrow {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.login-panel h2 {
    font-size: 1.85rem;
    margin-bottom: 8px;
}
.login-lead {
    color: var(--muted);
    margin-bottom: 28px;
}
.login-form { display: grid; gap: 16px; }
.login-field label {
    display: block;
    font-size: .82rem;
    font-weight: 650;
    color: var(--navy);
    margin-bottom: 8px;
}
.login-field input {
    width: 100%;
    height: 52px;
    border: 1px solid #cfd9e6;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    font: inherit;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.login-field input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 111, 233, .12);
}
.login-field.password { position: relative; }
.login-field.password input { padding-right: 76px; }
.login-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    font-size: .78rem;
    cursor: pointer;
}
.login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    letter-spacing: .06em;
}
.login-back {
    display: inline-block;
    margin-top: 22px;
    color: var(--muted);
    text-decoration: none;
    font-size: .88rem;
}
.login-back:hover { color: var(--navy); }
.message.hidden { display: none; }

@media (max-width: 900px) {
    .login-screen { grid-template-columns: 1fr; }
    .login-brand { min-height: 280px; padding: 24px 24px 20px; }
    .login-brand h1 { font-size: 1.7rem; }
    .login-points { display: none; }
    .login-kicker { margin-top: 24px; }
    .login-logo img { height: 56px; }
}
@media (max-width: 980px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed;
        z-index: 40;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 16px 0 40px rgba(7, 24, 44, .25);
    }
    .admin-sidebar.is-open { transform: none; }
    .admin-menu { display: grid; place-items: center; }
    .admin-stats, .admin-dl, .admin-form-grid { grid-template-columns: 1fr; }
    .admin-user span:last-child { display: none; }
    .admin-topbar-copy h1 { font-size: 1.15rem; }
}

@media (max-width: 640px) {
    .hero-pills, .solutions-grid, .services-grid, .blog-grid, .courses-grid, .courses-grid-page, .quote-form .form-grid, .mv-grid, .values-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .audience-grid { grid-template-columns: 1fr 1fr; }
    .hero { min-height: auto; padding-top: 48px; }
    .footer-bottom-inner { flex-direction: column; }
    .brand-logo { height: 62px; }
    .brand-logo-footer { height: 96px; }
}

.pya-chat-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(18, 140, 70, .35);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pya-chat-fab svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}
.pya-chat-fab:hover {
    color: #fff;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 14px 32px rgba(18, 140, 70, .45);
}
@media (max-width: 640px) {
    .pya-chat-fab {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }
    .pya-chat-fab span { display: none; }
}
@media print {
    .pya-chat-fab { display: none; }
}
