/* Home Nova Hub - site styles */

@font-face { font-family: "Red Hat Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/red-hat-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/red-hat-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/red-hat-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/red-hat-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/albert-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/albert-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --nh-night: #16123a;
  --nh-night-2: #221c52;
  --nh-violet: #5b3df5;
  --nh-violet-dark: #4327d6;
  --nh-violet-soft: #ece8ff;
  --nh-amber: #ffb547;
  --nh-amber-dark: #e8961c;
  --nh-amber-soft: #fff1d9;
  --nh-paper: #f7f6fc;
  --nh-white: #ffffff;
  --nh-ink: #1d1b2c;
  --nh-muted: #5d5a73;
  --nh-line: #e3e0f0;
  --nh-radius: 20px;
  --nh-radius-sm: 12px;
  --nh-shadow: 0 18px 40px -22px rgba(22, 18, 58, .35);
  --nh-header-h: 84px;
  --bs-body-font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--nh-ink);
  --bs-link-color-rgb: 67, 39, 214;
  --bs-link-hover-color-rgb: 22, 18, 58;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nh-header-h) + 16px); }
body { font-family: var(--bs-body-font-family); color: var(--nh-ink); background: var(--nh-white); font-size: 1.0625rem; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, .display-font { font-family: "Red Hat Display", system-ui, sans-serif; font-weight: 800; color: var(--nh-night); letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { color: var(--nh-muted); }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
::selection { background: var(--nh-amber); color: var(--nh-night); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--nh-amber); color: var(--nh-night); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--nh-amber); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: "Red Hat Display", sans-serif; font-weight: 700; border-radius: 999px; padding: .8rem 1.5rem; line-height: 1.2; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-nh { background: var(--nh-violet); color: #fff; border: 2px solid var(--nh-violet); box-shadow: 0 10px 24px -12px rgba(91, 61, 245, .8); }
.btn-nh:hover, .btn-nh:focus { background: var(--nh-violet-dark); border-color: var(--nh-violet-dark); color: #fff; }
.btn-amber { background: var(--nh-amber); color: var(--nh-night); border: 2px solid var(--nh-amber); }
.btn-amber:hover, .btn-amber:focus { background: #fff; border-color: #fff; color: var(--nh-night); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--nh-night); border-color: #fff; }
.btn-outline-nh { background: transparent; color: var(--nh-violet-dark); border: 2px solid var(--nh-violet); }
.btn-outline-nh:hover, .btn-outline-nh:focus { background: var(--nh-violet); color: #fff; }
.btn:disabled { transform: none; }

/* ---------- Header ---------- */
.nh-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--nh-line); transition: box-shadow .25s ease; }
.nh-header.scrolled { box-shadow: 0 10px 30px -18px rgba(22, 18, 58, .45); }
.nh-header .navbar { padding: 0; min-height: var(--nh-header-h); }
.nh-header .navbar > .container { min-height: var(--nh-header-h); align-items: center; flex-wrap: wrap; }
.nh-header .navbar-brand { display: flex; align-items: center; height: var(--nh-header-h); padding: 0; margin: 0; }
.nh-header .navbar-brand img { display: block; height: 44px; width: auto; }
.nh-header .navbar-toggler { align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--nh-line); border-radius: 14px; color: var(--nh-night); font-size: 1.6rem; line-height: 1; }
.nh-header .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(91, 61, 245, .25); }
.nh-header .navbar-nav { align-items: center; gap: .25rem; }
.nh-header .nav-link { position: relative; display: flex; align-items: center; height: 44px; padding: 0 .95rem !important; font-family: "Red Hat Display", sans-serif; font-weight: 700; font-size: 1rem; color: var(--nh-night); border-radius: 999px; white-space: nowrap; }
.nh-header .nav-link:hover, .nh-header .nav-link:focus { color: var(--nh-violet-dark); background: var(--nh-violet-soft); }
.nh-header .nav-link.active { color: var(--nh-violet-dark); background: var(--nh-violet-soft); }
.nh-header .header-cta { height: 48px; padding: 0 1.4rem; white-space: nowrap; }
.nh-header .nav-actions { display: flex; align-items: center; }

@media (min-width: 1200px) {
  .nh-header .navbar-collapse { justify-content: flex-end; align-items: center; height: var(--nh-header-h); }
  .nh-header .navbar-nav { margin-right: 1.25rem; }
}
@media (max-width: 1199.98px) {
  .nh-header .navbar-toggler { display: inline-flex; }
  .nh-header .navbar-collapse { flex-basis: 100%; }
  .nh-header .navbar-collapse .menu-inner { border-top: 1px solid var(--nh-line); padding: 1rem 0 1.25rem; }
  .nh-header .navbar-nav { align-items: stretch; gap: .2rem; }
  .nh-header .nav-link { height: 48px; padding: 0 1rem !important; border-radius: 12px; }
  .nh-header .nav-actions { margin-top: .9rem; }
}
@media (max-width: 575.98px) { .nh-header .header-cta { width: 100%; } }
@media (max-width: 575.98px) {
  :root { --nh-header-h: 72px; }
  .nh-header .navbar-brand img { height: 38px; }
}

/* ---------- Common layout ---------- */
.section { padding: 6rem 0; }
.section-tight { padding: 3.5rem 0; }
.bg-paper { background: var(--nh-paper); }
.bg-night { background: var(--nh-night); color: #fff; }
.bg-night h2, .bg-night h3 { color: #fff; }
.bg-night p { color: rgba(255, 255, 255, .75); }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } .section-tight { padding: 2.5rem 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: "Red Hat Display", sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nh-violet-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; background: var(--nh-amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.eyebrow.on-dark { color: var(--nh-amber); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; margin-bottom: 0; }
.hl { color: var(--nh-violet); }
.bg-night .hl, .page-hero .hl, .hero .hl, .news-band .hl { color: var(--nh-amber); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* starfield used on dark bands */
.stars { position: relative; isolation: isolate; }
.stars::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 46% 14%, #ffd99a 50%, transparent 51%), radial-gradient(1px 1px at 63% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 62%, #ffd99a 50%, transparent 51%), radial-gradient(1px 1px at 6% 88%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 54% 46%, #fff 50%, transparent 51%);
  background-size: 420px 300px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(91, 61, 245, .55), transparent 60%), linear-gradient(180deg, var(--nh-night) 0%, var(--nh-night-2) 100%); color: #fff; padding: 5.5rem 0 6.5rem; overflow: hidden; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.2rem; max-width: 560px; margin-bottom: 2rem; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-points { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .85); font-weight: 500; }
.hero-points i { color: var(--nh-amber); }
.hero-visual { position: relative; margin-left: auto; max-width: 560px; }
.hero-visual .frame { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); aspect-ratio: 4 / 4.2; border: 6px solid rgba(255, 255, 255, .08); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .orbit { position: absolute; inset: -34px -34px auto auto; width: 150px; height: 150px; border: 2px dashed rgba(255, 181, 71, .55); border-radius: 50%; z-index: -1; }
.hero-card { position: absolute; left: -38px; bottom: 34px; width: 270px; background: #fff; color: var(--nh-ink); border-radius: 18px; padding: 1.15rem 1.25rem; box-shadow: var(--nh-shadow); }
.hero-card h2 { font-size: 1.02rem; margin: 0 0 .65rem; display: flex; align-items: center; gap: .5rem; }
.hero-card h2 i { color: var(--nh-violet); }
.hero-card ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hero-card li { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; color: var(--nh-muted); border-top: 1px dashed var(--nh-line); }
.hero-card li:first-child { border-top: 0; }
.hero-card li i { color: #1f9d6b; }
.hero-card li.next i { color: var(--nh-amber-dark); }
.hero-badge { position: absolute; right: -14px; top: 26px; display: flex; align-items: center; gap: .55rem; background: var(--nh-amber); color: var(--nh-night); font-family: "Red Hat Display", sans-serif; font-weight: 800; border-radius: 999px; padding: .55rem 1rem; box-shadow: var(--nh-shadow); }
@media (max-width: 991.98px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-visual { margin: 3rem auto 0; }
  .hero-card { left: 12px; bottom: 12px; }
  .hero-badge { right: 12px; top: 12px; }
  .hero-visual .orbit { display: none; }
}
@media (max-width: 420px) { .hero-card { position: relative; left: 0; bottom: 0; width: auto; margin-top: -40px; margin-left: 12px; margin-right: 12px; } }

/* service pills band */
.pill-band { background: var(--nh-violet); padding: 1.1rem 0; }
.pill-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.pill-band a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s ease, color .2s ease; }
.pill-band a:hover, .pill-band a:focus { background: var(--nh-amber); color: var(--nh-night); }

/* ---------- Feature tiles ---------- */
.feature { height: 100%; background: #fff; border: 1px solid var(--nh-line); border-radius: var(--nh-radius); padding: 2rem 1.75rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--nh-shadow); border-color: transparent; }
.feature .ico, .ico-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--nh-violet-soft); color: var(--nh-violet-dark); font-size: 1.5rem; margin-bottom: 1.25rem; }
.feature h3 { margin-bottom: .6rem; }
.feature p { margin: 0; }

/* ---------- Service cards ---------- */
.service-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nh-line); border-radius: var(--nh-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--nh-shadow); }
.service-card .card-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nh-violet-soft); }
.service-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.05); }
.service-card .tag { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--nh-violet-dark); font-size: 1.3rem; box-shadow: 0 8px 18px -10px rgba(22, 18, 58, .6); }
.service-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.75rem; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { flex: 1; margin-bottom: 1.4rem; }
.service-card .btn { align-self: flex-start; }

/* ---------- Split / image blocks ---------- */
.img-stack { position: relative; padding: 0 0 2.5rem 2.5rem; }
.img-stack .main { border-radius: 24px; overflow: hidden; box-shadow: var(--nh-shadow); }
.img-stack .main img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.img-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 65%; height: 70%; border-radius: 24px; background: var(--nh-amber-soft); z-index: -1; }
.img-stack .note { position: absolute; right: 1.25rem; bottom: .75rem; background: var(--nh-night); color: #fff; border-radius: 16px; padding: .9rem 1.15rem; display: flex; align-items: center; gap: .7rem; font-family: "Red Hat Display", sans-serif; font-weight: 700; box-shadow: var(--nh-shadow); }
.img-stack .note i { color: var(--nh-amber); font-size: 1.3rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .45rem 0; color: var(--nh-ink); font-weight: 500; }
.check-list i { color: var(--nh-violet); font-size: 1.15rem; line-height: 1.6; }
.position-relative.z-1 { z-index: 1; }

/* process (no numbers) */
.journey { position: relative; }
.journey-step { position: relative; height: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--nh-radius); padding: 1.9rem 1.6rem; }
.journey-step .ico-badge { background: rgba(255, 181, 71, .16); color: var(--nh-amber); }
.journey-step h3 { color: #fff; margin-bottom: .55rem; }
.journey-step p { margin: 0; }

/* ---------- Blog ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--nh-radius); overflow: hidden; border: 1px solid var(--nh-line); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--nh-shadow); }
.post-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.post-card .cat { font-family: "Red Hat Display", sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nh-violet-dark); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--nh-night); text-decoration: none; }
.post-card h3 a:hover { color: var(--nh-violet-dark); }
.post-card p { flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: .4rem; font-family: "Red Hat Display", sans-serif; font-weight: 700; color: var(--nh-violet-dark); text-decoration: none; }
.read-more i { transition: transform .2s ease; }
.read-more:hover i { transform: translateX(4px); }

.article { max-width: 780px; margin: 0 auto; }
.article .cover { border-radius: 24px; overflow: hidden; margin-bottom: 2.5rem; box-shadow: var(--nh-shadow); }
.article .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article h2 { font-size: 1.65rem; margin: 2.4rem 0 .9rem; }
.article p, .article li { font-size: 1.1rem; color: #47445c; }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: .5rem; }
.article li::marker { color: var(--nh-violet); }
.tip-box { background: var(--nh-violet-soft); border-left: 4px solid var(--nh-violet); border-radius: 0 16px 16px 0; padding: 1.4rem 1.6rem; margin: 2rem 0; }
.tip-box strong { display: block; font-family: "Red Hat Display", sans-serif; color: var(--nh-night); margin-bottom: .3rem; }
.tip-box p { margin: 0; color: var(--nh-ink); }
.article-cta { margin-top: 3rem; background: var(--nh-night); border-radius: 24px; padding: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.article-cta h2 { color: #fff; margin: 0; font-size: 1.45rem; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.related a.rel { display: flex; align-items: center; gap: 1rem; padding: .9rem; border: 1px solid var(--nh-line); border-radius: 16px; text-decoration: none; color: var(--nh-night); font-family: "Red Hat Display", sans-serif; font-weight: 700; height: 100%; transition: border-color .2s ease, background-color .2s ease; }
.related a.rel:hover { border-color: var(--nh-violet); background: var(--nh-violet-soft); }
.related a.rel img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 84px; }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(900px 380px at 90% -20%, rgba(91, 61, 245, .55), transparent 60%), var(--nh-night); color: #fff; padding: 4.5rem 0 4.75rem; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; max-width: 820px; }
.page-hero p { color: rgba(255, 255, 255, .78); font-size: 1.15rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .95rem; margin-bottom: 1.4rem; color: rgba(255, 255, 255, .7); }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--nh-amber); }
.crumbs i { font-size: .7rem; opacity: .7; }

/* ---------- Newsletter band ---------- */
.news-band { border-radius: 28px; overflow: hidden; background: var(--nh-night); }
.news-band .copy { padding: 3rem; }
.news-band h2 { color: #fff; }
.news-band p { color: rgba(255, 255, 255, .75); }
.news-band .photo { height: 100%; min-height: 280px; }
.news-band .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .news-band .copy { padding: 2rem 1.5rem; } }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--nh-line); border-radius: 24px; padding: 2.5rem; box-shadow: var(--nh-shadow); }
@media (max-width: 575.98px) { .form-panel { padding: 1.6rem 1.25rem; } }
.form-label { font-weight: 600; color: var(--nh-night); margin-bottom: .4rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--nh-line); padding: .75rem 1rem; font-size: 1rem; background-color: var(--nh-paper); }
.form-control:focus, .form-select:focus { border-color: var(--nh-violet); box-shadow: 0 0 0 .25rem rgba(91, 61, 245, .15); background-color: #fff; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .25em; border: 1.5px solid #b9b4d6; }
.form-check-input:checked { background-color: var(--nh-violet); border-color: var(--nh-violet); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(91, 61, 245, .15); border-color: var(--nh-violet); }
.nh-req { color: #c2264b; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 575.98px) { .interest-grid { grid-template-columns: 1fr; } }
.interest-grid .form-check { margin: 0; padding: .7rem .9rem .7rem 2.4rem; border: 1.5px solid var(--nh-line); border-radius: 12px; background: var(--nh-paper); }
.group-feedback { display: none; color: var(--bs-form-invalid-color); font-size: .875em; margin-top: .4rem; }
.form-alert { display: none; align-items: flex-start; gap: .8rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; }
.form-alert.show { display: flex; }
.form-alert i { font-size: 1.35rem; line-height: 1.3; }
.form-alert strong { display: block; font-family: "Red Hat Display", sans-serif; }
.form-alert.ok { background: #e6f7ef; color: #135c3f; }
.form-alert.err { background: #fde8ec; color: #8a1730; }
.form-alert.err a { color: inherit; font-weight: 700; }

.contact-card { height: 100%; display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--nh-line); border-radius: var(--nh-radius); padding: 1.6rem; }
.contact-card .ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: var(--nh-violet); color: #fff; font-size: 1.35rem; }
.contact-card h2 { font-size: 1.1rem; margin: 0 0 .3rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--nh-muted); font-weight: 500; word-break: break-word; }
.contact-card a { color: var(--nh-violet-dark); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-photo, .nh-map { border-radius: 20px; overflow: hidden; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nh-map iframe { display: block; width: 100%; height: 280px; border: 0; background: var(--nh-violet-soft); }
.side-note { background: var(--nh-paper); border-radius: 20px; padding: 1.75rem; }
.side-note h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.side-note ul { list-style: none; padding: 0; margin: 0; }
.side-note li { display: flex; gap: .65rem; padding: .35rem 0; color: var(--nh-muted); }
.side-note li i { color: var(--nh-violet); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .75rem; }
.legal p, .legal li { color: #47445c; }
.legal .updated { display: inline-flex; align-items: center; gap: .5rem; background: var(--nh-violet-soft); color: var(--nh-violet-dark); font-weight: 600; padding: .4rem .9rem; border-radius: 999px; font-size: .95rem; }

/* ---------- Footer ---------- */
.nh-footer { background: var(--nh-night); color: rgba(255, 255, 255, .72); padding: 0; }
.nh-footer .cta-strip { padding: 3.25rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nh-footer .cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nh-footer .cta-strip h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.nh-footer .cta-strip h2 span { color: var(--nh-amber); }
.nh-footer .footer-main { padding: 4rem 0 3rem; }
.nh-footer .brand { display: inline-flex; align-items: center; height: 40px; margin-bottom: 1.25rem; }
.nh-footer .brand img { display: block; height: 40px; width: auto; }
.nh-footer .col-title { display: flex; align-items: center; height: 40px; margin: 0 0 1.25rem; font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: 0; }
.nh-footer p { color: rgba(255, 255, 255, .72); margin-bottom: 1.25rem; }
.nh-footer ul { list-style: none; padding: 0; margin: 0; }
.nh-footer li { margin: 0 0 .7rem; line-height: 1.45; }
.nh-footer li:last-child { margin-bottom: 0; }
.nh-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s ease; }
.nh-footer a:hover, .nh-footer a:focus { color: var(--nh-amber); }
.nh-footer .link-icon { display: inline-flex; align-items: center; gap: .55rem; }
.nh-footer .link-icon i { color: var(--nh-amber); width: 1.1em; }
.nh-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 0; font-size: .95rem; }
.nh-footer .footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nh-footer .footer-bottom p { margin: 0; }
.nh-footer .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; }
.nh-footer .legal-links li { margin: 0; }
@media (max-width: 991.98px) {
  .nh-footer .cta-strip .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .nh-footer .footer-main { padding: 3rem 0 2.5rem; }
  .nh-footer .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
  .nh-footer .legal-links { justify-content: center; }
}

.nh-top { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--nh-amber); color: var(--nh-night); font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--nh-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.nh-top.show { opacity: 1; visibility: visible; transform: none; }
.nh-top:hover { background: var(--nh-violet); color: #fff; }
