/* Tier 3 — shell + blocks. Depends on tokens.css + base.css. */

/* ---------- SHELL ---------- */
.announce { background: var(--navy); color: #fff; font-size: 16px; position: relative; }
.announce .container { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.announce a { color: var(--secondary); font-weight: 600; margin-left: auto; }
.announce em { opacity: .7; font-style: normal; }
.announce-close { position: absolute; right: 12px; top: 6px; background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.top-line { background: var(--light-1); border-bottom: 1px solid var(--light-3); font-size: 16px; }
.top-line .container { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.top-line-info { display: flex; gap: 18px; color: var(--body); }
.top-line-info em { font-style: normal; opacity: .6; }
.top-line-right { display: flex; gap: 14px; align-items: center; }
.top-line .lang a.active { font-weight: 700; color: var(--primary); }
.navbar { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; align-items: center; gap: 24px; padding-top: 9px; padding-bottom: 9px; }
.navbar-brand img { height: 36px; }
.navbar-nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; margin-left: auto; }
.navbar-nav > li { position: relative; }
.navbar-nav > li > a { display: block; padding: 8px 12px; color: var(--heading); font-weight: 600; font-size: 17px; }
.navbar-nav > li:hover > a, .navbar-nav > li.active > a { color: var(--primary); }
.mega { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--light-3);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft); padding: 8px; display: none; }
.navbar-nav > li:hover .mega,
.navbar-nav > li:focus-within .mega { display: block; }
.mega a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--heading); font-size: 17px; }
.mega a:hover { background: var(--primary-soft); color: var(--primary); }
.navbar-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--heading); }
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.6fr; gap: 40px; align-items: start; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer a { display: block; color: rgba(255,255,255,.8); padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-logo { height: 42px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer em { font-style: normal; opacity: .6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding: 18px 0; font-size: 16px; }
/* footer contact / address list + social */
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { display: flex; gap: 10px; padding: 5px 0; line-height: 1.55; color: rgba(255,255,255,.8); }
.foot-list li i { width: 18px; color: var(--secondary); margin-top: 5px; flex: 0 0 auto; }
.foot-list li a { display: inline; padding: 0; }
.foot-list li strong { color: #fff; font-weight: 600; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; padding: 0; }
.foot-social a:hover { background: var(--secondary); color: #fff; }
.back-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--secondary); color: #fff; border: none; font-size: 20px; cursor: pointer; opacity: 0;
  pointer-events: none; transition: opacity .3s; z-index: 900; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- page_hero (inner-page banner + breadcrumb) ---------- */
.page-hero { background: var(--light-1); border-bottom: 1px solid var(--light-3); padding: 26px 0; }
.page-hero h1 { margin-bottom: 6px; }
.page-hero .lead { color: var(--body); max-width: 780px; font-size: 20px; line-height: 1.6; }
.page-hero .crumb { margin-bottom: 10px; }

/* ---------- stat_strip / trust_strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip .num { font-size: 30px; font-weight: 700; color: var(--primary); }
.stat-strip .lbl { font-size: 16.5px; color: var(--body); }

/* ---------- comparison_table / score_table use base table.t ---------- */
.comparison-table th:first-child, .score-table th:first-child { background: var(--primary); }

/* ---------- step_list ---------- */
.step-list { counter-reset: step; display: grid; gap: 18px; list-style: none; padding: 0; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { counter-increment: step; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step .n::before { content: counter(step); }

/* ---------- process_timeline ---------- */
.timeline { display: flex; gap: 0; counter-reset: tl; }
.timeline .node { flex: 1; text-align: center; position: relative; padding-top: 34px; }
.timeline .node::before { content: ""; counter-increment: tl; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--primary); }
.timeline .node::after { content: ""; position: absolute; top: 10px; left: 50%; width: 100%; height: 2px; background: var(--light-3); z-index: -1; }
.timeline .node:last-child::after { display: none; }

/* ---------- news_card ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--light-3); border-radius: var(--r-md); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.news-card .thumb { aspect-ratio: 16/10; background: var(--light-2); }
.news-card .body { padding: 16px; }
.news-card .meta { font-size: 13px; color: var(--body-soft); margin-bottom: 6px; }
.news-card h3 { font-size: 17px; }

/* ---------- partner_logos / recognition_logos ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; }
.logo-row .logo { height: 56px; padding: 8px 18px; background: #fff; border: 1px solid var(--light-3);
  border-radius: var(--r-sm); display: flex; align-items: center; color: var(--body-soft); font-size: 16px; }

/* ---------- team_grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .avatar { width: 110px; height: 110px; border-radius: 50%; background: var(--light-2); margin: 0 auto 12px; }

/* ---------- contact_form + map ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.map-embed { background: var(--light-2); border-radius: var(--r-md); min-height: 320px; display: flex;
  align-items: center; justify-content: center; color: var(--body-soft); }

/* ---------- rules_list ---------- */
.rules-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.rules-list li { display: flex; gap: 12px; align-items: flex-start; }
.rules-list li i { color: var(--primary); margin-top: 3px; }

/* ---------- download_list ---------- */
.dl-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.dl-list a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--light-3);
  border-radius: var(--r-sm); color: var(--heading); }
.dl-list a:hover { border-color: var(--primary); color: var(--primary); }
.dl-list i { color: var(--secondary); }

/* ---------- cta_band ---------- */
.cta-band { background: var(--secondary); border-radius: var(--r-md); padding: 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band .btn-primary { background: #fff; color: var(--secondary-dark); border-color: #fff; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph { aspect-ratio: 4/3; background: var(--light-2); border-radius: var(--r-sm); }

/* ---------- news_detail tabs (category) ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs a { padding: 8px 18px; border: 1px solid var(--light-3); border-radius: var(--r-pill); font-size: 16.5px; font-weight: 600; color: var(--heading); }
.tabs a.on, .tabs a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- article body (rich_text in news_detail) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article img, .article .ph { border-radius: var(--r-md); margin: 20px 0; }
.article blockquote { border-left: 4px solid var(--primary); margin: 20px 0; padding: 8px 18px; color: var(--heading); font-size: 17px; font-style: italic; }
.article .embed { aspect-ratio: 16/9; background: var(--navy); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 36px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }

/* ============================================================
 * V7-derived block styles (hero / trust / about / certs / why /
 * split-news / faq / partners / cta) — appended in Step 2.
 * ============================================================ */
  /* ============================
   * HERO BANNER — Replaces Revolution Slider, much more modern
   * ============================ */
  .hero {
    background: linear-gradient(135deg, #f4f9fe 0%, #ffffff 50%, #fef3e2 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(71, 131, 243, 0.12), transparent 60%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 161, 52, 0.1), transparent 60%);
    pointer-events: none;
  }
  .hero .row { align-items: center; }
  .hero-content { position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--light-3);
    padding: 6px 14px 6px 6px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(28, 31, 36, 0.04);
    font-size: 14px;
    color: var(--body);
    margin-bottom: 24px;
    animation: fade-up 0.9s 0.1s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .hero-badge .pill {
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
    animation: ping 1.6s ease-in-out infinite;
  }
  @keyframes ping { 50% { opacity: 0.4; transform: scale(0.7); } }

  .hero h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
    color: var(--heading);
    letter-spacing: -0.005em;
    animation: fade-up 0.9s 0.25s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .hero h1 .accent { color: var(--primary); }
  .hero h1 .accent-2 { color: var(--secondary-dark); }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
    max-width: 52ch;
    margin-bottom: 28px;
    animation: fade-up 0.9s 0.35s cubic-bezier(.2,.7,.2,1) backwards;
  }

  .hero-tests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    animation: fade-up 0.9s 0.45s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .test-pill {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    color: var(--body);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
  }
  .test-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(71, 131, 243, 0.15);
  }
  .test-pill::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--secondary);
    border-radius: 50%;
  }

  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fade-up 0.9s 0.55s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .hero-actions .btn .fa { font-size: 13px; transition: transform 0.3s; }
  .hero-actions .btn:hover .fa-arrow-right { transform: translateX(4px); }

  /* Hero right — info card */
  .hero-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--light-3);
    padding: 28px;
    position: relative;
    box-shadow: 0 16px 40px rgba(28, 31, 36, 0.06);
    animation: fade-up 1s 0.4s cubic-bezier(.2,.7,.2,1) backwards;
  }
  .hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 16px 16px 0 0;
  }
  .hero-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--light-2);
  }
  .hero-card-head .ttl {
    font-size: 13px;
    font-weight: 700;
    color: var(--body-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .hero-card-head .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--danger);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .hero-card-head .live-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--danger);
    border-radius: 50%;
    animation: blink 1.4s infinite;
  }
  @keyframes blink { 50% { opacity: 0.3; } }
  .hero-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .hero-card h3 .accent { color: var(--primary); }

  .hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--light-2);
    border-bottom: 1px solid var(--light-2);
    padding: 16px 0;
    margin-bottom: 20px;
  }
  .hero-card-stats .item {
    text-align: center;
    border-left: 1px solid var(--light-2);
  }
  .hero-card-stats .item:first-child { border-left: none; }
  .hero-card-stats .item .v {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
  }
  .hero-card-stats .item .l {
    font-size: 12.5px;
    color: var(--body-soft);
    margin-top: 6px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hero-card-exam {
    background: var(--secondary-soft);
    border-left: 4px solid var(--secondary);
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .hero-card-exam .l {
    font-size: 12.5px;
    color: var(--secondary-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .hero-card-exam .v {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
  }

  .hero-card .btn {
    width: 100%;
    justify-content: space-between;
  }

  /* Inline trust row inside hero card — replaces floating absolute pill */
  .hero-card .trust-row {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--light-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .hero-card .trust-row .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--body);
  }
  .hero-card .trust-row .item .ico {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
  }
  .hero-card .trust-row .item .v {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.1;
  }
  .hero-card .trust-row .item .l {
    font-size: 12px;
    color: var(--body);
    line-height: 1.2;
  }

  /* ============================
   * TRUST STRIP
   * ============================ */
  .trust {
    background: var(--white);
    border-top: 1px solid var(--light-2);
    border-bottom: 1px solid var(--light-2);
    padding: 24px 0;
  }
  .trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
  .trust-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--body-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-right: 24px;
    border-right: 1px solid var(--light-2);
    white-space: nowrap;
  }
  .trust-items {
    display: flex;
    flex: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--heading);
    font-weight: 600;
  }
  .trust-item .fa { color: var(--primary); font-size: 17px; width: 18px; }
  .trust-item span { color: var(--body); font-weight: 500; }

  /* ============================
   * SECTION HEAD (shared)
   * ============================ */
  .section-head {
    text-align: center;
    margin-bottom: 48px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-soft);
    color: var(--secondary-dark);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .section-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--secondary);
    border-radius: 50%;
  }
  .section-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--heading);
  }
  .section-title .accent { color: var(--primary); }
  .section-lead {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    max-width: 60ch;
    margin: 0 auto;
  }

  /* ============================
   * ABOUT UKTA — match feature-section style
   * ============================ */
  .about {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-1) 100%);
  }
  .about .row { align-items: center; gap: 0; }
  .about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(28, 31, 36, 0.1);
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--logo-blue-deep), var(--navy));
  }
  .about-image svg { width: 100%; height: 100%; display: block; }
  .about-image .badge {
    position: absolute;
    bottom: -16px;
    right: -14px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(28, 31, 36, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--light-3);
    max-width: 240px;
  }
  .about-image .badge .icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .about-image .badge .icon .fa { font-size: 20px; }
  .about-image .badge .v { font-size: 16.5px; font-weight: 700; color: var(--heading); line-height: 1.2; }
  .about-image .badge .l { font-size: 13px; color: var(--body); margin-top: 3px; }

  .about-text { padding-left: 30px; }
  .about-text h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading);
  }
  .about-text h2 .accent { color: var(--primary); }
  .about-text p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--body);
    margin-bottom: 14px;
  }
  .about-text p strong {
    color: var(--primary);
    font-weight: 700;
  }
  .about-text .read-more {
    margin-top: 12px;
  }
  .about-text .read-more .fa { font-size: 12.5px; transition: transform 0.3s; }
  .about-text .read-more:hover .fa { transform: translateX(4px); }

  /* ============================
   * CERTS — Three exam cards
   * ============================ */
  .certs { background: var(--white); }
  .cert-row { gap: 0; }
  .cert-card {
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: 12px;
    padding: 22px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  .cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(28, 31, 36, 0.08);
    border-color: transparent;
  }
  .cert-card:hover::before { transform: scaleX(1); }

  .cert-card .num-badge {
    width: 56px; height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    transition: all 0.3s;
  }
  .cert-card:hover .num-badge {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-5deg);
  }
  .cert-card .age-tag {
    align-self: flex-start;
    background: var(--secondary-soft);
    color: var(--secondary-dark);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .cert-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--heading);
  }
  .cert-card h3 .accent { color: var(--primary); }
  .cert-card-desc {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 14px;
    min-height: 56px;
  }
  .cert-specs {
    background: var(--light-1);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
  }
  .cert-specs .spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 3px 0;
  }
  .cert-specs .spec-row .k { color: var(--body); font-weight: 500; }
  .cert-specs .spec-row .v { color: var(--heading); font-weight: 700; }

  .cert-card .cert-link {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
  }
  .cert-card .cert-link:hover { gap: 10px; color: var(--secondary-dark); }

  .schedule-link {
    text-align: center;
    margin-top: 30px;
  }
  .schedule-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--light-3);
    border-radius: 100px;
    background: var(--white);
    color: var(--heading);
    font-weight: 600;
    transition: all 0.3s;
  }
  .schedule-link a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(71, 131, 243, 0.15);
  }
  .schedule-link a .fa { color: var(--secondary); }

  /* ============================
   * WHY OTE — feature-box pattern (6 items, 3x2 grid)
   * ============================ */
  .why-section {
    background: var(--light-1);
    position: relative;
  }
  .why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(71, 131, 243, 0.05), transparent 50%);
    pointer-events: none;
  }
  /* Override: force 3-col CSS Grid (not Bootstrap flex) — fixes 5+1 wrap issue */
  .why-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    position: relative;
  }
  .why-row > .col-6 {
    flex: none;
    max-width: none;
    padding: 0;
    width: 100%;
  }
  .feature-box {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 26px 22px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    height: calc(100% - 20px);
  }
  .feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 31, 36, 0.08);
    border-color: var(--primary-soft);
  }
  .feature-box .icon-holder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .feature-box:hover .icon-holder {
    background: var(--secondary);
    color: var(--white);
    transform: rotate(-6deg);
  }
  .feature-box .icon-holder .fa { font-size: 22px; }
  /* Color variants matching .icon-holder.color2 and .color3 */
  .feature-box.color-2 .icon-holder { background: var(--secondary-soft); color: var(--secondary-dark); }
  .feature-box.color-2:hover .icon-holder { background: var(--secondary); color: var(--white); }
  .feature-box.color-3 .icon-holder { background: rgba(27, 20, 100, 0.1); color: var(--navy); }
  .feature-box.color-3:hover .icon-holder { background: var(--navy); color: var(--white); }
  .feature-content h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--heading);
  }
  .feature-content h3 .accent { color: var(--primary); }
  .feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin: 0;
  }

  /* ============================
   * NEWS + VIDEO SPLIT
   * ============================ */
  .split { background: var(--white); }
  .split-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-2);
  }
  .split-head h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
  }
  .split-head h2 .accent { color: var(--primary); }
  .split-head .view-all {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
  }

  .news-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-2);
    text-decoration: none;
    color: inherit;
    transition: padding 0.3s ease;
  }
  .news-item:last-child { border-bottom: none; }
  .news-item:hover { padding-left: 8px; }
  .news-item .date-card {
    background: var(--primary-soft);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    transition: background 0.3s;
  }
  .news-item:hover .date-card { background: var(--primary); }
  .news-item:hover .date-card .d, .news-item:hover .date-card .m { color: var(--white); }
  .news-item .date-card .d {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    transition: color 0.3s;
  }
  .news-item .date-card .m {
    font-size: 12px;
    font-weight: 600;
    color: var(--body-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 3px;
    transition: color 0.3s;
  }
  .news-item .nbody .cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .news-item .nbody h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--heading);
    margin: 0;
    transition: color 0.3s;
  }
  .news-item:hover .nbody h4 { color: var(--primary); }
  .news-item .arrow .fa {
    color: var(--secondary);
    font-size: 16.5px;
    transition: transform 0.3s;
  }
  .news-item:hover .arrow .fa { transform: translateX(6px); }

  .video-card {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--logo-blue-deep), var(--navy));
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(28, 31, 36, 0.1);
  }
  .video-card svg.thumb { width: 100%; height: 100%; opacity: 0.7; }
  .video-card .vlive {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--white);
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .video-card .vlive::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--danger);
    border-radius: 50%;
    animation: blink 1.4s infinite;
  }
  .video-card .vplay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  }
  .video-card:hover .vplay { transform: translate(-50%, -50%) scale(1.1); background: var(--secondary); }
  .video-card .vplay .fa {
    font-size: 26px;
    color: var(--primary);
    margin-left: 4px;
    transition: color 0.3s;
  }
  .video-card:hover .vplay .fa { color: var(--white); }
  .video-card .vinfo {
    position: absolute;
    bottom: 14px; left: 14px; right: 14px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 16px;
  }
  .video-card .vinfo h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading);
    margin-bottom: 4px;
  }
  .video-card .vinfo .meta {
    font-size: 13px;
    color: var(--body);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* ============================
   * PARTNERS
   * ============================ */
  .partners-section {
    background: var(--light-1);
    padding: 60px 0 220px;
  }
  .partner-marquee {
    margin-top: 36px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  }
  .partner-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    align-items: center;
  }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .partner-logo {
    flex-shrink: 0;
    padding: 14px 26px;
    background: var(--white);
    border: 1px solid var(--light-3);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--body);
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .partner-logo:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 131, 243, 0.15);
  }
  .partner-logo .dot {
    width: 7px; height: 7px;
    background: var(--secondary);
    border-radius: 50%;
  }

  /* ============================
   * CTA SECTION — Floating overlap at partners↔footer boundary
   * Pattern: section transparent, card translateY 50% to half-bridge footer
   * ============================ */
  .cta-section {
    background: transparent;
    padding: 64px 0;
    position: relative;
    z-index: 5;
    margin: 0;
  }
  #register { scroll-margin-top: 140px; }
  .cta-section .cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 48px;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(28, 31, 36, 0.35), 0 12px 28px rgba(71, 131, 243, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
  }
  @keyframes cta-float {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
  }
  /* Single accent glow — top-right, behind content (z-index 0) */
  .cta-section .cta-card::before {
    content: '';
    position: absolute;
    top: -140px; right: -100px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(249, 161, 52, 0.28), transparent 65%);
    pointer-events: none;
    z-index: 0;
  }
  .cta-section .cta-card > .row {
    position: relative;
    z-index: 1;
    align-items: center;
  }

  /* CTA card text colors — must be explicit white since base h2/p are dark */
  .cta-section .cta-card h2,
  .cta-card h2 {
    color: var(--white);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 10px;
  }
  .cta-section .cta-card h2 .accent,
  .cta-card h2 .accent {
    color: var(--secondary);
  }
  .cta-section .cta-card p,
  .cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 44ch;
  }

  /* Re-attach eyebrow style for new section */
  .cta-section .footer-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 161, 52, 0.2);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
  }
  .cta-section .footer-cta-eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
  }

  /* Re-attach bullets style for new section */
  .cta-section .footer-cta-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
  }
  .cta-section .footer-cta-bullets span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .cta-section .footer-cta-bullets .fa {
    color: var(--secondary);
    font-size: 16.5px;
  }
  /* Legacy alias for old class .footer-cta points to same styling */
  .footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 48px 56px;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(28, 31, 36, 0.35);
    position: relative;
  }

  /* ============================
   * FOOTER — Sitemap + cert strip + legal (UKTA brand navy)
   * ============================ */
  footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    overflow: hidden;
  }
  /* Subtle gradient depth — darker top fading to navy */
  footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 200px, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }
  /* Accent glow — orange right, blue left for warmth */
  footer .glow-orange,
  footer::after {
    content: '';
    position: absolute;
    top: 100px; right: -250px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249, 161, 52, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
  footer > * { position: relative; z-index: 1; }
  .footer-cta .row {
    position: relative;
    z-index: 2;
    margin: 0 -12px;
    align-items: center;
  }
  .footer-cta .row > [class*="col-"] {
    padding: 0 12px;
  }
  /* Decorative glow stays inside */
  .footer-cta-decor {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    pointer-events: none;
  }
  .footer-cta::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark), var(--secondary));
    border-radius: 0 0 24px 24px;
  }
  .footer-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 161, 52, 0.18);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
  }
  .footer-cta-eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
  }
  .footer-cta h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 12px;
  }
  .footer-cta h2 .accent { color: var(--secondary); }
  .footer-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 46ch;
  }
  .footer-cta-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
  }
  .footer-cta-bullets span { display: inline-flex; align-items: center; gap: 8px; }
  .footer-cta-bullets .fa { color: var(--secondary); }

  /* Newsletter form — integrate with parent blue gradient card */
  .cta-form {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 22px 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(27, 20, 100, 0.25), inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
  }
  .cta-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    border-radius: 16px 16px 0 0;
  }
  .cta-form .form-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
  }
  .cta-form .form-title .ico {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(249, 161, 52, 0.4);
  }
  .cta-form .form-title .accent {
    color: var(--secondary-dark);
    font-weight: 800;
  }
  .cta-form .form-title .accent { color: var(--primary); }
  .cta-form .form-sub {
    font-size: 14px;
    color: var(--body);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--light-3);
  }
  .cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .cta-form input[type="text"],
  .cta-form input[type="tel"],
  .cta-form input[type="email"] {
    padding: 12px 14px 12px 38px;
    background: var(--light-1);
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 16.5px;
    font-weight: 500;
    color: var(--heading);
    transition: all 0.25s;
    width: 100%;
    box-sizing: border-box;
  }
  .cta-form .input-wrap {
    position: relative;
  }
  .cta-form .input-wrap .fa {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--body-soft);
    font-size: 16px;
    pointer-events: none;
    transition: color 0.2s;
  }
  .cta-form input::placeholder { color: var(--body-soft); }
  .cta-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-soft);
  }
  .cta-form .input-wrap:focus-within .fa { color: var(--primary); }
  .cta-form .agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
    cursor: pointer;
  }
  .cta-form .agree input { width: auto; margin-top: 2px; accent-color: var(--secondary); }
  .cta-form .agree a { color: var(--primary); font-weight: 600; text-decoration: underline; }
  .cta-form button {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(249, 161, 52, 0.5);
    position: relative;
    overflow: hidden;
  }
  .cta-form button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }
  .cta-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(249, 161, 52, 0.6); }
  .cta-form button:hover::before { transform: translateX(100%); }
  .cta-form button .fa { transition: transform 0.3s; position: relative; z-index: 1; }
  .cta-form button:hover .fa { transform: translateX(4px); }
  .cta-form button span { position: relative; z-index: 1; }

  /* Footer main sitemap — top padding accommodates floating CTA lower half.
     Scoped to .footer-main so this 5-col sitemap doesn't leak onto the shared
     shell footer (.footer > .footer-grid) which has only 4 columns. */
  .footer-main { padding: 280px 0 28px; position: relative; }
  .footer-main .footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-grid h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .footer-grid h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--secondary);
  }
  .footer-grid h4 .num {
    font-size: 12.5px;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.16em;
  }
  .footer-grid ul { list-style: none; padding: 0; margin: 0; }
  .footer-grid li { margin-bottom: 10px; }
  .footer-grid li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .footer-grid li a:hover { color: var(--secondary); transform: translateX(4px); }
  .footer-grid li a::before {
    content: '›';
    color: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s;
    font-weight: 700;
  }
  .footer-grid li a:hover::before { opacity: 1; }
  .footer-grid li.has-badge a::after {
    content: 'Mới';
    font-size: 9px;
    background: var(--secondary);
    color: var(--white);
    padding: 1px 6px;
    border-radius: 100px;
    margin-left: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* Brand column */
  .footer-brand .footer-logo-wrap {
    display: inline-block;
    background: var(--white);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .footer-brand .footer-logo-wrap img { height: 40px; display: block; }
  .footer-brand .tagline {
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 22px;
    max-width: 38ch;
  }
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
  }
  .contact-item .ico-wrap {
    width: 34px; height: 34px;
    background: rgba(249, 161, 52, 0.15);
    color: var(--secondary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16.5px;
  }
  .contact-item .l {
    display: block;
    font-size: 12.5px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .contact-item a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-item a:hover { color: var(--secondary); }

  .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }
  .footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 16px;
  }
  .footer-social a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px) rotate(-6deg);
    box-shadow: 0 8px 16px rgba(249, 161, 52, 0.4);
  }

  /* Trust/cert badges strip */
  .footer-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-trust .label {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-trust .badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
  }
  .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
  }
  .trust-badge .badge-ico {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 17px;
  }
  .trust-badge strong { color: var(--white); font-weight: 700; display: block; line-height: 1.2; }
  .trust-badge span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); display: block; }

  /* Bottom legal bar */
  .colophon {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 14px;
  }
  .colophon .left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .colophon .left img { height: 22px; opacity: 0.7; }
  .colophon .legal { display: flex; gap: 20px; }
  .colophon .legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
  }
  .colophon .legal a:hover { color: var(--secondary); }

  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(249, 161, 52, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(.2,.7,.2,1);
    z-index: 100;
    font-size: 18px;
  }
  .back-to-top.show { opacity: 1; pointer-events: auto; }
  .back-to-top:hover { background: var(--secondary-dark); transform: translateY(-4px); }

  /* ============================
   * RESPONSIVE — Bootstrap-style breakpoints
   * ============================ */
  @media (max-width: 991px) {
    .navbar-nav { display: none; }
    .navbar-mobile-toggle { display: inline-flex; }
    .navbar-brand .tag { display: none; }
    .top-line .container, .trust .container { justify-content: center; text-align: center; }
    .trust-label { border-right: none; padding-right: 0; }
    .row { gap: 0; }
    .col-6, .col-4, .col-3, .col-5, .col-7, .col-8 { flex: 0 0 100%; max-width: 100%; padding: 0 15px 24px; }
    .about-text { padding-left: 15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-cta { padding: 32px 24px; }
    .footer-cta-wrap { margin-top: -60px; }
    footer { margin-top: 60px; }
    .announce { font-size: 13px; padding: 8px 36px 8px 16px; }
    .announce .close-btn { right: 8px; }
  }
  @media (max-width: 767px) {
    .hero { padding: 40px 0 50px; }
    section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .top-line-info { font-size: 13px; gap: 12px; }
    .colophon { flex-direction: column; align-items: flex-start; }
  }

  /* ========================================
   * V7 NEW SECTIONS — Info-rich blocks
   * ======================================== */

  /* ====== FEE INLINE (added to cert cards) ====== */
  .cert-fee {
    display: flex; align-items: baseline; gap: 10px;
    padding: 12px 14px;
    background: var(--secondary-soft);
    border-radius: 8px;
    margin-bottom: 18px;
    border-left: 3px solid var(--secondary);
  }
  .cert-fee .fee-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .cert-fee .fee-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin-left: auto;
  }
  .cert-fee .fee-value .currency {
    font-size: 12.5px;
    color: var(--body);
    font-weight: 500;
    margin-left: 2px;
  }

  /* ====== PROCESS — 4 step timeline ====== */
  .process-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
  }
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 28px;
  }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    z-index: 0;
  }
  .process-step {
    text-align: center;
    padding: 0 18px;
    position: relative;
    z-index: 1;
  }
  .process-step .step-num {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(71, 131, 243, 0.15);
  }
  .process-step:hover .step-num {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
  }
  .process-step:nth-child(2):hover .step-num { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
  .process-step:nth-child(3):hover .step-num { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .process-step:nth-child(4):hover .step-num { background: #28a745; color: var(--white); border-color: #28a745; }
  .process-step .step-num .fa {
    font-size: 24px;
  }
  .process-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 10px;
    line-height: 1.3;
  }
  .process-step p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.55;
    margin: 0;
  }
  .process-step .step-meta {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-soft);
    border-radius: 100px;
    letter-spacing: 0.04em;
  }

  /* ====== COMPARISON — OTE vs IELTS vs TOEFL ====== */
  .compare-section { background: var(--white); }
  .compare-wrap {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(28, 31, 36, 0.04);
  }
  .compare-table { width: 100%; border-collapse: collapse; }
  .compare-table thead th {
    background: var(--bg-soft);
    padding: 18px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    border-bottom: 2px solid var(--border);
    position: relative;
  }
  .compare-table thead th.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
  }
  .compare-table thead th.featured::before {
    content: '★ Khuyến nghị';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: var(--secondary);
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 100px 100px 0 0;
  }
  .compare-table thead th .logo-row {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .compare-table thead th .logo-row .fa { font-size: 17px; }
  .compare-table thead th.featured .logo-row .fa { color: var(--secondary); }
  .compare-table thead th .sub {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--body);
    margin-top: 4px;
  }
  .compare-table thead th.featured .sub { color: rgba(255,255,255,0.85); }

  .compare-table thead th:first-child {
    text-align: left;
    padding-left: 24px;
    background: var(--white);
  }
  .compare-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--body-soft);
    text-align: center;
  }
  .compare-table tbody td:first-child {
    text-align: left;
    padding-left: 24px;
    font-weight: 600;
    color: var(--heading);
    background: var(--bg-soft);
  }
  .compare-table tbody td.highlight {
    background: rgba(71, 131, 243, 0.04);
    color: var(--heading);
    font-weight: 600;
  }
  .compare-table tbody td .badge-yes {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #28a745;
  }
  .compare-table tbody td .badge-no {
    color: var(--body-soft);
  }
  .compare-table tbody td strong { color: var(--heading); }
  .compare-table tbody tr:hover td:not(:first-child) { background: rgba(249, 161, 52, 0.04); }
  .compare-table tbody tr:hover td.highlight { background: rgba(71, 131, 243, 0.08); }

  .compare-note {
    background: var(--bg-soft);
    padding: 14px 24px;
    font-size: 14px;
    color: var(--body);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
  }
  .compare-note .fa { color: var(--secondary); }

  /* ====== TESTIMONIALS ====== */
  .testimonials-section {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  }
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 26px;
    position: relative;
    transition: all 0.3s;
  }
  .testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 14px; right: 22px;
    font-family: Georgia, serif;
    font-size: 64px;
    color: var(--primary-soft);
    line-height: 1;
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28,31,36,0.08);
    border-color: transparent;
  }
  .testimonial-card .stars {
    color: var(--secondary);
    font-size: 16.5px;
    margin-bottom: 14px;
    letter-spacing: 2px;
  }
  .testimonial-card .quote {
    font-size: 17px;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 22px;
    min-height: 110px;
    font-style: italic;
  }
  .testimonial-card .quote strong { color: var(--heading); font-style: normal; font-weight: 700; }
  .testimonial-card .author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .testimonial-card .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--navy));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
  }
  .testimonial-card .author .info { flex: 1; }
  .testimonial-card .author .name {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
  }
  .testimonial-card .author .meta {
    font-size: 13px;
    color: var(--body);
    margin-top: 3px;
  }
  .testimonial-card .author .score {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  /* ====== FAQ ACCORDION ====== */
  .faq-section { background: var(--white); }
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    max-width: 1140px;
    margin: 0 auto;
  }
  .faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
  }
  .faq-item:hover { border-color: var(--primary); }
  .faq-item.open {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(71, 131, 243, 0.1);
  }
  .faq-q {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--primary); }
  .faq-q .q-num {
    width: 28px; height: 28px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .faq-item.open .q-num {
    background: var(--primary);
    color: var(--white);
  }
  .faq-q h4 {
    flex: 1;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.4;
  }
  .faq-q .toggle {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--body);
    flex-shrink: 0;
    transition: all 0.3s;
  }
  .faq-item.open .toggle {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: rotate(45deg);
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 22px;
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
  }
  .faq-a strong { color: var(--heading); }
  .faq-a a { color: var(--primary); font-weight: 600; }
  .faq-item.open .faq-a {
    max-height: 320px;
    padding: 0 22px 20px;
  }

  /* ====== RESPONSIVE for new sections ====== */
  @media (max-width: 991px) {
    .process-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
    .process-grid::before { display: none; }
    .compare-table { font-size: 13px; }
    .compare-table thead th, .compare-table tbody td { padding: 12px 8px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 767px) {
    .process-grid { grid-template-columns: 1fr; }
    .compare-wrap { overflow-x: auto; }
    .compare-table { min-width: 600px; }
  }

/* ============================================================
 * v2 responsive (new blocks + shell) — overrides, load last
 * ============================================================ */
@media (max-width: 991px) {
  /* Desktop nav hidden; the off-canvas drawer (defined near file end) takes over. */
  .navbar-nav { display: none; }
  .nav-toggle { display: block; }
  .stat-strip, .news-grid, .team-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .table-scroll table.t { min-width: 640px; }
}
@media (max-width: 575px) {
  .stat-strip, .news-grid, .team-grid, .gallery { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: 18px; }
  .top-line-info span:not(:first-child) { display: none; }
}

/* ---------- responsive grid stacking (base .col-* have none) ---------- */
@media (max-width: 991px) {
  .row > .col-3, .row > .col-4 { flex: 0 0 50%; max-width: 50%; }
  section.container { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 767px) {
  .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .about-text { padding-left: 0; }
}

/* ---------- home (V7) why-row mobile collapse ---------- */
@media (max-width: 991px) { .why-row { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 767px) { .why-row { grid-template-columns: 1fr !important; } }

/* ---------- contact map iframe ---------- */
.map-frame { width: 100%; min-height: 380px; height: 100%; border: 0; border-radius: var(--r-md); display: block; }

/* ---------- mobile header refinements ---------- */
@media (max-width: 991px) {
  .navbar .container { gap: 14px; }
  .navbar-cta { margin-left: auto; }
}
@media (max-width: 767px) {
  .top-line { display: none; }            /* declutter: hotline/email live in footer */
  .navbar-brand img { height: 32px; }
}

/* ============================================================
 * CONSOLIDATED responsive grid policy (authoritative, last)
 *  - Tablet 768–991: card grids 2-col; hero/about/news/cta full-width
 *  - Mobile <=767: single column
 *  - Stacked cols keep 24px vertical gap; tighter gutter on phones
 * ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
  .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .hero .row > [class*="col-"],
  .about .row > [class*="col-"],
  .split .row > [class*="col-"],
  .cta-card > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767px) {
  .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 991px) {
  .row > [class*="col-"] { padding-bottom: 24px; }   /* vertical gap when wrapped/stacked */
}
@media (max-width: 575px) {
  .container { padding-left: 16px; padding-right: 16px; }
  section.container { padding-top: 40px; padding-bottom: 40px; }
}

/* ============================================================
 * Mobile: move "Đăng ký thi" CTA from header into the menu
 * ============================================================ */
.nav-cta-item { display: none; }            /* desktop: hidden (header button used) */
@media (max-width: 991px) {
  .navbar-cta .btn-primary { display: none; }     /* drop redundant header button */
  .navbar.open .nav-cta-item { display: block; padding: 10px 12px 4px; }
  .navbar.open .nav-cta-item .nav-cta-btn { display: flex; width: 100%; }
}

/* ============================================================
 * Compact sizing on phones ("thu nhỏ bớt các item")
 * ============================================================ */
@media (max-width: 575px) {
  .hero { padding: 28px 0 36px; }
  .hero h1 { font-size: 24px; line-height: 1.25; }
  .hero-lead { font-size: 16.5px; }
  section { padding: 40px 0; }
  section.container { padding-top: 36px; padding-bottom: 36px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 21px; }
  .section-lead { font-size: 16.5px; }
  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 22px; }
  h1, .h1 { font-size: 22px; }
  .card, .cert-card, .feature-box, .hero-card { padding: 18px; }
  .cta-band { padding: 28px 22px; }
  .cta-section .cta-card { padding: 28px 22px; }
}

/* ---------- trust strip: stack top/bottom on tablet & mobile ---------- */
@media (max-width: 991px) {
  .trust .container { flex-direction: column; gap: 16px; }
  .trust-items { justify-content: center; flex-wrap: wrap; gap: 14px 24px; width: 100%; }
}

/* ---------- trust strip: one item per line, larger, evenly spaced (mobile/tablet) ---------- */
@media (max-width: 991px) {
  .trust { padding: 30px 0; }
  .trust-items { flex-direction: column; align-items: center; gap: 18px; }
  .trust-item { font-size: 17px; }
  .trust-item .fa { font-size: 19px; width: 22px; }
}

/* ---------- CTA register form: stack the 2-up row on phones ---------- */
@media (max-width: 575px) {
  .cta-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- partners: developed & recognized cards ---------- */
.logo-card { display: flex; align-items: center; gap: 14px; padding: 18px 26px; height: auto; }
.logo-card i { font-size: 28px; color: var(--primary); }
.logo-card strong { display: block; color: var(--heading); font-size: 17px; }
.logo-card span { display: block; color: var(--body); font-size: 16px; margin-top: 2px; }

/* ---------- timeline: hide horizontal connector when stacked (fixes mobile overflow) ---------- */
@media (max-width: 575px) {
  .timeline .node::after { display: none; }
  .timeline .node { padding-top: 30px; }
}

/* ---------- error pages (404/403/500/502) ---------- */
.error-page { text-align: center; max-width: 640px; margin: 0 auto; padding-top: 24px; }
.error-code { font-size: 120px; font-weight: 800; line-height: 1; letter-spacing: -2px; color: var(--primary); }
.error-code span { color: var(--secondary); }
.error-page h1 { margin-top: 8px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 575px) { .error-code { font-size: 84px; } }

/* ---------- footer legal row ---------- */
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal a { display: inline; color: rgba(255,255,255,.8); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 575px) { .footer-legal { flex-direction: column; gap: 6px; } }

/* ============================================================
 * Off-canvas mobile/tablet menu (drawer + backdrop + close)
 * ============================================================ */
.nav-close, .nav-backdrop { display: none; }
.no-scroll { overflow: hidden; }
@media (max-width: 991px) {
  .navbar.open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 12, 40, .5); z-index: 1100; }
  .navbar.open .navbar-nav {
    display: block; position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(380px, 86vw); margin: 0; background: #fff; z-index: 1200;
    padding: 72px 22px 28px; overflow-y: auto; box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
  }
  .navbar.open .nav-close {
    display: flex; position: fixed; top: 14px; right: 16px; z-index: 1300;
    width: 42px; height: 42px; border: none; background: var(--light-1); border-radius: 50%;
    align-items: center; justify-content: center; font-size: 20px; color: var(--heading); cursor: pointer;
  }
  .navbar.open .navbar-nav > li { position: static; }
  .navbar.open .navbar-nav > li > a { font-size: 17px; padding: 12px 6px; }
  .navbar.open .mega { position: static; display: block; box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 14px; }
}
@media (max-width: 575px) {
  .navbar.open .navbar-nav { width: 100%; }   /* full-screen on phones */
}

/* ============================================================
 * PAGE-SPECIFIC BLOCKS (moved out of per-page inline <style>)
 * ============================================================ */

/* ---- register: hold countdown + stepper + uploads + review ---- */
.hold-bar { display: flex; align-items: center; gap: 12px; background: var(--secondary-soft);
  border: 1px solid var(--secondary); color: var(--secondary-dark); border-radius: var(--r-md);
  padding: 12px 18px; margin-bottom: 24px; font-weight: 600; }
.hold-bar .time { font-variant-numeric: tabular-nums; background: var(--white); padding: 3px 10px;
  border-radius: var(--r-sm); color: var(--heading); }
.stepper { display: flex; gap: 8px; margin-bottom: 28px; }
.stepper .st { flex: 1; text-align: center; padding-bottom: 12px; border-bottom: 3px solid var(--light-3);
  color: var(--body-soft); font-weight: 600; font-size: 17px; }
.stepper .st .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--light-3); color: var(--white); font-size: 16px; margin-right: 7px; }
.stepper .st.on { border-bottom-color: var(--primary); color: var(--heading); }
.stepper .st.on .n { background: var(--primary); }
.stepper .st.done .n { background: var(--success); }
.upload-tile { border: 2px dashed var(--light-4); border-radius: var(--r-md); padding: 26px; text-align: center;
  color: var(--body); cursor: pointer; transition: var(--transition); }
.upload-tile:hover { border-color: var(--primary); background: var(--primary-soft); }
.upload-tile i { font-size: 30px; color: var(--primary); display: block; margin-bottom: 10px; }
.upload-tile.has { border-style: solid; border-color: var(--success); background: #f3fbf5; color: var(--success); }
.pii-note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--body-soft);
  background: var(--light-1); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 14px; }
.rev { list-style: none; padding: 0; margin: 0; }
.rev li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--light-2); font-size: 17px; }
.rev li span:first-child { color: var(--body); }
.rev li span:last-child { color: var(--heading); font-weight: 600; text-align: right; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.ok-screen { text-align: center; padding: 36px 20px; }
.ok-screen .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--success); color: var(--white);
  display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; }
.ok-code { font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--navy);
  background: var(--primary-soft); display: inline-block; padding: 8px 18px; border-radius: var(--r-sm); margin: 8px 0 4px; }

/* ---- schedule: exam-session cards ---- */
.ses-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.ses-toolbar .inp { max-width: 240px; }
.ses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.ses-card { border: 1px solid var(--light-3); border-radius: var(--r-md); padding: 22px; background: var(--white);
  display: flex; flex-direction: column; transition: var(--transition); }
.ses-card:hover { box-shadow: var(--shadow-soft); border-color: var(--primary); }
.ses-card.full { opacity: .72; }
.ses-cert { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px;
  color: var(--primary-dark); background: var(--primary-soft); padding: 4px 12px; border-radius: var(--r-pill); align-self: flex-start; }
.ses-card h3 { margin: 14px 0 4px; font-size: 18px; color: var(--heading); }
.ses-meta { list-style: none; padding: 0; margin: 14px 0; }
.ses-meta li { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--body); font-size: 17px; }
.ses-meta li i { width: 18px; color: var(--primary); text-align: center; }
.ses-avail { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.ses-bar { flex: 1; height: 8px; border-radius: 5px; background: var(--light-2); overflow: hidden; }
.ses-bar > i { display: block; height: 100%; background: var(--success); }
.ses-bar > i.hot { background: var(--secondary); }
.ses-bar > i.full { background: var(--light-4); }
.ses-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ses-fee { font-size: 16px; color: var(--body-soft); }
.ses-fee strong { color: var(--heading); font-size: 16px; }

/* ---- lookup (tra cứu): form + result ---- */
.lookup { max-width: 540px; }
.status-line { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.status-line .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; color: var(--white); flex: none; }
.status-timeline { list-style: none; padding: 0; margin: 18px 0 0; }
.status-timeline li { position: relative; padding: 0 0 18px 26px; color: var(--body); font-size: 17px; }
.status-timeline li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--light-4); }
.status-timeline li.done::before { background: var(--success); }
.status-timeline li.cur::before { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.status-timeline li::after { content: ''; position: absolute; left: 10px; top: 14px; bottom: 0; width: 2px; background: var(--light-2); }
.status-timeline li:last-child::after { display: none; }
.status-timeline li b { color: var(--heading); }

/* ---- admit card (phiếu dự thi) — mirrors the reportlab A4 layout ---- */
.admit-wrap { background: var(--light-2); padding: 32px 0; }
.admit-actions { max-width: 720px; margin: 0 auto 18px; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow-soft); overflow: hidden; }
.ticket-head { background: var(--navy); color: var(--white); padding: 24px 32px; display: flex;
  justify-content: space-between; align-items: center; }
.ticket-head .brand { font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.ticket-head .brand small { display: block; font-weight: 500; font-size: 13px; opacity: .8; letter-spacing: .02em; }
.ticket-head .doc { text-align: right; font-size: 16px; opacity: .9; }
.ticket-head .doc strong { display: block; font-size: 17px; letter-spacing: .06em; }
.ticket-body { padding: 30px 32px; display: grid; grid-template-columns: 1fr 170px; gap: 30px; }
.ad-kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; }
.ad-kv dt { color: var(--body); font-size: 16px; }
.ad-kv dd { margin: 0; color: var(--heading); font-weight: 700; font-size: 17px; }
.ad-code { font-family: monospace; letter-spacing: .05em; }
.qr-box { text-align: center; }
.qr { width: 160px; height: 160px; border: 1px solid var(--light-3); border-radius: var(--r-sm); padding: 10px; background:
  conic-gradient(from 0deg, #000 0 25%, #fff 0 50%, #000 0 75%, #fff 0) 0 0/40px 40px,
  repeating-linear-gradient(0deg, #000 0 8px, #fff 8px 16px),
  repeating-linear-gradient(90deg, #000 0 8px, #fff 8px 16px);
  background-blend-mode: multiply; image-rendering: pixelated; }
.qr-cap { font-size: 13px; color: var(--body-soft); margin-top: 8px; }
.ticket-foot { border-top: 1px dashed var(--light-4); padding: 20px 32px; color: var(--body); font-size: 16px; }
.ticket-foot h4 { margin: 0 0 8px; color: var(--heading); font-size: 16.5px; }
.ticket-foot ul { margin: 0; padding-left: 18px; }
.ticket-foot li { margin: 3px 0; }
@media (max-width: 640px) { .ticket-body { grid-template-columns: 1fr; } .qr-box { justify-self: center; } }

/* ============================================================
 * HOMEPAGE 2026 REWORK — new component styles (appended at EOF
 * so equal-specificity rules win the cascade). Home page only.
 * ============================================================ */

/* shared image/logo placeholder */
.img-ph { display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--light-2); border: 1px dashed var(--light-4); border-radius: var(--r-md);
  color: var(--body-soft); font-size: 13px; font-weight: 600; padding: 12px; box-sizing: border-box; }

/* Lịch thi (roll) */
.sched-list { border: 1px solid var(--light-3); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.roll-headrow { display: grid; grid-template-columns: 28px 110px 1fr auto; gap: 14px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--body-soft); background: var(--light-1); border-bottom: 1px solid var(--light-3); }
.roll-row { display: grid; grid-template-columns: 28px 110px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--light-2); }
.roll-row:last-child { border-bottom: none; }
.roll-row { cursor: pointer; transition: background .15s; }
.roll-row input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.roll-row:hover { background: var(--light-1); }
.roll-row:has(input:checked) { background: var(--primary-soft); }
.sched-picked { margin-top: 14px; font-size: 16px; color: var(--body); }
.sched-picked strong { color: var(--primary); }
.roll-row .rdate { font-size: 18px; font-weight: 700; color: var(--heading); line-height: 1.1; }
.roll-row .rdate small { display: block; font-size: 12.5px; font-weight: 600; color: var(--body-soft); }
.roll-row .rdl { font-size: 16.5px; color: var(--body); }
.roll-row .rdl strong { color: var(--heading); font-weight: 700; }
.roll-row .rcert { font-size: 16px; font-weight: 700; color: var(--success);
  background: #e6f6ea; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
/* standalone schedule section — 2 columns (intro + roll list) */
.exam-sched { background: var(--light-1); }
.exam-sched .row { align-items: center; }
.exam-sched h2 { font-size: 26px; }
.exam-sched .col-5 .btn-primary { margin-top: 6px; }
.exam-logos { display: flex; gap: 16px; align-items: center; margin-top: 20px; }
.sched-allbtn { display: flex; margin-top: 16px; }
.sched-allbtn .btn { width: 100%; justify-content: center; }
@media (max-width: 767px) {
  .exam-sched .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .exam-sched .col-5 { margin-bottom: 24px; }
  .exam-logos { justify-content: flex-start; }
}

/* Về bài thi — fee block on exam cards */
.exam-fee { margin: auto 0 14px; border-top: 1px dashed var(--light-4); padding-top: 12px; }
.exam-fee div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.exam-fee div span { color: var(--body); font-size: 16px; }
.exam-fee div strong { color: var(--secondary-dark); font-weight: 800; font-size: 17px; white-space: nowrap; }
.exam-note { margin-top: 18px; }

/* Công nhận toàn cầu + MOET banner */
.moet-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--primary-soft), #ffffff 60%, var(--secondary-soft));
  border: 1px solid var(--light-3); border-left: 5px solid var(--secondary);
  border-radius: var(--r-md); padding: 24px 30px; margin-bottom: 40px; }
.moet-banner .mb-text { text-align: center; }
.moet-banner .seal { color: var(--secondary); font-size: 26px; margin-bottom: 8px; }
.moet-banner .mb-text p { margin: 0; color: var(--heading); font-weight: 700; font-size: 17px; line-height: 1.55; }
.moet-banner .mb-ukta img { height: 52px; width: auto; }
.recog-stat { text-align: center; margin: 4px 0 16px; }
.recog-stat .v { display: block; font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1; }
.recog-stat .l { color: var(--body); }
.uni-list { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 12px; }
.uni-list li { background: #fff; border: 1px solid var(--light-3); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 16.5px; font-weight: 700; color: var(--heading); }
.uni-list li span { display: block; font-size: 13px; font-weight: 500; color: var(--body); margin-top: 3px; }
.recog-note { max-width: 920px; margin: 0 auto; }
@media (max-width: 991px) { .uni-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .moet-banner { grid-template-columns: 1fr; text-align: center; }
  .moet-banner .mb-logo, .moet-banner .mb-ukta { justify-self: center; } }

/* Trung tâm khảo thí */
.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.center-card { background: #fff; border: 1px solid var(--light-3); border-radius: var(--r-md); overflow: hidden; }
.center-card .img-ph { display: flex; width: 100%; aspect-ratio: 16/10; border: none;
  border-bottom: 1px dashed var(--light-4); border-radius: 0; }
.center-card .cc-body { padding: 14px 16px; }
.center-card h3 { font-size: 17px; margin-bottom: 10px; }
.center-card .cc-row { display: flex; gap: 8px; font-size: 16.5px; color: var(--body); margin-bottom: 6px; }
.center-card .cc-row .fa { color: var(--primary); margin-top: 4px; }
@media (max-width: 991px) { .center-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .center-grid { grid-template-columns: 1fr; } }

/* Trải nghiệm thí sinh */
.testi-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.testi-quotes { display: grid; gap: 12px; }
.testi { margin: 0; background: #fff; border: 1px solid var(--light-3); border-left: 4px solid var(--primary);
  border-radius: var(--r-md); padding: 14px 18px; }
.testi p { font-style: italic; color: var(--heading); margin: 0 0 14px; }
.testi .who { display: flex; align-items: center; gap: 10px; }
.testi .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--light-2);
  border: 1px dashed var(--light-4); flex: none; }
.testi .who .nm { display: block; font-weight: 700; color: var(--heading); font-size: 16.5px; }
.testi .who .rl { display: block; color: var(--body-soft); font-size: 13px; }
.testi-video .img-ph { display: flex; flex-direction: column; gap: 10px; width: 100%; aspect-ratio: 3/4; }
.testi-video .img-ph .fa { font-size: 40px; color: var(--primary); }
@media (max-width: 767px) { .testi-grid { grid-template-columns: 1fr; } }

/* Hero — MOET recognition focus (compact, centered) */
.hero-moet { text-align: center; padding: 44px 0; }
.hero-moet-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }
.hero-moet .section-eyebrow { color: var(--secondary); }
.hero-moet .seal { display: block; font-size: 36px; color: var(--secondary); margin: 12px 0 10px; }
.hero-moet h1 { font-size: 40px; line-height: 1.2; margin: 0 0 16px; }
.moet-statement { font-size: 21px; font-weight: 600; color: var(--heading); line-height: 1.5;
  max-width: 800px; margin: 0 auto 20px; }
.hero-logos { display: flex; gap: 24px; align-items: center; justify-content: center; margin: 0 0 22px; flex-wrap: wrap; }
.hero-logos .hero-ukta { height: 44px; width: auto; }
.hero-moet .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 575px) { .hero-moet h1 { font-size: 26px; } .moet-statement { font-size: 17px; } }

/* ============================================================
 * Twin-door: consult vs register (register tab + contact page)
 * One shared form language, two entry contexts.
 * ============================================================ */
.mode-switch { display: inline-flex; background: var(--light-1); border: 1px solid var(--light-3);
  border-radius: var(--r-pill); padding: 5px; gap: 4px; margin-bottom: 24px; max-width: 100%; }
.mode-switch button { border: none; background: none; font-family: inherit; font-size: 16px;
  font-weight: 600; color: var(--body); padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: var(--transition); }
.mode-switch button:hover { color: var(--heading); }
.mode-switch button.on { background: var(--white); color: var(--heading); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.mode-switch button.on .fa { color: var(--primary); }
.mode-switch button[data-mode="consult"].on .fa { color: var(--secondary); }

/* segmented mini-control — contact channel chips */
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1px solid var(--light-3); background: var(--white); color: var(--body);
  font-family: inherit; font-size: 16.5px; font-weight: 600; padding: 8px 15px; border-radius: var(--r-pill);
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: var(--transition); }
.seg button:hover { border-color: var(--primary); color: var(--primary); }
.seg button.on { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* consult reassurance / partner note — warm accent to signal "talk to a human" */
.consult-card { border-top: 3px solid var(--secondary); }
.consult-card .icon-holder { background: var(--secondary-soft); color: var(--secondary-dark); }

@media (max-width: 600px) {
  .mode-switch { display: flex; width: 100%; }
  .mode-switch button { flex: 1; justify-content: center; padding: 10px 12px; }
}

/* Exam structure tables (content from ukta.edu.vn) */
.exam-part-h { font-size: 18px; margin: 22px 0 8px; color: var(--heading); }
.exam-struct td { vertical-align: top; }
.exam-struct td:first-child { min-width: 84px; }
