/* Homepage V3 hotfix: desktop-first, pixel-close landing page.
   This file is loaded only by Areas/Public/Pages/Index.cshtml. */

:root {
  --hv3-ink: #081c38;
  --hv3-muted: #526174;
  --hv3-bg: #fbf8f3;
  --hv3-card: #ffffff;
  --hv3-line: #eee4d9;
  --hv3-gold: #c99a48;
  --hv3-navy: #071b36;
  --hv3-shadow: 0 12px 30px rgba(8, 28, 56, .08);
}

html { scroll-behavior: smooth; }
body { background: var(--hv3-bg) !important; color: var(--hv3-ink); font-family: "Quicksand", "Source Sans 3", sans-serif; }
body .vc-lp { background: var(--hv3-bg) !important; }
.vc-footer { display: none !important; }

/* Header */
.vc-header { position: sticky; top: 0; z-index: 1000; }
.vc-header__nav { background: rgba(255,253,249,.97) !important; border-bottom: 1px solid rgba(235,226,216,.8) !important; box-shadow: 0 5px 18px rgba(8,28,56,.045) !important; backdrop-filter: blur(14px); }
.vc-header__inner { max-width: 1024px !important; min-height: 42px !important; padding: 6px 64px !important; gap: 24px !important; }
.vc-header__brand { gap: 8px !important; }
.vc-header__logo-img { width: 31px !important; height: 31px !important; border-radius: 50%; object-fit: contain; filter: none !important; }
.vc-header__brand-label strong { font-family: "Quicksand", sans-serif !important; font-size: 12px !important; line-height: .98 !important; font-weight: 900 !important; letter-spacing: -.02em !important; text-transform: none !important; color: var(--hv3-ink) !important; }
.vc-header__brand-label span { font-family: "Quicksand", sans-serif !important; font-size: 8px !important; line-height: 1 !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--hv3-muted) !important; }
.vc-header__collapse { gap: 14px !important; }
.vc-header__links { justify-content: center !important; gap: 29px !important; }
.vc-header__link { min-height: 28px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--hv3-ink) !important; font-size: 9px !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; }
.vc-header__link:hover,
.vc-header__link.is-active { color: var(--hv3-gold) !important; background: transparent !important; }
.vc-header__actions .vc-btn-ghost { display: none !important; }
.vc-header__actions .vc-btn-solid,
.vc-header__actions .vc-account { min-height: 29px !important; padding: 0 18px !important; border-radius: 5px !important; border: 1px solid var(--hv3-navy) !important; background: var(--hv3-navy) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(8,28,56,.18) !important; font-size: 9px !important; font-weight: 900 !important; letter-spacing: 0 !important; text-transform: none !important; }

.hv3-home { --page-max: 1024px; background: var(--hv3-bg); color: var(--hv3-ink); font-family: "Quicksand", "Source Sans 3", sans-serif; }
.hv3-home * { box-sizing: border-box; }
.hv3-home a { text-decoration: none; }
.hv3-home h1,
.hv3-home h2,
.hv3-home h3,
.hv3-home p { margin-top: 0; }
.hv3-home h1,
.hv3-home h2,
.hv3-home h3 { font-family: "Lexend", "Quicksand", sans-serif; color: var(--hv3-ink); margin-bottom: 30px; }


/* Hero */
.hv3-hero { max-width: var(--page-max); height: 318px; margin: 0 auto; display: grid; grid-template-columns: 43.2% 56.8%; overflow: hidden; background: #fffdf9; border-bottom: 1px solid var(--hv3-line); }
.hv3-hero__photo { position: relative; height: 318px; background-image: linear-gradient(90deg, rgba(255,250,244,.12), rgba(255,255,255,.28)), url("/images/teacher.png"); background-size: cover; background-position: center 34%; }
.hv3-hero__photo > img,
.hv3-hero__photo > video,
.hv3-final-cta__photo > img,
.hv3-final-cta__photo > video { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.hv3-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 68%, rgba(255,253,249,.7)); pointer-events: none; }
.hv3-portrait { display: none !important; }
.hv3-hero__content { padding: 42px 64px 32px 47px; background: linear-gradient(90deg, rgba(255,255,255,.96), #fffdf9 70%); }
.hv3-hero__eyebrow { margin: 0 0 8px; color: var(--hv3-ink); font-size: 12px; line-height: 1.1; font-weight: 800; }
.hv3-hero__eyebrow strong { margin-left: 8px; color: var(--hv3-gold); font-family: "Cormorant Garamond", serif; font-size: 35px; line-height: .7; font-style: italic; font-weight: 500; letter-spacing: .02em; vertical-align: -.16em; }
.hv3-hero__title { max-width: 560px; margin: 0 0 1px; font-size: 28px; line-height: 1.08; font-weight: 900; }
.hv3-hero__title span { display: block; font-size: 1.32em; letter-spacing: -.055em; }
.hv3-hero__subtitle { margin: 0 0 20px; font-family: "Lexend", sans-serif; color: var(--hv3-ink); font-size: 15px; line-height: 1.15; font-weight: 850; letter-spacing: -.03em; }
.hv3-kpi-row { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hv3-kpi { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: start; min-width: 0; }
.hv3-kpi__icon { grid-row: span 2; width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff8ed; border: 1px solid #ead6ba; color: var(--hv3-gold); font-size: 14px; }
.hv3-kpi strong { display: block; color: var(--hv3-ink); font-family: "Lexend", sans-serif; font-size: 13px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.hv3-kpi small { display: block; color: #4a586b; font-size: 8px; line-height: 1.25; font-weight: 800; }
.hv3-rating-line { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; color: #26354a; font-size: 12px; font-weight: 900; }
.hv3-stars,
.hv3-review-card__stars { color: #f5aa27; letter-spacing: .08em; }
.hv3-hero__actions { display: flex; gap: 9px; flex-wrap: wrap; }
.hv3-btn { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 19px; border-radius: 5px; border: 1px solid transparent; font-size: 10px; line-height: 1; font-weight: 900; transition: transform .16s ease, box-shadow .16s ease; }
.hv3-btn:hover,
.hv3-mini-btn:hover,
.hv3-course-card__body a:hover { transform: translateY(-1px); }
.hv3-btn--primary { background: var(--hv3-navy); color: #fff !important; box-shadow: 0 9px 18px rgba(8,28,56,.16); }
.hv3-btn--ghost { background: #fff; color: var(--hv3-ink) !important; border-color: #d9dfe8; }
.hv3-btn--gold { background: #d8aa5c; color: var(--hv3-ink) !important; border-color: #d8aa5c; }
.hv3-btn--dark-ghost { background: rgba(255,255,255,.04); color: #fff !important; border-color: rgba(255,255,255,.34); }
.hv3-play-dot { width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #b9c2ce; font-size: 7px; }

/* Shared sections */
.hv3-section { max-width: var(--page-max); margin: 0 auto; padding: 22px 64px; }
.hv3-section h2,
.hv3-press h2,
.hv3-faq h2 { margin-bottom: 12px; font-size: 18px; line-height: 1.16; font-weight: 900; }
.hv3-section__side p { margin-bottom: 14px; color: #26364b; font-size: 10.5px; line-height: 1.5; font-weight: 800; }
.hv3-mini-btn { min-height: 30px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 5px; border: 1px solid #ccd5df; background: #fff; color: var(--hv3-ink) !important; font-size: 9px; font-weight: 900; }

/* Timeline */
.hv3-timeline { display: grid; grid-template-columns: 220px 1fr; gap: 29px; align-items: center; background: linear-gradient(180deg, #fffaf4, #fbf8f3); border-bottom: 1px solid var(--hv3-line); }
.hv3-timeline__track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 4px; }
.hv3-timeline__track::before { content: ""; position: absolute; left: 6%; right: 6%; top: 78px; height: 2px; background: linear-gradient(90deg, transparent, #d5be96 12%, #d5be96 88%, transparent); }
.hv3-milestone { position: relative; z-index: 1; text-align: center; }
.hv3-milestone::after { content: ""; position: absolute; left: 50%; top: 72px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #c79d59; border: 2px solid #fff; box-shadow: 0 0 0 1px #e2d0b2; }
.hv3-milestone strong { display: block; margin-bottom: 8px; color: var(--hv3-ink); font-family: "Lexend", sans-serif; font-size: 12px; font-weight: 900; }
.hv3-milestone p { margin: 9px 0 0; color: #1f2d40; font-size: 9px; line-height: 1.35; font-weight: 850; }

/* Photo blocks */
.hv3-thumb,
.hv3-story-card__image,
.hv3-gallery__item,
.hv3-course-card__cover,
.hv3-video-card__image { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid rgba(224,213,202,.9); background: #eee2d6; background-size: cover; background-position: center; }
.hv3-thumb > img,
.hv3-thumb > video,
.hv3-video-card__image > img,
.hv3-video-card__image > video { width: 100%; height: 100%; display: block; object-fit: cover; }
.hv3-thumb { height: 58px; box-shadow: 0 7px 14px rgba(8,28,56,.08); }
.hv3-thumb--class { background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--mentor { background-image: url("https://images.unsplash.com/photo-1573497019418-b400bb3ab074?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--meeting { background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--office { background-image: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--team { background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--outdoor { background-image: url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=520&q=80"); }
.hv3-thumb--teacher { background-image: url("https://images.unsplash.com/photo-1580894908361-967195033215?auto=format&fit=crop&w=700&q=82"); }
.hv3-thumb--student1 { background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=520&q=82"); }
.hv3-thumb--student2 { background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=520&q=82"); }
.hv3-thumb--student3 { background-image: url("https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=520&q=82"); }
.hv3-thumb--video { background-image: linear-gradient(rgba(8,28,56,.48), rgba(8,28,56,.48)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=650&q=80"); }
.hv3-thumb--course1 { background-image: url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=500&q=80"); }
.hv3-thumb--course2 { background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=500&q=80"); }
.hv3-thumb--course3 { background-image: url("https://images.unsplash.com/photo-1563986768494-4dee2763ff3f?auto=format&fit=crop&w=500&q=80"); }

/* Trust */
.hv3-trust { display: grid; grid-template-columns: 200px 354px 286px 70px; gap: 18px; align-items: center; background: #fff; border-bottom: 1px solid var(--hv3-line); }
.hv3-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.hv3-trust-card { min-height: 108px; padding: 14px 9px 12px; text-align: center; border-radius: 10px; background: #fffaf6; border: 1px solid #efe6de; box-shadow: 0 8px 20px rgba(8,28,56,.045); }
.hv3-trust-card span { display: block; margin-bottom: 8px; color: var(--hv3-gold); font-size: 20px; line-height: 1; }
.hv3-trust-card h3 { min-height: 23px; margin: 0 0 5px; font-size: 10px; line-height: 1.12; font-weight: 900; }
.hv3-trust-card p { margin: 0; color: #4a586b; font-size: 7.5px; line-height: 1.25; font-weight: 800; }
.hv3-video-card { position: relative; height: 138px; overflow: hidden; border-radius: 12px; box-shadow: 0 12px 28px rgba(8,28,56,.12); }
.hv3-video-card__image { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.hv3-video-card__image::after,
.hv3-story-card--video .hv3-story-card__image::after { content: ""; position: absolute; inset: 0; background: rgba(8,28,56,.08); }
.hv3-video-card__play,
.hv3-story-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(4px); font-size: 14px; }
.hv3-video-note { color: var(--hv3-ink); font-family: "Cormorant Garamond", serif; font-size: 21px; font-style: italic; line-height: .95; }
.hv3-video-note strong { font-size: 20px; }

/* Stories and reviews */
.hv3-stories { padding-top: 20px; }
.hv3-story-row,
.hv3-review-row,
.hv3-gallery__row,
.hv3-course-row { display: grid; gap: 16px; }
.hv3-story-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hv3-story-card { position: relative; min-height: 102px; overflow: hidden; border-radius: 9px; background: #fff; border: 1px solid #eee4d8; text-align: center; box-shadow: 0 9px 21px rgba(8,28,56,.055); }
.hv3-story-card__image { height: 60px; border: 0; border-radius: 9px 9px 0 0; }
.hv3-story-card strong { display: block; margin: 7px 8px 3px; font-size: 9px; line-height: 1.15; font-weight: 900; }
.hv3-story-card p { margin: 0 8px 9px; color: #344256; font-size: 8px; line-height: 1.25; font-weight: 800; }
.hv3-story-card--video { background: var(--hv3-navy); color: #fff; }
.hv3-story-card--video .hv3-story-card__image { height: 100%; min-height: 102px; border-radius: 9px; opacity: .88; }
.hv3-story-card--video p { position: absolute; left: 12px; right: 12px; bottom: 8px; color: #fff; }
.hv3-story-play { width: 42px; height: 42px; font-size: 12px; }
.hv3-testimonials { padding-top: 12px; }
.hv3-review-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hv3-review-card { min-height: 105px; padding: 12px 13px; border-radius: 9px; background: #fff; border: 1px solid #efe5db; box-shadow: 0 8px 18px rgba(8,28,56,.045); }
.hv3-review-card__stars { margin-bottom: 7px; font-size: 9px; }
.hv3-review-card p { min-height: 39px; margin-bottom: 9px; color: #39475c; font-size: 8px; line-height: 1.33; font-weight: 800; }
.hv3-review-card > div:last-child { display: grid; grid-template-columns: 27px 1fr; column-gap: 8px; align-items: center; }
.hv3-avatar { grid-row: span 2; width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #edd2a7; color: #fff; font-size: 9px; font-weight: 900; }
.hv3-review-card strong,
.hv3-review-card small { display: block; line-height: 1.1; }
.hv3-review-card strong { font-size: 9px; font-weight: 900; }
.hv3-review-card small { color: #697489; font-size: 7.5px; font-weight: 800; }
.hv3-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.hv3-dots span { width: 5px; height: 5px; border-radius: 50%; background: #d5d0c9; }

/* Feedback wall */
.hv3-feedback-wall { padding-top: 18px; padding-bottom: 28px; background: #fffaf4; }
.hv3-feedback-wall__header { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 18px; }
.hv3-feedback-wall__header h2 { margin: 0; }
.hv3-feedback-wall__header p { max-width: 420px; margin: 0; color: #536074; font-size: 10px; line-height: 1.45; font-weight: 800; }
.hv3-feedback-wall__grid { display: grid; grid-template-columns: minmax(250px, 38%) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.hv3-feedback-wall__highlight { position: relative; min-height: 520px; }
.hv3-feedback-shot { margin: 0; border: 1px solid #eaded1; border-radius: 14px; background: #fff; box-shadow: 0 18px 34px rgba(8,28,56,.08); overflow: hidden; }
.hv3-feedback-wall__highlight .hv3-feedback-shot { position: absolute; inset: 0; opacity: 0; transform: translateX(8px); transition: opacity .28s ease, transform .28s ease; }
.hv3-feedback-wall__highlight .hv3-feedback-shot.is-active,
.hv3-feedback-wall__highlight .hv3-feedback-shot:first-child:last-child { opacity: 1; transform: translateX(0); }
.hv3-feedback-shot img,
.hv3-feedback-shot video { display: block; width: 100%; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #f5eee6; }
.hv3-feedback-wall__slider { position: relative; min-width: 0; min-height: 520px; overflow: hidden; }
.hv3-feedback-wall__track { --feedback-gap: 16px; display: flex; gap: var(--feedback-gap); min-height: 500px; overflow: visible; transition: transform .45s ease; will-change: transform; }
.hv3-feedback-shot--small { flex: 0 0 calc((100% - (var(--feedback-gap) * 2)) / 3); min-height: 420px; }
.hv3-feedback-wall__controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.hv3-feedback-wall__controls button { width: 34px; height: 34px; border: 1px solid #dfcbb4; border-radius: 50%; background: #fff; color: var(--hv3-navy); font-size: 20px; line-height: 1; font-weight: 900; }
.hv3-feedback-wall__controls button:hover,
.hv3-feedback-wall__controls button:focus { background: var(--hv3-navy); color: #fff; }
.hv3-feedback-wall__dots { display: flex; gap: 6px; align-items: center; }
.hv3-feedback-wall__dots span { width: 7px; height: 7px; border-radius: 50%; background: #d8c6b5; transition: width .2s ease, background .2s ease; }
.hv3-feedback-wall__dots span.is-active { width: 18px; border-radius: 999px; background: var(--hv3-navy); }

/* Gallery and press */
.hv3-gallery { padding-top: 10px; padding-bottom: 19px; }
.hv3-gallery__row { grid-template-columns: repeat(6, minmax(0,1fr)); }
.hv3-gallery__item { height: 66px; border-radius: 7px; }
.hv3-press { max-width: var(--page-max); margin: 0 auto; padding: 18px 64px 20px; background: #fff; border-top: 1px solid var(--hv3-line); border-bottom: 1px solid var(--hv3-line); }
.hv3-press h2 { margin-bottom: 15px; }
.hv3-press__logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; align-items: center; text-align: center; }
.hv3-press__logos strong,
.hv3-press__logos a { font-family: "Lexend", sans-serif; font-size: 13px; line-height: 1; font-weight: 950; letter-spacing: -.04em; color: var(--hv3-ink); text-decoration: none; }
.hv3-press-logo { min-height: 52px; display: flex !important; align-items: center; justify-content: center; }
.hv3-press-logo img { max-width: 100%; max-height: 46px; object-fit: contain; }
.hv3-logo--vtv { color: #e61f2f; } .hv3-logo--dantri { color: #168c39; } .hv3-logo--cafebiz { color: #d72828; } .hv3-logo--vnexpress { color: #6e5368; } .hv3-logo--zing { color: #32a8d6; } .hv3-logo--baomoi { color: #d97333; } .hv3-logo--tn { color: #1096bf; }

/* Courses */
.hv3-courses { padding-top: 17px; padding-bottom: 22px; background: var(--hv3-bg); }
.hv3-course-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
.hv3-course-card { display: grid; grid-template-columns: 42% 58%; min-height: 132px; overflow: hidden; border-radius: 9px; background: #fff; border: 1px solid #eadfd2; box-shadow: 0 12px 24px rgba(8,28,56,.06); }
.hv3-course-card__cover { min-height: 132px; border: 0; border-radius: 0; }
.hv3-course-card__cover--blue { display: flex; align-items: center; justify-content: center; padding: 13px; background: linear-gradient(145deg, #1d405c, #315f79); }
.hv3-course-card__cover--blue span { color: #fff; font-family: "Lexend", sans-serif; font-size: 14px; line-height: 1.1; text-align: center; font-weight: 900; }
.hv3-course-card__body { padding: 9px 10px; }
.hv3-course-card__body small { color: #7d8796; font-size: 7px; font-weight: 800; }
.hv3-course-card__body h3 { margin: 1px 0 4px; font-size: 10px; line-height: 1.08; font-weight: 900; }
.hv3-course-card__body p { margin-bottom: 6px; color: #2f3d52; font-size: 7.4px; line-height: 1.25; font-weight: 800; }
.hv3-course-card__body ul { margin: 0 0 7px; padding: 0; list-style: none; }
.hv3-course-card__body li { color: #4d5b6e; font-size: 7.3px; line-height: 1.35; font-weight: 800; }
.hv3-course-card__body li::before { content: "◉"; margin-right: 4px; color: var(--hv3-gold); font-size: 6px; }
.hv3-course-card__body strong { display: block; margin-bottom: 7px; font-size: 12px; line-height: 1; font-weight: 950; }
.hv3-course-card__body a { min-height: 25px; display: inline-flex; align-items: center; justify-content: center; width: 100%; border-radius: 4px; background: var(--hv3-navy); color: #fff !important; font-size: 7.5px; font-weight: 900; }
.hv3-center { display: flex; justify-content: center; margin-top: 14px; }
.hv3-center .hv3-btn { min-height: 30px; min-width: 170px; font-size: 9px; }

/* Learning path */
.hv3-learning-path { padding-top: 19px; padding-bottom: 27px; background: #fff; border-top: 1px solid var(--hv3-line); border-bottom: 1px solid var(--hv3-line); }
.hv3-learning-path > p { margin: -5px 0 21px; color: #354258; font-size: 10px; font-weight: 800; }
.hv3-path-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.hv3-path-row article { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 9px; align-items: center; }
.hv3-path-row article:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 20px; color: #c7a36d; font-weight: 900; }
.hv3-path-row span { grid-row: span 2; width: 43px; height: 43px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--hv3-gold); background: #fff9f0; border: 1px solid #efdfc9; font-size: 15px; }
.hv3-path-row strong { color: #13263e; font-size: 9.5px; line-height: 1.1; font-weight: 900; }
.hv3-path-row small { color: #506075; font-size: 7.7px; line-height: 1.28; font-weight: 800; }

/* Bottom */
.hv3-bottom-grid { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: 43% 57%; padding: 0 64px 0; align-items: stretch; }
.hv3-faq { padding: 22px 21px 24px 0; }
.hv3-faq h2 { margin-bottom: 13px; }
.hv3-faq details { margin-bottom: 7px; border: 1px solid #e8e2dc; border-radius: 4px; background: #fff; overflow: hidden; }
.hv3-faq summary { min-height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; cursor: pointer; list-style: none; color: #13263e; font-size: 8.5px; font-weight: 900; }
.hv3-faq summary::-webkit-details-marker { display: none; }
.hv3-faq summary::after { content: "+"; color: #526176; font-size: 13px; }
.hv3-faq details[open] summary::after { content: "−"; }
.hv3-faq details p { margin: 0; padding: 0 12px 10px; color: #556176; font-size: 8px; line-height: 1.4; font-weight: 800; }
.hv3-final-cta { min-height: 210px; display: grid; grid-template-columns: minmax(0,1fr) 162px; overflow: hidden; background: linear-gradient(135deg, #071b36, #082240 58%, #06172e); color: #fff; }
.hv3-final-cta__content { padding: 36px 18px 27px 43px; }
.hv3-final-cta h2 { max-width: 410px; margin-bottom: 10px; color: #fff; font-size: 19px; line-height: 1.17; font-weight: 900; }
.hv3-final-cta p { max-width: 390px; margin-bottom: 15px; color: rgba(255,255,255,.86); font-size: 9.5px; line-height: 1.45; font-weight: 800; }
.hv3-final-cta__actions { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.hv3-contact-line { display: flex; gap: 8px; flex-wrap: wrap; color: #fff; font-size: 8.5px; font-weight: 900; }
.hv3-contact-line span:not(:first-child) { padding: 2px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 7px; }
.hv3-final-cta__photo { min-height: 210px; background-image: url("/images/teacher.png"); background-size: cover; background-position: center top; }

@media (max-width: 1040px) {
  .vc-header__inner { padding-left: 24px !important; padding-right: 24px !important; }
  .hv3-section,
  .hv3-press { padding-left: 38px; padding-right: 38px; }
  .hv3-bottom-grid { padding-left: 38px; padding-right: 38px; }
  .hv3-trust { grid-template-columns: 190px 1fr 280px 62px; }
}

@media (max-width: 900px) {
  .vc-header__toggle { display: inline-flex !important; }
  .vc-header__inner { min-height: 54px !important; }
  .vc-header__collapse { padding: 12px 0 6px; }
  .vc-header__links { align-items: flex-start !important; gap: 8px !important; }
  .vc-header__actions { align-items: flex-start !important; }
  .hv3-hero,
  .hv3-timeline,
  .hv3-trust,
  .hv3-feedback-wall__grid,
  .hv3-bottom-grid,
  .hv3-final-cta { grid-template-columns: 1fr; height: auto; }
  .hv3-hero__photo { min-height: 360px; height: auto; }
  .hv3-hero__content { padding: 30px 24px; }
  .hv3-kpi-row,
  .hv3-trust__grid,
  .hv3-story-row,
  .hv3-review-row,
  .hv3-course-row,
  .hv3-gallery__row,
  .hv3-path-row,
  .hv3-press__logos,
  .hv3-timeline__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv3-timeline__track::before,
  .hv3-milestone::after,
  .hv3-path-row article::after { display: none !important; }
  .hv3-video-note { display: none; }
  .hv3-feedback-wall__header { align-items: start; flex-direction: column; }
  .hv3-feedback-wall__highlight { min-height: auto; }
  .hv3-feedback-wall__highlight .hv3-feedback-shot { position: static; display: none; }
  .hv3-feedback-wall__highlight .hv3-feedback-shot.is-active,
  .hv3-feedback-wall__highlight .hv3-feedback-shot:first-child:last-child { display: block; }
  .hv3-feedback-wall__slider { min-height: 440px; }
  .hv3-feedback-wall__track { min-height: 420px; }
  .hv3-feedback-shot--small { flex-basis: calc((100% - var(--feedback-gap)) / 2); }
  .hv3-feedback-shot--small { min-height: auto; }
  .hv3-final-cta__photo { min-height: 250px; }
}

@media (max-width: 560px) {
  .hv3-section,
  .hv3-press,
  .hv3-bottom-grid { padding-left: 16px; padding-right: 16px; }
  .hv3-kpi-row,
  .hv3-trust__grid,
  .hv3-story-row,
  .hv3-review-row,
  .hv3-course-row,
  .hv3-gallery__row,
  .hv3-path-row,
  .hv3-press__logos,
  .hv3-timeline__track { grid-template-columns: 1fr; }
  .hv3-course-card { grid-template-columns: 1fr; }
  .hv3-course-card__cover { min-height: 170px; }
  .hv3-feedback-wall__slider { min-height: 560px; }
  .hv3-feedback-wall__track { min-height: 540px; }
  .hv3-feedback-shot--small { flex-basis: 100%; }
  .hv3-hero__title { font-size: 25px; }
  .hv3-hero__eyebrow strong { display: block; margin: 8px 0 0; }
}

/* Homepage V3 scale repair: keep the user's new imagery, but remove mockup-small sizing. */
.vc-footer {
  display: block !important;
}

@media (min-width: 901px) {
  .hv3-home {
    --page-max: min(1320px, calc(100vw - 72px));
  }

  .vc-header__inner {
    max-width: var(--page-max) !important;
    min-height: 64px !important;
    padding: 9px 0 !important;
  }

  .vc-header__logo-img {
    width: 44px !important;
    height: 44px !important;
  }

  .vc-header__brand-label strong {
    font-size: 1rem !important;
  }

  .vc-header__brand-label span {
    font-size: .74rem !important;
  }

  .vc-header__link {
    min-height: 38px !important;
    font-size: .9rem !important;
  }

  .vc-header__links {
    gap: clamp(28px, 3vw, 46px) !important;
  }

  .vc-header__actions .vc-btn-solid,
  .vc-header__actions .vc-account {
    min-height: 44px !important;
    padding: 0 28px !important;
    border-radius: 9px !important;
    font-size: .9rem !important;
  }

  .hv3-hero {
    height: auto;
    min-height: 500px;
    grid-template-columns: 44% 56%;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 18px 48px rgba(8,28,56,.055);
  }

  .hv3-hero__photo {
    height: auto;
    min-height: 500px;
  }

  .hv3-hero__content {
    padding: clamp(64px, 6vw, 92px) clamp(56px, 5vw, 86px) 58px;
    overflow: visible;
  }

  .hv3-hero__eyebrow {
    margin-bottom: 16px;
    font-size: 1.05rem;
  }

  .hv3-hero__eyebrow strong {
    font-size: 2.8rem;
  }

  .hv3-hero__title {
    max-width: 760px;
    font-size: clamp(3rem, 4.15vw, 4.65rem);
    line-height: 1.04;
  }

  .hv3-hero__subtitle {
    margin-bottom: 30px;
    font-size: clamp(1.32rem, 1.7vw, 1.8rem);
  }

  .hv3-kpi-row {
    gap: clamp(10px, 2.8vw, 0px);
  }

  .hv3-kpi {
    grid-template-columns: 46px 1fr;
    column-gap: 12px;
  }

  .hv3-kpi__icon {
    width: 42px;
    height: 42px;
    font-size: 1.18rem;
  }

  .hv3-kpi strong {
    font-size: 1.25rem;
  }

  .hv3-kpi small {
    font-size: .78rem;
  }

  .hv3-rating-line {
    margin-bottom: 24px;
    font-size: 1.05rem;
  }

  .hv3-btn {
    min-height: 46px;
    padding: 0 30px;
    border-radius: 9px;
    font-size: .9rem;
  }

  .hv3-section {
    padding: 46px 48px;
  }

  .hv3-section h2,
  .hv3-press h2,
  .hv3-faq h2 {
    font-size: clamp(1.85rem, 2.45vw, 2.65rem);
  }

  .hv3-section__side p {
    font-size: 1rem;
  }

  .hv3-mini-btn {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: .88rem;
  }

  .hv3-timeline {
    grid-template-columns: 310px minmax(0,1fr);
    gap: 44px;
  }

  .hv3-timeline__track {
    gap: 24px;
  }

  .hv3-thumb {
    height: 88px;
    border-radius: 14px;
  }

  .hv3-timeline__track::before {
    top: 108px;
  }

  .hv3-milestone::after {
    top: 101px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
  }

  .hv3-milestone strong {
    font-size: 1.08rem;
  }

  .hv3-milestone p {
    margin-top: 16px;
    font-size: .9rem;
  }

  .hv3-trust {
    grid-template-columns: 290px minmax(0,1fr) 380px 96px;
    gap: 22px;
  }

  .hv3-trust__grid {
    gap: 16px;
  }

  .hv3-trust-card {
    min-height: 168px;
    padding: 24px 16px 20px;
    border-radius: 16px;
  }

  .hv3-trust-card span {
    font-size: 2rem;
  }

  .hv3-trust-card h3 {
    font-size: 1rem;
  }

  .hv3-trust-card p {
    font-size: .8rem;
    line-height: 1.45;
  }

  .hv3-video-card {
    height: 210px;
    border-radius: 18px;
  }

  .hv3-video-card__image {
    border-radius: 18px;
  }

  .hv3-video-card__play,
  .hv3-story-play {
    width: 62px;
    height: 62px;
    font-size: 1.1rem;
  }

  .hv3-video-note {
    font-size: 1.65rem;
  }

  .hv3-story-row,
  .hv3-review-row,
  .hv3-gallery__row,
  .hv3-course-row {
    gap: 22px;
  }

  .hv3-story-card {
    min-height: 164px;
    border-radius: 16px;
  }

  .hv3-story-card__image {
    height: 94px;
    border-radius: 16px 16px 0 0;
  }

  .hv3-story-card strong {
    margin: 13px 14px 5px;
    font-size: .9rem;
  }

  .hv3-story-card p {
    margin: 0 15px 15px;
    font-size: .8rem;
  }

  .hv3-story-card--video .hv3-story-card__image {
    min-height: 164px;
    border-radius: 16px;
  }

  .hv3-review-card {
    min-height: 170px;
    padding: 20px 20px 18px;
    border-radius: 16px;
  }

  .hv3-review-card__stars {
    font-size: .9rem;
  }

  .hv3-review-card p {
    min-height: 66px;
    font-size: .84rem;
    line-height: 1.5;
  }

  .hv3-review-card > div:last-child {
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
  }

  .hv3-avatar {
    width: 38px;
    height: 38px;
    font-size: .85rem;
  }

  .hv3-review-card strong {
    font-size: .86rem;
  }

  .hv3-review-card small {
    font-size: .76rem;
  }

  .hv3-gallery__item {
    height: 100px;
    border-radius: 13px;
  }

  .hv3-press {
    padding: 32px 48px 34px;
    border-radius: 22px;
  }

  .hv3-press__logos strong {
    font-size: 1.25rem;
  }

  .hv3-course-card {
    min-height: 226px;
    border-radius: 16px;
  }

  .hv3-course-card__cover {
    min-height: 226px;
  }

  .hv3-course-card__cover--blue span {
    font-size: 1.22rem;
  }

  .hv3-course-card__body {
    padding: 20px 17px;
  }

  .hv3-course-card__body small {
    font-size: .76rem;
  }

  .hv3-course-card__body h3 {
    font-size: 1rem;
  }

  .hv3-course-card__body p,
  .hv3-course-card__body li {
    font-size: .8rem;
  }

  .hv3-course-card__body strong {
    font-size: 1.08rem;
  }

  .hv3-course-card__body a {
    min-height: 38px;
    border-radius: 8px;
    font-size: .8rem;
  }

  .hv3-center .hv3-btn {
    min-width: 230px;
    min-height: 46px;
    font-size: .9rem;
  }

  .hv3-learning-path {
    padding-top: 42px;
    padding-bottom: 52px;
    border-radius: 22px;
  }

  .hv3-learning-path > p {
    font-size: 1rem;
  }

  .hv3-path-row article {
    grid-template-columns: 62px 1fr;
    column-gap: 14px;
  }

  .hv3-path-row span {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .hv3-path-row strong {
    font-size: .98rem;
  }

  .hv3-path-row small {
    font-size: .8rem;
  }

  .hv3-bottom-grid {
    padding: 0 48px;
  }

  .hv3-faq {
    padding: 42px 32px 46px 0;
  }

  .hv3-faq details {
    margin-bottom: 12px;
    border-radius: 9px;
  }

  .hv3-faq summary {
    min-height: 46px;
    padding: 0 18px;
    font-size: .9rem;
  }

  .hv3-faq details p {
    padding: 0 18px 16px;
    font-size: .84rem;
  }

  .hv3-final-cta {
    min-height: 330px;
    grid-template-columns: minmax(0,1fr) 250px;
  }

  .hv3-final-cta__content {
    padding: 58px 42px 50px 58px;
  }

  .hv3-final-cta h2 {
    max-width: 560px;
    font-size: 2.15rem;
  }

  .hv3-final-cta p {
    max-width: 560px;
    font-size: 1rem;
  }

  .hv3-contact-line {
    font-size: .92rem;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hv3-home {
    --page-max: min(1120px, calc(100vw - 40px));
  }

  .hv3-trust {
    grid-template-columns: 1fr;
  }

  .hv3-video-note {
    display: none;
  }

  .hv3-review-row,
  .hv3-course-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Trust section polish: wider benefit cards, stronger video block, no tall narrow text columns. */
@media (min-width: 1181px) {
  .hv3-trust {
    position: relative;
    grid-template-columns: 340px minmax(420px, 0.95fr) minmax(420px, 1.15fr);
    gap: 30px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
    background:
      radial-gradient(circle at 72% 48%, rgba(201, 154, 72, .08), transparent 30%),
      linear-gradient(180deg, #fff, #fffdf9);
  }

  .hv3-trust .hv3-section__side {
    align-self: center;
  }

  .hv3-trust .hv3-section__side h2 {
    max-width: 310px;
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 3vw, 3.35rem);
    line-height: 1.05;
  }

  .hv3-trust .hv3-section__side::after {
    content: "Nền tảng đào tạo thực chiến, dễ hiểu và luôn đồng hành cùng học viên.";
    display: block;
    max-width: 300px;
    color: var(--hv3-muted);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.65;
  }

  .hv3-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hv3-trust-card {
    min-height: 154px;
    padding: 22px 20px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-content: center;
    text-align: left;
    background: rgba(255, 250, 246, .92);
    border-color: rgba(201, 154, 72, .18);
    box-shadow: 0 18px 36px rgba(8, 28, 56, .055);
  }

  .hv3-trust-card span {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff3df;
    color: var(--hv3-gold);
    font-size: 1.55rem;
  }

  .hv3-trust-card h3 {
    min-height: 0;
    margin: 0 0 7px;
    font-size: 1.05rem;
    line-height: 1.18;
  }

  .hv3-trust-card p {
    font-size: .9rem;
    line-height: 1.45;
  }

  .hv3-video-card {
    height: 292px;
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(8, 28, 56, .16);
  }

  .hv3-video-card__image {
    border-radius: 24px;
  }

  .hv3-video-card__play {
    width: 76px;
    height: 76px;
    background: rgba(7, 27, 54, .28);
    box-shadow: 0 12px 34px rgba(7, 27, 54, .22);
  }

  .hv3-video-note {
    position: absolute;
    right: 68px;
    bottom: 76px;
    min-width: 138px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(234, 223, 210, .86);
    box-shadow: 0 16px 38px rgba(8, 28, 56, .09);
    font-family: "Lexend", sans-serif;
    font-size: .88rem;
    font-style: normal;
    line-height: 1.35;
    text-align: center;
  }

  .hv3-video-note strong {
    display: block;
    margin-top: 2px;
    color: var(--hv3-gold);
    font-family: "Lexend", sans-serif;
    font-size: 1rem;
    font-style: normal;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hv3-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hv3-trust-card {
    min-height: 140px;
    text-align: left;
  }
}

/* Trust section v2: benefit cards in one row, video below the cards. */
@media (min-width: 1181px) {
  .hv3-trust {
    grid-template-columns: 340px minmax(0, 1fr);
    grid-template-areas:
      "title cards"
      "title video";
    gap: 28px 38px;
    align-items: center;
  }

  .hv3-trust .hv3-section__side {
    grid-area: title;
  }

  .hv3-trust__grid {
    grid-area: cards;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .hv3-trust-card {
    min-height: 200px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 9px;
    justify-items: center;
    align-content: start;
    text-align: center;
    padding: 24px 14px 20px;
  }

  .hv3-trust-card span {
    grid-row: auto;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.8rem;
  }

  .hv3-trust-card h3 {
    margin: 0;
    font-size: 1.02rem;
  }

  .hv3-trust-card p {
    max-width: 150px;
    margin: 0 auto;
    font-size: .82rem;
  }

  .hv3-video-card {
    grid-area: video;
    height: 360px;
    max-width: 920px;
    width: 100%;
  }

  .hv3-video-note {
    right: 84px;
    bottom: 54px;
  }
}

@keyframes hv3-play-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .42), 0 16px 38px rgba(7, 27, 54, .26);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0), 0 16px 38px rgba(7, 27, 54, .26);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 16px 38px rgba(7, 27, 54, .26);
  }
}

.hv3-video-card__play {
  cursor: pointer;
  isolation: isolate;
  animation: hv3-play-pulse 1.8s ease-out infinite;
}

.hv3-video-card__play::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, .14);
  transform: scale(.86);
  transition: transform .18s ease, opacity .18s ease;
}

.hv3-video-card__play:hover::before,
.hv3-video-card__play:focus-visible::before {
  transform: scale(1.08);
  opacity: .9;
}

.hv3-video-card__play span {
  display: inline-block;
  margin-left: 4px;
}

.hv3-video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hv3-video-modal.is-open {
  display: flex;
}

.hv3-video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 27, 54, .72);
  backdrop-filter: blur(8px);
}

.hv3-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  border-radius: 24px;
  background: #071b36;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.hv3-video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(7, 27, 54, .68);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.hv3-video-modal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.hv3-video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1180px) {
  .hv3-video-modal {
    padding: 14px;
  }

  .hv3-video-modal__dialog {
    border-radius: 18px;
  }
}

/* Story cards v2: richer student outcomes, better image crop, consistent video CTA. */
.hv3-story-row {
  align-items: stretch;
}

.hv3-story-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 250, 246, .94));
  border: 1px solid rgba(226, 211, 196, .9);
  box-shadow: 0 20px 46px rgba(8, 28, 56, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hv3-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 154, 72, .32);
  box-shadow: 0 28px 60px rgba(8, 28, 56, .12);
}

.hv3-story-card__image {
  height: 138px;
  border-radius: 22px 22px 0 0;
  background-size: cover;
}

.hv3-thumb--student1 {
  background-position: center 24%;
}

.hv3-thumb--student2 {
  background-position: center 28%;
}

.hv3-thumb--student3 {
  background-position: center 22%;
}

.hv3-story-tag {
  width: fit-content;
  margin: -17px auto 12px;
  padding: 7px 13px;
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(239, 226, 211, .95);
  color: var(--hv3-gold);
  box-shadow: 0 12px 24px rgba(8, 28, 56, .08);
  font-family: "Lexend", sans-serif;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
}

.hv3-story-card strong {
  margin: 0 20px 8px;
  color: var(--hv3-ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.hv3-story-card p {
  margin: 0 22px 22px;
  color: #47566b;
  font-size: .88rem;
  line-height: 1.5;
}

.hv3-story-card--video {
  min-height: 245px;
  display: grid;
  place-items: center;
  background: var(--hv3-navy);
  border-color: rgba(8, 28, 56, .18);
}

.hv3-story-card--video .hv3-story-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 22px;
  opacity: .72;
}

.hv3-story-card--video .hv3-story-card__image::after {
  background:
    linear-gradient(180deg, rgba(7, 27, 54, .16), rgba(7, 27, 54, .7)),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .22), transparent 28%);
}

.hv3-story-card--video p {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  max-width: 260px;
  margin: 108px 24px 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.hv3-story-play {
  z-index: 2;
  width: 74px;
  height: 74px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 16px 38px rgba(7, 27, 54, .26);
  animation: hv3-play-pulse 1.8s ease-out infinite;
}

.hv3-story-play:hover,
.hv3-story-play:focus-visible {
  background: rgba(255, 255, 255, .28);
}

@media (max-width: 1180px) {
  .hv3-story-card {
    min-height: 230px;
  }

  .hv3-story-card__image {
    height: 132px;
  }
}

@media (max-width: 560px) {
  .hv3-story-card {
    min-height: 250px;
  }

  .hv3-story-card__image {
    height: 150px;
  }
}

/* Story image fix: avoid harsh horizontal face crops by using portrait-style avatars. */
.hv3-story-card:not(.hv3-story-card--video) {
  min-height: 292px;
  padding: 0 20px 24px;
  align-items: center;
  overflow: hidden;
}

.hv3-story-card:not(.hv3-story-card--video)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 108px;
  background:
    radial-gradient(circle at 26% 32%, rgba(201, 154, 72, .16), transparent 28%),
    linear-gradient(135deg, rgba(255, 246, 232, .96), rgba(237, 245, 239, .86));
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-story-card__image {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  min-height: 118px;
  margin: 30px auto 14px;
  border-radius: 50%;
  border: 5px solid #fff;
  background-size: cover;
  box-shadow: 0 18px 36px rgba(8, 28, 56, .16);
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-story-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(8, 28, 56, .08);
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-story-tag {
  margin: 0 auto 14px;
}

.hv3-story-card:not(.hv3-story-card--video) strong,
.hv3-story-card:not(.hv3-story-card--video) p {
  position: relative;
  z-index: 1;
}

.hv3-story-card:not(.hv3-story-card--video) strong {
  margin: 0 0 9px;
}

.hv3-story-card:not(.hv3-story-card--video) p {
  margin: 0;
  max-width: 290px;
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-thumb--student1 {
  background-position: center 36%;
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-thumb--student2 {
  background-position: center 32%;
}

.hv3-story-card:not(.hv3-story-card--video) .hv3-thumb--student3 {
  background-position: center 30%;
}

@media (max-width: 1180px) {
  .hv3-story-card:not(.hv3-story-card--video) {
    min-height: 282px;
  }
}

/* Gallery slider v2: 12-image carousel plus expanded modal gallery. */
.hv3-gallery {
  overflow: hidden;
}

.hv3-gallery__shell {
  position: relative;
  margin-top: 22px;
}

.hv3-gallery__viewport {
  overflow: hidden;
  border-radius: 24px;
}

.hv3-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 18px;
}

.hv3-gallery__track::-webkit-scrollbar {
  display: none;
}

.hv3-gallery__item {
  height: 168px;
  min-width: 260px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 214, 198, .9);
  border-radius: 18px;
  background-color: #f6eee5;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 38px rgba(8, 28, 56, .08);
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hv3-gallery__item img,
.hv3-gallery__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv3-gallery__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 27, 54, .72);
  color: #fff;
  font-size: 1rem;
  transform: translate(-50%, -50%);
}

.hv3-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(7, 27, 54, .2));
  opacity: 0;
  transition: opacity .2s ease;
}

.hv3-gallery__item:hover,
.hv3-gallery__item:focus-visible {
  border-color: rgba(201, 154, 72, .5);
  box-shadow: 0 24px 52px rgba(8, 28, 56, .13);
  filter: saturate(1.04);
}

.hv3-gallery__item:hover::after,
.hv3-gallery__item:focus-visible::after {
  opacity: 1;
}

.hv3-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 211, 196, .95);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--hv3-ink);
  box-shadow: 0 16px 34px rgba(8, 28, 56, .12);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hv3-gallery__nav--prev {
  left: -18px;
}

.hv3-gallery__nav--next {
  right: -18px;
}

.hv3-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hv3-gallery-modal.is-open {
  display: flex;
}

.hv3-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 27, 54, .76);
  backdrop-filter: blur(9px);
}

.hv3-gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(880px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: #fffaf6;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .36);
}

.hv3-gallery-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(7, 27, 54, .55);
  color: #fff;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.hv3-gallery-modal__figure {
  min-height: 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: #071b36;
}

.hv3-gallery-modal__figure img,
.hv3-gallery-modal__figure video {
  width: 100%;
  height: min(640px, calc(100vh - 210px));
  min-height: 360px;
  display: block;
  object-fit: contain;
}

.hv3-gallery-modal__figure [hidden] {
  display: none;
}

.hv3-gallery-modal__figure figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(7, 27, 54, .72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hv3-gallery-modal__figure strong,
.hv3-gallery-modal__figure span {
  font-family: "Lexend", sans-serif;
  line-height: 1.2;
}

.hv3-gallery-modal__figure strong {
  font-size: 1rem;
}

.hv3-gallery-modal__figure span {
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  font-weight: 800;
}

.hv3-gallery-modal__arrow {
  position: absolute;
  top: 45%;
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(7, 27, 54, .58);
  color: #fff;
  cursor: pointer;
  font-size: 2.25rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hv3-gallery-modal__arrow--prev {
  left: 30px;
}

.hv3-gallery-modal__arrow--next {
  right: 30px;
}

.hv3-gallery-modal__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 94px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.hv3-gallery-modal__thumb {
  height: 66px;
  border: 2px solid transparent;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  opacity: .72;
}

.hv3-gallery-modal__thumb--video {
  display: grid;
  place-items: center;
  background: #071b36;
  color: #fff;
  font-weight: 900;
}

.hv3-gallery-modal__thumb.is-active {
  border-color: var(--hv3-gold);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hv3-gallery__track {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  .hv3-gallery__track {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .hv3-gallery__item {
    min-width: 220px;
    height: 150px;
  }

  .hv3-gallery__nav {
    display: none;
  }

  .hv3-gallery-modal {
    padding: 12px;
  }

  .hv3-gallery-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 12px;
    border-radius: 20px;
  }

  .hv3-gallery-modal__figure img {
    height: calc(100vh - 190px);
    min-height: 280px;
  }

  .hv3-gallery-modal__arrow {
    top: 43%;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .hv3-gallery-modal__arrow--prev {
    left: 20px;
  }

  .hv3-gallery-modal__arrow--next {
    right: 20px;
  }

  .hv3-gallery-modal__figure figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final typography and featured courses refinement. */
.hv3-section h2,
.hv3-press h2,
.hv3-faq h2 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--hv3-ink);
  font-size: clamp(1.55rem, 1.55vw + 1rem, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}

.hv3-section h2::after,
.hv3-press h2::after,
.hv3-faq h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hv3-gold), rgba(201, 154, 72, 0));
}

.hv3-trust .hv3-section__side h2::after,
.hv3-final-cta h2::after {
  display: none;
}

.hv3-courses {
  padding-top: 48px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 154, 72, .08), transparent 28%),
    var(--hv3-bg);
}

.hv3-course-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 24px;
  align-items: stretch;
}

.hv3-course-feature,
.hv3-course-mini {
  border: 1px solid rgba(226, 211, 196, .92);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 46px rgba(8, 28, 56, .075);
}

.hv3-course-feature {
  display: grid;
  grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  min-height: 390px;
  border-radius: 26px;
}

.hv3-course-feature__media {
  min-height: 390px;
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #1d405c, #315f79);
}

.hv3-course-feature__media img,
.hv3-course-mini__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hv3-course-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 27, 54, .28));
}

.hv3-course-feature__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.hv3-course-feature__body {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 30px;
}

.hv3-course-feature__body small,
.hv3-course-mini small {
  color: var(--hv3-gold);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hv3-course-feature__body h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 1.35vw + 1rem, 2.15rem);
  line-height: 1.08;
  font-weight: 900;
}

.hv3-course-feature__body h3 a,
.hv3-course-mini h3 a {
  color: inherit;
  text-decoration: none;
}

.hv3-course-feature__body p {
  margin: 0 0 18px;
  color: #4c5b70;
  font-size: .96rem;
  line-height: 1.6;
  font-weight: 750;
}

.hv3-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.hv3-course-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7ec;
  color: #7f4f13;
  font-size: .82rem;
  font-weight: 900;
}

.hv3-course-feature ul {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hv3-course-feature li {
  color: #334257;
  font-size: .9rem;
  font-weight: 800;
}

.hv3-course-feature li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--hv3-gold);
  vertical-align: .08em;
}

.hv3-course-feature__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.hv3-course-feature__footer del {
  display: block;
  margin-bottom: 4px;
  color: #8c96a5;
  font-size: .86rem;
  font-weight: 800;
}

.hv3-course-feature__footer strong,
.hv3-course-mini__footer strong {
  color: var(--hv3-ink);
  font-family: "Lexend", sans-serif;
  font-size: 1.24rem;
  line-height: 1;
  font-weight: 950;
}

.hv3-course-feature__footer a,
.hv3-course-mini__footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--hv3-navy);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
}

.hv3-course-list {
  display: grid;
  gap: 16px;
}

.hv3-course-mini {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 120px;
  overflow: hidden;
  border-radius: 20px;
}

.hv3-course-mini__media {
  min-height: 120px;
  display: block;
  background: #f3eadf;
}

.hv3-course-mini > div {
  display: grid;
  align-content: center;
  padding: 17px 18px;
}

.hv3-course-mini h3 {
  margin: 5px 0 7px;
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 900;
}

.hv3-course-mini p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  color: #526176;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 750;
}

.hv3-course-mini__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hv3-course-mini__footer strong {
  font-size: 1rem;
}

.hv3-course-mini__footer a {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: .78rem;
}

@media (max-width: 1180px) {
  .hv3-course-showcase {
    grid-template-columns: 1fr;
  }

  .hv3-course-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hv3-course-mini {
    grid-template-columns: 1fr;
  }

  .hv3-course-mini__media {
    height: 150px;
  }
}

@media (max-width: 760px) {
  .hv3-section h2,
  .hv3-press h2,
  .hv3-faq h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .hv3-course-feature {
    grid-template-columns: 1fr;
  }

  .hv3-course-feature__media {
    min-height: 220px;
  }

  .hv3-course-feature__body {
    padding: 24px 22px;
  }

  .hv3-course-feature__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hv3-course-list {
    grid-template-columns: 1fr;
  }
}

/* Homepage course section: balanced card grid for course banner imagery. */
.hv3-course-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hv3-course-tile {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 211, 196, .92);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(8, 28, 56, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hv3-course-tile:hover,
.hv3-course-tile:focus-within {
  border-color: rgba(201, 154, 72, .58);
  box-shadow: 0 24px 56px rgba(8, 28, 56, .10);
  transform: translateY(-2px);
}

.hv3-course-tile__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3eadf;
}

.hv3-course-tile__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .28s ease;
}

.hv3-course-tile:hover .hv3-course-tile__media img,
.hv3-course-tile:focus-within .hv3-course-tile__media img {
  transform: scale(1.025);
}

.hv3-course-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.hv3-course-tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hv3-course-tile__meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff7ec;
  color: #7f4f13;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hv3-course-tile h3 {
  margin: 0 0 10px;
  color: var(--hv3-ink);
  font-size: clamp(1.18rem, .55vw + 1rem, 1.55rem);
  line-height: 1.18;
  font-weight: 950;
}

.hv3-course-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.hv3-course-tile p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 16px;
  color: #526176;
  font-size: .92rem;
  line-height: 1.55;
  font-weight: 760;
}

.hv3-course-tile ul {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hv3-course-tile li {
  color: #334257;
  font-size: .86rem;
  line-height: 1.35;
  font-weight: 820;
}

.hv3-course-tile li::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--hv3-gold);
  vertical-align: .08em;
}

.hv3-course-tile__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 211, 196, .76);
}

.hv3-course-tile__footer del {
  display: block;
  margin-bottom: 4px;
  color: #8c96a5;
  font-size: .82rem;
  font-weight: 800;
}

.hv3-course-tile__footer strong {
  color: var(--hv3-ink);
  font-family: "Lexend", sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 950;
}

.hv3-course-tile__footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--hv3-navy);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hv3-course-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hv3-course-showcase {
    grid-template-columns: 1fr;
  }

  .hv3-course-tile__body {
    padding: 20px;
  }

  .hv3-course-tile__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hv3-course-tile__footer a {
    width: 100%;
  }
}

/* Heading balance pass: section titles should feel editorial, not hero-sized. */
.hv3-section h2,
.hv3-press h2,
.hv3-faq h2 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(1.38rem, 1.05vw + 1rem, 1.95rem);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.hv3-section h2::after,
.hv3-press h2::after,
.hv3-faq h2::after {
  width: 42px;
  height: 2px;
  margin-top: 10px;
  opacity: .82;
}

.hv3-press {
  padding-top: 34px;
  padding-bottom: 34px;
}

.hv3-press h2 {
  margin-bottom: 28px;
  font-size: clamp(1.28rem, .9vw + 1rem, 1.72rem);
}

.hv3-press__logos {
  align-items: center;
}

.hv3-press__logos strong {
  font-size: clamp(.95rem, .52vw + .72rem, 1.18rem);
  letter-spacing: 0;
}

.hv3-trust .hv3-section__side h2 {
  font-size: clamp(1.85rem, 1.65vw + 1rem, 2.55rem);
  line-height: 1.12;
}

@media (max-width: 760px) {
  .hv3-section h2,
  .hv3-press h2,
  .hv3-faq h2 {
    font-size: clamp(1.32rem, 5.2vw, 1.78rem);
  }
}

/* Global landing heading normalization. */
.hv3-home :is(h2, .hv3-section__side h2),
.hv3-press h2,
.hv3-faq h2,
.hv3-final-cta h2 {
  max-width: 680px !important;
  margin-bottom: 18px !important;
  font-size: clamp(1.32rem, .85vw + 1rem, 1.86rem) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.hv3-home :is(h2, .hv3-section__side h2)::after,
.hv3-press h2::after,
.hv3-faq h2::after {
  width: 38px !important;
  height: 2px !important;
  margin-top: 10px !important;
}

.hv3-trust .hv3-section__side h2 {
  max-width: 300px !important;
}

.hv3-final-cta h2 {
  color: #fff !important;
}

.hv3-hero__title {
  font-size: clamp(2.05rem, 2.1vw + 1rem, 3.15rem) !important;
  line-height: 1.08 !important;
  font-weight: 850 !important;
}

@media (max-width: 760px) {
  .hv3-home :is(h2, .hv3-section__side h2),
  .hv3-press h2,
  .hv3-faq h2,
  .hv3-final-cta h2 {
    font-size: clamp(1.26rem, 4.8vw, 1.64rem) !important;
  }

  .hv3-hero__title {
    font-size: clamp(1.88rem, 8vw, 2.45rem) !important;
  }
}

/* Keep the landing header aligned with the page container. */
.vc-header__inner {
  width: min(var(--page-max), calc(100vw - 40px)) !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 900px) {
  .vc-header__inner {
    width: min(100% - 32px, var(--page-max)) !important;
  }
}

/* Restore legacy-style public header for the new homepage. */
.vc-header__nav {
  background: #f1dfc4 !important;
  border-bottom: 1px solid rgba(221, 203, 174, .75) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.vc-header__inner {
  width: min(1480px, calc(100vw - 96px)) !important;
  max-width: none !important;
  min-height: 88px !important;
  padding: 0 !important;
  gap: clamp(24px, 2.4vw, 48px) !important;
}

.vc-header__brand {
  gap: 12px !important;
  min-width: 300px !important;
}

.vc-header__logo-img {
  width: 48px !important;
  height: 48px !important;
}

.vc-header__brand-label strong {
  font-size: 1.08rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.vc-header__brand-label span {
  margin-top: 4px !important;
  color: var(--hv3-gold) !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.vc-header__collapse {
  flex: 1 1 auto !important;
  justify-content: space-between !important;
  gap: 24px !important;
  min-width: 0 !important;
}

.vc-header__links {
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: clamp(18px, 1.55vw, 34px) !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.vc-header__link {
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: #232a3a !important;
  font-size: .95rem !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.vc-header__link:hover,
.vc-header__link.is-active {
  background: rgba(255, 246, 248, .86) !important;
  color: #8b1d39 !important;
}

.vc-header__actions {
  gap: 14px !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.vc-header__actions .vc-btn-ghost {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 28px !important;
  border: 2px solid #8b1d39 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #8b1d39 !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.vc-header__actions .vc-btn-solid {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 30px !important;
  border: 2px solid #8b1d39 !important;
  border-radius: 999px !important;
  background: #8b1d39 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.vc-header__actions .vc-account {
  min-height: 52px !important;
  padding: 0 18px !important;
  border: 2px solid rgba(139, 29, 57, .22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .72) !important;
  color: var(--hv3-ink) !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  .vc-header__inner {
    width: min(100% - 48px, 1120px) !important;
    min-height: 86px !important;
  }

  .vc-header__logo-img {
    width: 48px !important;
    height: 48px !important;
  }

  .vc-header__brand-label strong {
    font-size: 1rem !important;
  }

  .vc-header__brand-label span {
    font-size: .68rem !important;
  }

  .vc-header__link,
  .vc-header__actions .vc-btn-ghost,
  .vc-header__actions .vc-btn-solid,
  .vc-header__actions .vc-account {
    min-height: 48px !important;
    font-size: .88rem !important;
  }
}

@media (max-width: 900px) {
  .vc-header__inner {
    width: calc(100% - 32px) !important;
    min-height: 72px !important;
  }

  .vc-header__collapse {
    padding: 14px 0 18px !important;
  }

  .vc-header__links {
    gap: 8px !important;
  }

  .vc-header__link {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 16px !important;
  }

  .vc-header__actions {
    width: 100% !important;
    align-items: stretch !important;
  }

  .vc-header__actions .vc-btn-ghost,
  .vc-header__actions .vc-btn-solid {
    width: 100% !important;
  }
}

/* Header size parity with the shared site header. */
@media (min-width: 901px) {
  .vc-header__inner {
    width: min(1380px, calc(100vw - 64px)) !important;
    max-width: none !important;
    min-height: 82px !important;
    padding: .9rem 2rem !important;
    gap: 1.75rem !important;
  }

  .vc-header__brand {
    min-width: 0 !important;
    gap: .75rem !important;
  }

  .vc-header__logo-img {
    width: 46px !important;
    height: 46px !important;
  }

  .vc-header__brand-label strong {
    font-size: .92rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
  }

  .vc-header__brand-label span {
    margin-top: 0 !important;
    font-size: .62rem !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
  }

  .vc-header__collapse {
    gap: 1rem !important;
    justify-content: initial !important;
  }

  .vc-header__links {
    gap: .35rem !important;
    justify-content: center !important;
  }

  .vc-header__link {
    min-height: 46px !important;
    padding: .65rem .92rem !important;
    font-size: .96rem !important;
    font-weight: 700 !important;
  }

  .vc-header__actions {
    gap: .7rem !important;
  }

  .vc-header__actions .vc-btn-ghost,
  .vc-header__actions .vc-btn-solid {
    min-height: 48px !important;
    padding: .7rem 1rem !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
  }
}
