/* ==========================================================
   Health Services Care - Stylesheet
   Design: "hospital wayfinding". Charcoal sign plates, signal yellow
   pictograms, periwinkle and green department colors, and dashed
   floor guide lines that lead visitors through each page.
   Fonts: Overpass (headings) and Atkinson Hyperlegible (body).
   ========================================================== */
:root {
  --ink: #1b2330;
  --ink-2: #263042;
  --ink-3: #344055;
  --sign: #ffc91f;
  --sign-deep: #e8b100;
  --peri: #5367e6;
  --peri-deep: #3f51c9;
  --peri-soft: #e8ebfd;
  --go: #23a06a;
  --go-soft: #e2f4ea;
  --paper: #f4f3ee;
  --paper-2: #ebe9e1;
  --white: #ffffff;
  --text: #2a3140;
  --muted: #646d7c;
  --line: #dddad0;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(27, 35, 48, .45);
  --shadow-sm: 0 8px 22px -14px rgba(27, 35, 48, .4);
  --head: "Overpass", "Segoe UI", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--head); color: var(--ink); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
a { color: var(--peri-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
p { margin-bottom: 1rem; }
::selection { background: var(--sign); color: var(--ink); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; }

.section { padding: 100px 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #c9d0dc; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5 { color: var(--white); }

/* floor guide stripes (decor) */
.floor-lines { position: absolute; left: 0; right: 0; height: 26px; pointer-events: none; }
.floor-lines span { display: block; height: 6px; margin-bottom: 4px; border-radius: 3px;
  background-size: 200% 100%; animation: floorflow 14s linear infinite; }
.floor-lines .l1 { background-image: repeating-linear-gradient(90deg, var(--sign) 0 46px, transparent 46px 62px); width: 100%; }
.floor-lines .l2 { background-image: repeating-linear-gradient(90deg, var(--peri) 0 46px, transparent 46px 62px); width: 82%; animation-duration: 18s; }
.floor-lines .l3 { background-image: repeating-linear-gradient(90deg, var(--go) 0 46px, transparent 46px 62px); width: 64%; animation-duration: 22s; }
@keyframes floorflow { from { background-position: 0 0; } to { background-position: 620px 0; } }

/* guide line under headings */
.guide { display: flex; align-items: center; gap: 0; width: 132px; height: 14px; margin: 16px 0 22px; }
.guide::before { content: ""; flex: 1; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--sign) 0 18px, transparent 18px 26px); background-size: 52px 6px;
  animation: guideflow 2.4s linear infinite; }
.guide::after { content: ""; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--sign); margin-left: 2px; }
.guide.center { margin-left: auto; margin-right: auto; }
.guide.peri::before { background-image: repeating-linear-gradient(90deg, var(--peri) 0 18px, transparent 18px 26px); }
.guide.peri::after { border-left-color: var(--peri); }
@keyframes guideflow { from { background-position: 0 0; } to { background-position: 52px 0; } }

/* sign plate eyebrow */
.plate {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white);
  font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px 5px 5px; border-radius: 8px; margin-bottom: 14px;
}
.plate i { width: 26px; height: 26px; border-radius: 5px; background: var(--sign); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.plate.light { background: var(--white); color: var(--ink); }
.plate.peri i { background: var(--peri); color: var(--white); }

.section-title { font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom: 0; }
.section-title em { font-style: normal; color: var(--peri); position: relative; white-space: nowrap; }
.bg-ink .section-title em, .on-ink em { color: var(--sign); }
.section-lead { font-size: 1.12rem; color: var(--muted); }
.bg-ink .section-lead { color: #aeb7c6; }

/* buttons */
.btn-hs {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 800; font-size: .98rem; letter-spacing: .01em;
  background: var(--sign); color: var(--ink); border: 2px solid var(--sign);
  padding: 13px 24px; border-radius: 10px; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  box-shadow: 0 6px 0 -1px var(--sign-deep);
}
.btn-hs i { transition: transform .25s; }
.btn-hs:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 0 -1px var(--sign-deep); }
.btn-hs:hover i.bi-arrow-right, .btn-hs:hover i.bi-arrow-up-right { transform: translateX(4px); }
.btn-hs-sm { padding: 9px 18px; font-size: .9rem; box-shadow: 0 4px 0 -1px var(--sign-deep); }
.btn-hs-dark { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 6px 0 -1px #0c1119; }
.btn-hs-dark:hover { color: var(--sign); box-shadow: 0 8px 0 -1px #0c1119; }
.btn-hs-peri { background: var(--peri); border-color: var(--peri); color: var(--white); box-shadow: 0 6px 0 -1px var(--peri-deep); }
.btn-hs-peri:hover { color: var(--white); box-shadow: 0 8px 0 -1px var(--peri-deep); }
.btn-hs-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); box-shadow: none; }
.btn-hs-ghost:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.btn-hs-outline { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn-hs-outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }

/* ---------------------------------------------------- top bar + header */
.hs-topbar { background: var(--ink); color: #b8c0cd; font-size: .88rem; padding: 8px 0; }
.hs-topbar a { color: #dfe4ec; display: inline-flex; align-items: center; gap: 7px; }
.hs-topbar a:hover { color: var(--sign); }
.hs-topbar .tb-links { display: flex; gap: 22px; flex-wrap: wrap; }
.hs-topbar .tb-note { display: inline-flex; align-items: center; gap: 10px; }
.hs-topbar .tb-note b { background: var(--go); color: var(--white); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 2px 9px; border-radius: 4px; font-family: var(--head); }

.hs-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.hs-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--sign) 0 33.3%, var(--peri) 33.3% 66.6%, var(--go) 66.6% 100%); }
.hs-header.scrolled { box-shadow: 0 10px 30px -18px rgba(27,35,48,.5); }
.navbar-hs { padding: 14px 0 18px; }
.navbar-hs .nav-link { font-family: var(--head); font-weight: 700; color: var(--ink); padding: 8px 14px !important; border-radius: 8px; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.navbar-hs .nav-link::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: .8rem; opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--peri); }
.navbar-hs .nav-link:hover { background: var(--paper); color: var(--ink); }
.navbar-hs .nav-link:hover::after, .navbar-hs .nav-link.active::after { opacity: 1; transform: none; }
.navbar-hs .nav-link.active { background: var(--peri-soft); color: var(--peri-deep); }
.navbar-toggler { border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; font-size: 1.5rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }

/* logo, one line */
.hs-logo { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.hs-logo .mark { width: 44px; height: 44px; flex: none; }
.hs-logo .mark svg { width: 100%; height: 100%; }
.hs-logo .word { font-family: var(--head); font-weight: 900; font-size: 1.42rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.hs-logo .word b { font-weight: 900; color: var(--peri); }
.footer .hs-logo .word { color: var(--white); }
.footer .hs-logo .word b { color: var(--sign); }

/* ---------------------------------------------------- hero */
.hero { background: var(--paper); padding: 80px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(83,103,230,.14), transparent 65%); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 900; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sign) 62% 92%, transparent 92%); padding: 0 4px; }
.hero .lead-text { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero .floor-lines { bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.hero-chips li i { color: var(--peri); }

/* sign frame for photos */
.signframe { position: relative; border-radius: 22px; background: var(--ink); padding: 10px; box-shadow: var(--shadow); }
.signframe::before, .signframe::after { content: ""; position: absolute; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: #8d97a8; box-shadow: inset 0 0 0 2px #5d687a; z-index: 2; }
.signframe::before { left: 18px; }
.signframe::after { right: 18px; }
.signframe .pic { border-radius: 14px; overflow: hidden; }
.signframe .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.signframe:hover .pic img { transform: scale(1.04); }
.signframe .label { position: absolute; left: 22px; bottom: 22px; z-index: 2; background: var(--white); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: .86rem;
  padding: 7px 14px 7px 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.signframe .label i { width: 24px; height: 24px; border-radius: 5px; background: var(--sign); display: inline-flex; align-items: center; justify-content: center; }
.signframe.light { background: var(--white); border: 1px solid var(--line); }

.hero-art { position: relative; padding: 0 0 40px 40px; }
.hero-art .main .pic { aspect-ratio: 15 / 16; }
.pin-here { position: absolute; top: 34px; left: 0; z-index: 3; background: var(--sign); color: var(--ink); border-radius: 12px; padding: 12px 16px; font-family: var(--head); font-weight: 900;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.pin-here i { font-size: 1.5rem; }
.pin-here small { display: block; font-family: var(--body); font-weight: 400; font-size: .78rem; line-height: 1.2; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.directory { position: absolute; right: -10px; bottom: 0; z-index: 3; width: 260px; background: var(--ink); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.directory h6 { color: var(--sign); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin: 2px 4px 10px; }
.directory a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--white); font-family: var(--head); font-weight: 700; font-size: .92rem;
  padding: 8px 10px; border-radius: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.directory a:hover { background: var(--ink-3); color: var(--sign); }
.directory a .arr { width: 26px; height: 26px; border-radius: 6px; background: var(--peri); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.directory a:nth-child(3) .arr { background: var(--go); }
.directory a:nth-child(4) .arr { background: var(--sign); color: var(--ink); }
.hero-avatar { position: absolute; left: 6px; bottom: 6px; z-index: 3; width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--white); overflow: hidden; box-shadow: var(--shadow); }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------- route (visit steps) */
.route-sec { background: var(--ink); padding: 60px 0; position: relative; overflow: hidden; }
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.route::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--sign) 0 22px, transparent 22px 34px); background-size: 68px 6px; animation: guideflow 3s linear infinite; }
.stop { position: relative; text-align: center; color: #b8c0cd; }
.stop .dot { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 18px; background: var(--ink-2); border: 3px solid var(--sign); color: var(--sign);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; position: relative; z-index: 1; transition: .3s; }
.stop:hover .dot { background: var(--sign); color: var(--ink); transform: translateY(-4px) rotate(-4deg); }
.stop:nth-child(2) .dot { border-color: var(--peri); color: #9eabff; }
.stop:nth-child(3) .dot { border-color: var(--go); color: #6fd6a6; }
.stop:nth-child(4) .dot { border-color: var(--white); color: var(--white); }
.stop h5 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.stop p { font-size: .95rem; margin: 0 auto; max-width: 230px; }

/* ---------------------------------------------------- about */
.about-art { position: relative; padding: 0 70px 70px 0; }
.about-art .main .pic { aspect-ratio: 14 / 13; }
.about-art .small { position: absolute; right: 0; bottom: 0; width: 46%; z-index: 2; }
.about-art .small .pic { aspect-ratio: 1; }
.hang-sign { position: absolute; top: -18px; right: 40px; z-index: 3; text-align: center; animation: swing 5s ease-in-out infinite; transform-origin: top center; }
.hang-sign::before { content: ""; display: block; width: 60%; height: 22px; margin: 0 auto; border: 2px solid #8d97a8; border-bottom: 0; border-radius: 40px 40px 0 0; }
.hang-sign span { display: inline-flex; align-items: center; gap: 8px; background: var(--go); color: var(--white); font-family: var(--head); font-weight: 800; padding: 9px 16px; border-radius: 8px; box-shadow: var(--shadow-sm); font-size: .92rem; }
@keyframes swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 30px; }
.about-points span { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); background: var(--paper); border-left: 5px solid var(--peri); padding: 10px 14px; border-radius: 6px; }
.about-points span:nth-child(2) { border-color: var(--sign); }
.about-points span:nth-child(3) { border-color: var(--go); }
.about-points span i { color: var(--peri); }

/* ---------------------------------------------------- why (pictogram signs) */
.why-sec { background: var(--ink); overflow: hidden; }
.why-sec .floor-lines { top: 0; opacity: .5; }
.picto { background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 26px; height: 100%; transition: .3s; position: relative; }
.picto:hover { transform: translateY(-5px); background: var(--ink-3); }
.picto .ic { width: 58px; height: 58px; border-radius: 12px; background: var(--sign); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; }
.picto.p2 .ic { background: var(--peri); color: var(--white); }
.picto.p3 .ic { background: var(--go); color: var(--white); }
.picto h5 { color: var(--white); font-size: 1.18rem; margin-bottom: 8px; }
.picto p { color: #aeb7c6; margin: 0; font-size: .97rem; }
.picto .way { position: absolute; top: 24px; right: 24px; color: #6f7a8d; font-size: 1.2rem; transition: .3s; }
.picto:hover .way { color: var(--sign); transform: translateX(4px); }
.why-photo .pic { aspect-ratio: 4 / 4.4; }
.why-lead { color: #aeb7c6; font-size: 1.1rem; }

/* ---------------------------------------------------- services (department cards) */
.dept-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .3s; position: relative; }
.dept-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--sign); z-index: 2; }
.dept-card.c1::before { background: var(--peri); }
.dept-card.c2::before { background: var(--go); }
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.dept-card .photo { position: relative; aspect-ratio: 44 / 30; overflow: hidden; }
.dept-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.dept-card:hover .photo img { transform: scale(1.06); }
.dept-card .door { position: relative; margin: -34px 18px 0; z-index: 2; background: var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.dept-card .door .ic { width: 44px; height: 44px; flex: none; border-radius: 9px; background: var(--sign); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.dept-card.c1 .door .ic { background: var(--peri); color: var(--white); }
.dept-card.c2 .door .ic { background: var(--go); color: var(--white); }
.dept-card .door h4 { color: var(--white); font-size: 1.12rem; margin: 0; }
.dept-card .door small { display: block; color: #aeb7c6; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.dept-card .door .go { margin-left: auto; color: var(--sign); font-size: 1.2rem; transition: transform .3s; }
.dept-card:hover .door .go { transform: translateX(4px); }
.dept-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dept-card .body p { color: var(--muted); flex: 1; }
.dept-card .body .btn-hs { align-self: flex-start; }

/* ---------------------------------------------------- testimonials (visitor pass) */
.pass-card { margin: 0; background: var(--white); border-radius: 18px; border: 1px solid var(--line); height: 100%; position: relative; overflow: hidden; transition: .3s; padding-top: 0; }
.pass-card:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow); }
.pass-card .phead { background: var(--peri); color: var(--white); padding: 22px 22px 16px; position: relative; display: flex; justify-content: space-between; align-items: center; }
.pass-card.c0 .phead { background: var(--ink); }
.pass-card.c2 .phead { background: var(--go); }
.pass-card .phead::before { content: ""; position: absolute; top: 8px; left: 50%; width: 46px; height: 8px; margin-left: -23px; border-radius: 6px; background: var(--white); opacity: .9; }
.pass-card .phead span { font-family: var(--head); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.pass-card .phead i { font-size: 1.6rem; opacity: .8; }
.pass-card .pbody { padding: 22px; }
.pass-card blockquote { font-size: 1.04rem; color: var(--text); margin: 12px 0 20px; }
.pass-card .who { display: flex; align-items: center; gap: 14px; border-top: 2px dashed var(--line); padding-top: 18px; }
.pass-card .who img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.pass-card .who strong { display: block; font-family: var(--head); color: var(--ink); font-size: 1.05rem; }
.pass-card .who small { color: var(--muted); }
.stars { color: var(--sign-deep); display: flex; gap: 3px; }

/* ---------------------------------------------------- blog cards (info board) */
.board-card { background: var(--white); border-radius: var(--radius); overflow: hidden; height: 100%; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s; }
.board-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.board-card .thumb { position: relative; display: block; aspect-ratio: 2 / 1.15; overflow: hidden; }
.board-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.board-card:hover .thumb img { transform: scale(1.05); }
.board-card .ptag { position: absolute; left: 16px; top: 16px; background: var(--ink); color: var(--white); font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px 4px 4px; border-radius: 7px; display: inline-flex; align-items: center; gap: 8px; }
.board-card .ptag i { width: 22px; height: 22px; border-radius: 5px; background: var(--sign); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.board-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.board-card .meta { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.board-card h4 { font-size: 1.24rem; margin-bottom: 10px; }
.board-card h4 a { color: var(--ink); }
.board-card h4 a:hover { color: var(--peri); }
.board-card p { color: var(--muted); flex: 1; }
.link-more { font-family: var(--head); font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; border-bottom: 3px solid var(--sign); align-self: flex-start; padding-bottom: 2px; }
.link-more:hover { color: var(--peri); }

/* ---------------------------------------------------- FAQ (information desk) */
.info-desk { position: relative; }
.info-desk .pic { aspect-ratio: 46 / 52; }
.info-badge { position: absolute; right: -14px; top: 40px; z-index: 3; width: 92px; height: 92px; border-radius: 18px; background: var(--peri); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 900; font-size: 3rem; box-shadow: var(--shadow); }
.info-call { position: absolute; left: 24px; right: 24px; bottom: -26px; z-index: 3; background: var(--sign); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.info-call i { font-size: 1.6rem; color: var(--ink); }
.info-call strong { display: block; font-family: var(--head); color: var(--ink); }
.info-call a { color: var(--ink); font-weight: 700; }
.hs-acc .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; background: var(--white); }
.hs-acc .accordion-button { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.06rem; padding: 18px 20px; background: var(--white); box-shadow: none; gap: 12px; }
.hs-acc .accordion-button::before { content: "\F431"; font-family: "bootstrap-icons"; color: var(--peri); font-weight: 400; }
.hs-acc .accordion-button:not(.collapsed) { background: var(--ink); color: var(--white); }
.hs-acc .accordion-button:not(.collapsed)::before { color: var(--sign); }
.hs-acc .accordion-button::after { filter: grayscale(1); }
.hs-acc .accordion-button:not(.collapsed)::after { filter: invert(1); }
.hs-acc .accordion-body { color: var(--muted); padding: 18px 22px; }

/* ---------------------------------------------------- CTA (this way sign) */
.cta-sec { padding: 0 0 100px; }
.cta-sign { background: var(--sign); border-radius: 26px; padding: 56px; position: relative; overflow: hidden; box-shadow: 0 10px 0 -2px var(--sign-deep), var(--shadow); }
.cta-sign::before { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(27,35,48,.18); border-radius: 18px; pointer-events: none; }
.cta-sign h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900; }
.cta-sign p { color: #3a3a2e; font-size: 1.1rem; max-width: 560px; }
.cta-sign .plate { background: var(--ink); }
.cta-arrow { font-size: 6rem; line-height: 1; color: var(--ink); display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(14px); } }
.cta-photo { width: 100%; max-width: 320px; aspect-ratio: 1; margin-left: auto; border-radius: 50%; border: 10px solid var(--ink); overflow: hidden; position: relative; z-index: 1; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-sign .this-way { position: absolute; right: 30%; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------- page banner */
.page-hero { background: var(--ink); color: #c4ccd8; padding: 80px 0 100px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 900; margin-bottom: 0; }
.page-hero p { font-size: 1.12rem; max-width: 560px; margin: 0; }
.page-hero .floor-lines { bottom: 22px; opacity: .85; }
.page-hero .ph-art .pic { aspect-ratio: 56 / 42; }
.page-hero .signframe { background: var(--ink-3); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .9rem; margin-bottom: 18px; font-family: var(--head); font-weight: 700; }
.crumbs a { color: var(--sign); }
.crumbs a:hover { color: var(--white); }
.crumbs i { font-size: .72rem; color: #7c879a; }
.crumbs span { color: var(--white); }

/* ---------------------------------------------------- about page */
.story-art { position: relative; padding: 0 0 60px 60px; }
.story-art .main .pic { aspect-ratio: 52 / 60; }
.story-art .small { position: absolute; left: 0; bottom: 0; width: 45%; z-index: 2; }
.story-art .small .pic { aspect-ratio: 1; }
.mv-card { border-radius: var(--radius); padding: 40px; height: 100%; background: var(--paper); border-top: 8px solid var(--peri); position: relative; overflow: hidden; }
.mv-card.dark { background: var(--ink); border-color: var(--sign); color: #b8c0cd; }
.mv-card.dark h3 { color: var(--white); }
.mv-card .ic { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: var(--peri); color: var(--white); margin-bottom: 18px; }
.mv-card.dark .ic { background: var(--sign); color: var(--ink); }
.mv-card .bg-arrow { position: absolute; right: -10px; bottom: -40px; font-size: 9rem; opacity: .07; line-height: 1; }
.mv-card.dark .bg-arrow { opacity: .1; color: var(--white); }
.value-tile { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; height: 100%; transition: .3s; text-align: center; }
.value-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-tile .ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 14px; background: var(--ink); color: var(--sign); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.value-tile p { color: var(--muted); margin: 0; }
.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--ink-2); border-radius: 14px; padding: 18px 20px; border-left: 5px solid var(--sign); }
.promise-list li:nth-child(2) { border-color: var(--peri); }
.promise-list li:nth-child(3) { border-color: var(--go); }
.promise-list li:nth-child(4) { border-color: var(--white); }
.promise-list .ic { font-size: 1.5rem; color: var(--sign); }
.promise-list h5 { color: var(--white); margin-bottom: 4px; font-size: 1.1rem; }
.promise-list p { color: #aeb7c6; margin: 0; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .3s; height: 100%; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .tphoto { position: relative; aspect-ratio: 36 / 42; overflow: hidden; }
.team-card .tphoto img { width: 100%; height: 100%; object-fit: cover; }
.team-card .badge-id { position: absolute; left: 14px; top: 14px; background: var(--sign); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.team-card .info { padding: 20px 22px 22px; border-top: 6px solid var(--ink); }
.team-card .info h5 { margin-bottom: 2px; }
.team-card .info span { color: var(--muted); font-size: .95rem; }
.team-card .soc { display: flex; gap: 8px; margin-top: 12px; }
.team-card .soc a { width: 36px; height: 36px; border-radius: 8px; background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.team-card .soc a:hover { background: var(--peri); color: var(--white); }

/* ---------------------------------------------------- forms, contact */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow-sm); border-top: 8px solid var(--sign); }
.form-label { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: .95rem; }
.form-control, .form-select { border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 1rem; background-color: var(--paper); }
.form-control:focus, .form-select:focus { border-color: var(--peri); box-shadow: 0 0 0 4px rgba(83,103,230,.15); background-color: var(--white); }
.form-check-input:checked { background-color: var(--peri); border-color: var(--peri); }
.form-success { display: none; margin-top: 20px; background: var(--go-soft); color: #136240; border-radius: 10px; padding: 14px 18px; font-weight: 700; }
.form-success.show { display: flex; gap: 10px; align-items: center; }
.contact-panel { background: var(--ink); color: #b8c0cd; border-radius: 22px; padding: 40px; height: 100%; position: relative; overflow: hidden; }
.contact-panel h2 { color: var(--white); font-size: 1.9rem; }
.contact-panel .c-item { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.contact-panel .c-item .ic { width: 50px; height: 50px; flex: none; border-radius: 10px; background: var(--sign); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-panel .c-item:nth-of-type(2) .ic { background: var(--peri); color: var(--white); }
.contact-panel .c-item:nth-of-type(3) .ic { background: var(--go); color: var(--white); }
.contact-panel .c-item small { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: #8a95a8; }
.contact-panel .c-item p { margin: 0; color: var(--white); font-weight: 700; }
.contact-panel .c-item a { color: var(--white); }
.contact-panel .c-item a:hover { color: var(--sign); }
.contact-panel .floor-lines { bottom: 10px; opacity: .6; }
.map-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.map-info { padding: 40px; height: 100%; background: var(--paper); }
.map-info .ic { width: 58px; height: 58px; border-radius: 12px; background: var(--ink); color: var(--sign); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; }
.map-info .addr { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.map-wrap { height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 9px; background: var(--ink-3); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.social a:hover { background: var(--sign); color: var(--ink); }

/* newsletter */
.perks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks .ic { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--ink); color: var(--sign); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.perks strong { font-family: var(--head); color: var(--ink); font-size: 1.06rem; }
.perks p { margin: 0; color: var(--muted); }
.unsub-ic { width: 70px; height: 70px; border-radius: 16px; background: var(--peri-soft); color: var(--peri); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 16px; }

/* ---------------------------------------------------- blog post */
.post-hero { background: var(--ink); padding: 70px 0 150px; text-align: center; position: relative; overflow: hidden; }
.post-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; margin: 18px auto 16px; }
.post-hero .tag-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sign); color: var(--ink); font-family: var(--head); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; padding: 6px 14px; border-radius: 7px; }
.post-hero .by { color: #b8c0cd; }
.post-hero .floor-lines { bottom: 22px; opacity: .8; }
.post-cover { margin-top: -110px; position: relative; z-index: 2; }
.post-cover .pic { aspect-ratio: 2 / 1; }
.article { font-size: 1.08rem; }
.article .intro { font-size: 1.22rem; color: var(--ink); border-left: 6px solid var(--sign); padding-left: 20px; }
.article h2 { font-size: 1.7rem; margin: 38px 0 14px; display: flex; align-items: center; gap: 12px; }
.article h2::before { content: "\F138"; font-family: "bootstrap-icons"; font-size: 1.2rem; color: var(--peri); }
.article blockquote { background: var(--ink); color: var(--white); border-radius: 16px; padding: 30px 32px; font-family: var(--head); font-size: 1.3rem; font-weight: 700; margin: 34px 0; position: relative; }
.article blockquote::before { content: "\F6B0"; font-family: "bootstrap-icons"; color: var(--sign); font-size: 2rem; display: block; line-height: 1; margin-bottom: 10px; }
.article ul.check { list-style: none; padding: 0; display: grid; gap: 10px; }
.article ul.check li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 10px; padding: 12px 16px; }
.article ul.check i { color: var(--go); font-size: 1.2rem; }
.article .tip { display: flex; gap: 16px; background: var(--peri-soft); border-radius: 16px; padding: 22px; margin: 30px 0; }
.article .tip .ic { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--peri); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.article .tip strong { font-family: var(--head); color: var(--ink); }
.article .tip p { margin: 4px 0 0; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 2px dashed var(--line); padding-top: 22px; margin-top: 30px; }
.share span { font-family: var(--head); font-weight: 800; color: var(--ink); margin-right: 6px; }
.share a { width: 38px; height: 38px; border-radius: 8px; background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.share a:hover { background: var(--ink); color: var(--sign); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.post-nav .pn { background: var(--paper); border-radius: 14px; padding: 18px; display: block; color: var(--ink); border: 1px solid var(--line); }
.post-nav .pn:hover { border-color: var(--peri); }
.post-nav .pn small { display: block; color: var(--peri); font-family: var(--head); font-weight: 800; margin-bottom: 4px; }
.post-nav .pn span { font-family: var(--head); font-weight: 700; line-height: 1.35; display: block; }
.post-nav .next { text-align: right; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.side-card h4 { font-size: 1.2rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 4px solid var(--sign); display: inline-block; }
.side-card.accent { background: var(--ink); color: #b8c0cd; border: 0; }
.side-card.accent h4 { color: var(--white); }
.side-card .recent { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--ink); font-family: var(--head); font-weight: 700; line-height: 1.35; font-size: .95rem; }
.side-card .recent img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.side-card .recent:hover { color: var(--peri); }
.svc-links, .toc { list-style: none; padding: 0; margin: 0; }
.svc-links li a, .toc li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--text); border-bottom: 1px solid var(--paper-2); }
.svc-links li a i, .toc li i { color: var(--peri); }
.svc-links li a:hover { color: var(--peri); padding-left: 4px; }

/* ---------------------------------------------------- footer */
.footer { background: var(--ink); color: #aeb7c6; position: relative; overflow: hidden; padding-top: 0; }
.footer .floor-lines { top: 0; position: relative; height: auto; padding-top: 0; }
.f-news { background: var(--ink-2); border-radius: 22px; padding: 38px; margin: 60px 0 50px; border: 1px solid rgba(255,255,255,.06); }
.f-news h3 { color: var(--white); font-size: 1.7rem; }
.f-news p { margin: 0; }
.news-mini { display: flex; gap: 10px; background: var(--white); border-radius: 12px; padding: 6px; }
.news-mini input { flex: 1; border: 0; padding: 10px 14px; font-size: 1rem; background: transparent; min-width: 0; }
.news-mini input:focus { outline: none; }
.news-mini button { border: 0; background: var(--sign); color: var(--ink); font-family: var(--head); font-weight: 800; border-radius: 9px; padding: 10px 20px; white-space: nowrap; }
.news-mini button:hover { background: var(--sign-deep); }
.f-unsub { margin-top: 10px !important; font-size: .9rem; }
.f-unsub a { color: var(--sign); }
.footer h5 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.footer h5::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--sign); }
.footer .col-lg-3:last-child h5::before { background: var(--peri); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #aeb7c6; display: inline-flex; gap: 8px; align-items: center; }
.footer ul a::before { content: "\F138"; font-family: "bootstrap-icons"; font-size: .7rem; color: #67728a; transition: .2s; }
.footer ul a:hover { color: var(--sign); }
.footer ul a:hover::before { color: var(--sign); transform: translateX(3px); }
.f-contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.f-contact a { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.f-contact a i { color: var(--sign); }
.f-contact a:hover { background: var(--sign); color: var(--ink); }
.f-contact a:hover i { color: var(--ink); }
.footer-bottom { background: #121822; padding: 18px 0; font-size: .92rem; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-bottom a { color: #aeb7c6; }
.footer-bottom a:hover { color: var(--sign); }
.back-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 12px; background: var(--sign); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; z-index: 1040; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--ink); color: var(--sign); }

/* ---------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------- responsive */
@media (max-width: 1199px) {
  .directory { width: 230px; }
}
@media (max-width: 991px) {
  .section { padding: 76px 0; }
  .navbar-hs .navbar-collapse { padding: 14px 0 6px; }
  .navbar-hs .nav-link { width: 100%; }
  .navbar-hs .btn-hs { margin-top: 10px; }
  .hero { padding: 56px 0 100px; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .route { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .route::before { display: none; }
  .cta-sign { padding: 40px 30px; }
  .cta-sign .this-way { display: none; }
  .cta-photo { margin: 10px auto 0; max-width: 260px; }
  .sidebar { position: static; }
  .about-art, .story-art { max-width: 560px; margin: 0 auto; }
  .info-desk { max-width: 480px; margin: 0 auto 30px; }
}
@media (max-width: 575px) {
  body { font-size: 16px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .hs-logo .word { font-size: 1.16rem; }
  .hs-logo .mark { width: 38px; height: 38px; }
  .hero-art { padding: 0 0 30px 0; }
  .pin-here { top: -14px; left: 10px; padding: 9px 12px; }
  .directory { position: relative; right: auto; width: 100%; margin-top: 16px; }
  .hero-avatar { display: none; }
  .about-art { padding: 0 30px 40px 0; }
  .hang-sign { right: 10px; }
  .about-points { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .form-card, .contact-panel, .map-info, .f-news { padding: 26px 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .info-badge { width: 70px; height: 70px; font-size: 2.2rem; right: 0; }
  .story-art { padding: 0 0 40px 30px; }
  .news-mini { flex-direction: column; }
  .cta-arrow { font-size: 4rem; }
}
