/* Modern Home Improve — site styles */

/* ---------- Fonts ---------- */
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/urbanist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/urbanist-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/urbanist-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --mhi-ink: #17191f;
  --mhi-ink-2: #23262e;
  --mhi-ink-soft: #4a4f5c;
  --mhi-berry: #d23560;
  --mhi-berry-dark: #a8234a;
  --mhi-berry-bright: #ff6b93;
  --mhi-berry-soft: #fbe4eb;
  --mhi-slate: #5b6b7d;
  --mhi-slate-soft: #e6ebf1;
  --mhi-fog: #eff0f2;
  --mhi-paper: #fafaf8;
  --mhi-white: #ffffff;
  --mhi-line: #e1e3e8;
  --mhi-radius: 22px;
  --mhi-radius-sm: 14px;
  --mhi-shadow: 0 18px 50px -24px rgba(23, 25, 31, .35);
  --mhi-shadow-sm: 0 8px 24px -14px rgba(23, 25, 31, .3);
  --mhi-head: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --mhi-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--mhi-body); color: var(--mhi-ink-soft); background: var(--mhi-paper); font-size: 1.04rem; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, .h1, .h2, .h3 { font-family: var(--mhi-head); color: var(--mhi-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin-bottom: 1rem; }
a { color: var(--mhi-berry-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mhi-berry); }
img { max-width: 100%; height: auto; }
::selection { background: var(--mhi-berry); color: #fff; }
:focus-visible { outline: 3px solid var(--mhi-berry); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--mhi-ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { left: 12px; color: #fff; }

.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.bg-fog { background: var(--mhi-fog); }
.bg-white { background: var(--mhi-white) !important; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mhi-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mhi-berry-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--mhi-berry); }
.eyebrow.on-dark { color: var(--mhi-berry-bright); }
.eyebrow.on-dark::before { background: var(--mhi-berry-bright); }
.hl { color: var(--mhi-berry); position: relative; white-space: nowrap; }
.hl-under { background: linear-gradient(transparent 62%, var(--mhi-berry-soft) 62%); padding: 0 .1em; }
.lead-text { font-size: 1.15rem; color: var(--mhi-ink-soft); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--mhi-berry); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--mhi-head); font-weight: 700; border-radius: 999px; padding: .8rem 1.5rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; letter-spacing: .01em; 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-mhi { background: var(--mhi-berry); color: #fff; border: 2px solid var(--mhi-berry); box-shadow: 0 10px 24px -12px rgba(210, 53, 96, .8); }
.btn-mhi:hover, .btn-mhi:focus { background: var(--mhi-berry-dark); border-color: var(--mhi-berry-dark); color: #fff; }
.btn-mhi:disabled { background: var(--mhi-berry-dark); border-color: var(--mhi-berry-dark); color: #fff; opacity: .8; }
.btn-ghost { background: transparent; color: var(--mhi-ink); border: 2px solid var(--mhi-ink); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--mhi-ink); color: #fff; }
.btn-light-mhi { background: #fff; color: var(--mhi-ink); border: 2px solid #fff; }
.btn-light-mhi:hover, .btn-light-mhi:focus { background: var(--mhi-berry-soft); border-color: var(--mhi-berry-soft); color: var(--mhi-ink); }
.btn-outline-light-mhi { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-light-mhi:hover, .btn-outline-light-mhi:focus { background: #fff; color: var(--mhi-ink); border-color: #fff; }
.link-arrow { font-family: var(--mhi-head); font-weight: 700; color: var(--mhi-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s ease; color: var(--mhi-berry); }
.link-arrow:hover { color: var(--mhi-berry-dark); }
.link-arrow:hover i { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.mhi-header { position: sticky; top: 0; z-index: 1030; background: rgba(250, 250, 248, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.mhi-header.scrolled { box-shadow: 0 10px 30px -22px rgba(23,25,31,.5); border-color: var(--mhi-line); }
.mhi-header .navbar { padding: .85rem 0; }
.mhi-header .navbar-brand img { height: 40px; width: auto; display: block; }
.mhi-header .nav-link { font-family: var(--mhi-head); font-weight: 700; color: var(--mhi-ink); padding: .5rem .95rem !important; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.mhi-header .nav-link:hover { color: var(--mhi-berry-dark); background: var(--mhi-berry-soft); }
.mhi-header .nav-link.active { color: #fff; background: var(--mhi-ink); }
.mhi-header .navbar-toggler { border: 2px solid var(--mhi-ink); border-radius: 12px; padding: .3rem .6rem; font-size: 1.5rem; color: var(--mhi-ink); line-height: 1; }
.mhi-header .navbar-toggler:focus { box-shadow: 0 0 0 3px var(--mhi-berry-soft); }
.header-cta { padding: .65rem 1.25rem; }
@media (max-width: 1199.98px) {
  .mhi-header .navbar-collapse { padding: 1rem 0 .5rem; }
  .mhi-header .nav-link { padding: .65rem 1rem !important; }
  .header-cta { margin-top: .75rem; }
}
@media (max-width: 575.98px) {
  .mhi-header .navbar-brand img { height: 32px; }
}
@media (max-width: 380px) {
  .mhi-header .navbar-brand img { height: 27px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--mhi-line) 1px, transparent 1px), linear-gradient(90deg, var(--mhi-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); opacity: .7; pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead-text { max-width: 540px; margin-bottom: 2rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--mhi-line); border-radius: 999px; padding: .4rem 1rem .4rem .45rem; font-weight: 600; color: var(--mhi-ink); font-size: .92rem; margin-bottom: 1.6rem; box-shadow: var(--mhi-shadow-sm); }
.hero-tag .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--mhi-berry); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--mhi-ink); font-size: .95rem; }
.hero-chips i { color: var(--mhi-berry); }
.hero-visual { position: relative; padding: 0 0 36px 28px; }
.hero-visual::before { content: ""; position: absolute; right: -28px; top: 34px; width: 74%; height: 84%; border-radius: var(--mhi-radius); background: var(--mhi-berry); }
.hero-photo { position: relative; border-radius: var(--mhi-radius); overflow: hidden; box-shadow: var(--mhi-shadow); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.plan-card { position: absolute; left: -6px; bottom: 0; background: #fff; border-radius: var(--mhi-radius-sm); padding: 1.1rem 1.25rem; box-shadow: var(--mhi-shadow); width: min(300px, 78%); }
.plan-card .title { font-family: var(--mhi-head); font-weight: 800; color: var(--mhi-ink); font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.plan-card .title i { color: var(--mhi-berry); }
.plan-card ul { list-style: none; padding: 0; margin: 0; }
.plan-card li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; padding: .28rem 0; color: var(--mhi-ink-soft); }
.plan-card li i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .78rem; background: var(--mhi-berry-soft); color: var(--mhi-berry-dark); flex-shrink: 0; }
.plan-card li.done { color: var(--mhi-ink); font-weight: 600; }
.plan-card li.done i { background: var(--mhi-berry); color: #fff; }
.badge-float { position: absolute; top: 18px; right: -6px; background: var(--mhi-ink); color: #fff; border-radius: 999px; padding: .55rem 1rem; font-family: var(--mhi-head); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; box-shadow: var(--mhi-shadow-sm); }
.badge-float i { color: var(--mhi-berry-bright); }
@media (max-width: 991.98px) {
  .hero { padding: 48px 0 72px; }
  .hero-visual { margin-top: 3rem; padding-left: 0; }
  .hero-visual::before { right: -12px; }
  .badge-float { right: 10px; }
}

/* ---------- Marquee ---------- */
.ticker { background: var(--mhi-ink); color: #fff; overflow: hidden; padding: 1.05rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: inline-flex; align-items: center; gap: 1.2rem; font-family: var(--mhi-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; padding-right: 1.2rem; }
.ticker li i { color: var(--mhi-berry-bright); font-size: .9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Service cards ---------- */
.svc-card { background: #fff; border-radius: var(--mhi-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--mhi-line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--mhi-shadow); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: 16px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-icon { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--mhi-berry); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--mhi-shadow-sm); }
.svc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: .6rem; }
.svc-body p { font-size: .98rem; flex: 1; }
.svc-body .btn { align-self: flex-start; padding: .65rem 1.2rem; }

/* ---------- Split / about ---------- */
.frame-photo { position: relative; border-radius: var(--mhi-radius); overflow: hidden; box-shadow: var(--mhi-shadow); }
.frame-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stack-photos { position: relative; padding: 0 0 70px 0; }
.stack-photos .frame-photo.main { width: 86%; aspect-ratio: 4 / 3; }
.stack-photos .frame-photo.small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1; border: 8px solid var(--mhi-paper); }
.bg-fog .stack-photos .frame-photo.small { border-color: var(--mhi-fog); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--mhi-ink); font-weight: 500; }
.check-list i { width: 26px; height: 26px; border-radius: 8px; background: var(--mhi-berry-soft); color: var(--mhi-berry-dark); display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; margin-top: .15rem; }

/* ---------- Dark feature band ---------- */
.dark-band { background: var(--mhi-ink); color: #c9ccd4; position: relative; overflow: hidden; }
.dark-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(210,53,96,.45), transparent 65%); pointer-events: none; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .container { position: relative; z-index: 1; }
.feature-tile { border: 1px solid rgba(255,255,255,.12); border-radius: var(--mhi-radius); padding: 1.8rem; height: 100%; background: rgba(255,255,255,.03); transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.feature-tile:hover { background: rgba(255,255,255,.07); border-color: rgba(255,107,147,.5); transform: translateY(-4px); }
.feature-tile .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--mhi-berry); color: #fff; display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 1.2rem; }
.feature-tile h3 { margin-bottom: .55rem; }
.feature-tile p { margin: 0; font-size: .98rem; }

/* ---------- Process ---------- */
.process { position: relative; }
.process-step { position: relative; text-align: center; padding: 0 .5rem; }
.process-step .ring { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.3rem; background: #fff; border: 2px dashed var(--mhi-berry); display: grid; place-items: center; position: relative; z-index: 1; }
.process-step .ring i { width: 66px; height: 66px; border-radius: 50%; background: var(--mhi-ink); color: #fff; display: grid; place-items: center; font-size: 1.6rem; transition: background-color .25s ease; }
.process-step:hover .ring i { background: var(--mhi-berry); }
.process-step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.process-step p { font-size: .97rem; margin: 0; }
@media (min-width: 992px) {
  .process::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed #cfd3da; }
}

/* ---------- Rooms ---------- */
.room-pills { display: flex; flex-wrap: wrap; gap: .7rem; }
.room-pill { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--mhi-line); border-radius: 999px; padding: .65rem 1.15rem; font-family: var(--mhi-head); font-weight: 700; color: var(--mhi-ink); text-decoration: none; transition: all .2s ease; }
.room-pill i { color: var(--mhi-berry); }
.room-pill:hover { background: var(--mhi-ink); color: #fff; border-color: var(--mhi-ink); }
.room-pill:hover i { color: var(--mhi-berry-bright); }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--mhi-radius); padding: 2rem; height: 100%; border: 1px solid var(--mhi-line); position: relative; display: flex; flex-direction: column; }
.quote-card .bi-quote { font-size: 2.6rem; color: var(--mhi-berry); line-height: 1; margin-bottom: .6rem; display: block; }
.quote-card blockquote { color: var(--mhi-ink); font-size: 1.04rem; flex: 1; margin-bottom: 1.4rem; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; }
.quote-card .avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--mhi-slate-soft); color: var(--mhi-ink); font-family: var(--mhi-head); font-weight: 800; display: grid; place-items: center; }
.quote-card .who strong { display: block; color: var(--mhi-ink); font-family: var(--mhi-head); }
.quote-card .who span { font-size: .9rem; }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border-radius: var(--mhi-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--mhi-line); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--mhi-shadow); }
.post-card .media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; background: var(--mhi-berry-soft); color: var(--mhi-berry-dark); border-radius: 999px; padding: .25rem .8rem; font-size: .8rem; font-weight: 700; margin-bottom: .9rem; }
.post-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--mhi-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--mhi-berry-dark); }
.post-card p { font-size: .98rem; flex: 1; }
.post-card.wide { flex-direction: row; }
.post-card.wide .media { width: 46%; aspect-ratio: auto; min-height: 320px; flex-shrink: 0; }
.post-card.wide .body { padding: 2.2rem; justify-content: center; }
.post-card.wide h3 { font-size: 1.7rem; }
@media (max-width: 767.98px) {
  .post-card.wide { flex-direction: column; }
  .post-card.wide .media { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .post-card.wide .body { padding: 1.5rem 1.6rem 1.7rem; }
  .post-card.wide h3 { font-size: 1.35rem; }
}

/* ---------- Newsletter band ---------- */
.news-band { position: relative; border-radius: 28px; overflow: hidden; background: var(--mhi-berry); color: #fff; }
.news-band .row { min-height: 340px; }
.news-band .txt { padding: 3rem; }
.news-band h2 { color: #fff; }
.news-band p { color: rgba(255,255,255,.88); }
.news-band .img { position: relative; min-height: 260px; height: 100%; }
.news-band .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .news-band .txt { padding: 2rem 1.5rem; } }

/* ---------- Page hero ---------- */
.page-hero { background: var(--mhi-ink); color: #c9ccd4; padding: 84px 0 92px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(210,53,96,.55), transparent 65%); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 820px; margin-bottom: 1rem; }
.page-hero .hl { color: var(--mhi-berry-bright); }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .9rem; margin-bottom: 1.4rem; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--mhi-berry-bright); }
.crumbs i { font-size: .7rem; opacity: .6; }
.crumbs span { color: #a9adb8; }
.page-hero .post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-size: .95rem; }
.page-hero .post-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.page-hero .post-meta i { color: var(--mhi-berry-bright); }

/* ---------- Values / mission ---------- */
.value-card { background: #fff; border: 1px solid var(--mhi-line); border-radius: var(--mhi-radius); padding: 1.8rem; height: 100%; }
.value-card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mhi-berry-soft); color: var(--mhi-berry-dark); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.value-card p { margin: 0; font-size: .98rem; }
.mission { background: #fff; border-radius: 28px; padding: 3rem; border: 1px solid var(--mhi-line); position: relative; overflow: hidden; }
.mission::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--mhi-berry); }
.mission blockquote { font-family: var(--mhi-head); font-weight: 700; color: var(--mhi-ink); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; margin: 0; }
@media (max-width: 575.98px) { .mission { padding: 2rem 1.5rem 2rem 2rem; } }

/* ---------- Services page ---------- */
.svc-jump { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.svc-jump a { font-size: .92rem; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--mhi-line); color: var(--mhi-ink); font-weight: 600; text-decoration: none; transition: all .2s ease; }
.svc-jump a:hover { background: var(--mhi-berry); border-color: var(--mhi-berry); color: #fff; }
.svc-anchor { scroll-margin-top: 110px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--mhi-ink); border-radius: 28px; padding: 3rem; color: #c9ccd4; position: relative; overflow: hidden; }
.cta-strip::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(210,53,96,.6), transparent 65%); }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: .5rem; }
.cta-strip p { margin: 0; }
@media (max-width: 575.98px) { .cta-strip { padding: 2rem 1.5rem; } }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border-radius: 28px; padding: 2.6rem; border: 1px solid var(--mhi-line); box-shadow: var(--mhi-shadow-sm); }
@media (max-width: 575.98px) { .form-panel { padding: 1.7rem 1.25rem; border-radius: 22px; } }
.form-label { font-weight: 600; color: var(--mhi-ink); font-size: .95rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #d6d9df; padding: .75rem 1rem; font-size: 1rem; background-color: var(--mhi-paper); }
.form-control:focus, .form-select:focus { border-color: var(--mhi-berry); box-shadow: 0 0 0 4px rgba(210, 53, 96, .15); background-color: #fff; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .25em; border: 1.5px solid #b9bdc6; }
.form-check-input:checked { background-color: var(--mhi-berry); border-color: var(--mhi-berry); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(210, 53, 96, .15); border-color: var(--mhi-berry); }
.mhi-req { color: var(--mhi-berry-dark); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; gap: .9rem; align-items: flex-start; border-radius: 16px; padding: 1.1rem 1.25rem; margin-top: 1.4rem; }
.form-alert.show { display: flex; }
.form-alert i { font-size: 1.4rem; line-height: 1; margin-top: .1rem; }
.form-alert strong { display: block; color: var(--mhi-ink); font-family: var(--mhi-head); }
.form-alert.ok { background: #e6f5ee; border: 1px solid #b6e0cb; }
.form-alert.ok i { color: #1d8a5b; }
.form-alert.err { background: var(--mhi-berry-soft); border: 1px solid #f3b9c9; }
.form-alert.err i { color: var(--mhi-berry-dark); }
.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 { background: var(--mhi-paper); border: 1.5px solid #e1e3e8; border-radius: 12px; padding: .65rem .9rem .65rem 2.4rem; margin: 0; }
.group-feedback { display: none; color: var(--bs-form-invalid-color, #dc3545); font-size: .875em; margin-top: .4rem; }

.contact-card { background: #fff; border-radius: var(--mhi-radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; border: 1px solid var(--mhi-line); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mhi-berry); color: #fff; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.contact-card p { margin: 0; color: var(--mhi-ink); }
.contact-card a { font-weight: 600; word-break: break-word; }
.contact-photo { border-radius: var(--mhi-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.mhi-map { border-radius: var(--mhi-radius); overflow: hidden; border: 1px solid var(--mhi-line); background: var(--mhi-fog); aspect-ratio: 4 / 3; }
.mhi-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.side-note { background: var(--mhi-ink); color: #c9ccd4; border-radius: var(--mhi-radius); padding: 1.8rem; }
.side-note h2, .side-note h3 { color: #fff; font-size: 1.25rem; }
.side-note ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.side-note li { display: flex; gap: .6rem; }
.side-note li i { color: var(--mhi-berry-bright); }
.side-note a { color: #fff; }

/* ---------- Article ---------- */
.article-cover { border-radius: 28px; overflow: hidden; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--mhi-shadow); aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .article-cover { margin-top: -40px; aspect-ratio: 4 / 3; border-radius: 20px; } }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.4rem 0 .9rem; }
.article-body h3 { margin: 1.8rem 0 .6rem; }
.article-body ul { padding-left: 0; list-style: none; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.article-body ul li { position: relative; padding-left: 1.7rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--mhi-berry); }
.article-body .lead-text { font-size: 1.22rem; color: var(--mhi-ink); }
.tip-box { background: var(--mhi-berry-soft); border-radius: var(--mhi-radius-sm); padding: 1.4rem 1.6rem; margin: 2rem 0; display: flex; gap: 1rem; }
.tip-box i { color: var(--mhi-berry-dark); font-size: 1.5rem; line-height: 1.2; }
.tip-box p { margin: 0; color: var(--mhi-ink); }
.tip-box strong { font-family: var(--mhi-head); }
.aside-card { background: #fff; border: 1px solid var(--mhi-line); border-radius: var(--mhi-radius); padding: 1.6rem; margin-bottom: 1.4rem; }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside-card .mini-post { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--mhi-ink); font-weight: 600; font-family: var(--mhi-head); line-height: 1.3; padding: .55rem 0; }
.aside-card .mini-post img { width: 72px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.aside-card .mini-post:hover { color: var(--mhi-berry-dark); }
.sticky-aside { position: sticky; top: 110px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: 1.6rem; margin-top: 2.4rem; border-top: 1px solid var(--mhi-line); }
.share-row a { width: 40px; height: 40px; border-radius: 12px; background: var(--mhi-fog); display: grid; place-items: center; color: var(--mhi-ink); text-decoration: none; }
.share-row a:hover { background: var(--mhi-berry); color: #fff; }

/* ---------- Legal ---------- */
.legal { background: #fff; border-radius: 28px; padding: 3rem; border: 1px solid var(--mhi-line); }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
@media (max-width: 575.98px) { .legal { padding: 1.8rem 1.3rem; } }

/* ---------- Footer ---------- */
.mhi-footer { background: var(--mhi-ink); color: #a9adb8; padding: 80px 0 28px; margin-top: 0; }
.mhi-footer .cta-row { padding-bottom: 3rem; margin-bottom: 3.2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.mhi-footer .cta-row h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.mhi-footer .cta-row h2 span { color: var(--mhi-berry-bright); }
.mhi-footer .brand img { height: 38px; width: auto; }
.mhi-footer .col-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.mhi-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.mhi-footer a { color: #d3d6dd; text-decoration: none; }
.mhi-footer a:hover { color: var(--mhi-berry-bright); }
.mhi-footer .mail { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: #fff; word-break: break-word; }
.mhi-footer .mail i { color: var(--mhi-berry-bright); }
.mhi-footer .bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }

.mhi-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--mhi-berry); color: #fff; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--mhi-shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 1020; }
.mhi-top.show { opacity: 1; visibility: visible; transform: none; }
.mhi-top:hover { background: var(--mhi-berry-dark); }

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

@media (max-width: 575.98px) {
  .hero-visual { padding-bottom: 0; }
  .hero-visual::before { top: 20px; height: 70%; }
  .plan-card { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 14px 0; }
}
