/* =====================================================================
   iCare4Smiles — modern layer: header + mega menu (site-wide) and the
   redesigned homepage sections. Pure CSS animation, reduced-motion safe.
   ===================================================================== */
:root {
  --c-navy: #1d2647;
  --c-ink: #2b3350;
  --c-muted: #5d6680;
  --c-blue: #558aac;
  --c-blue-d: #2f6a90;
  --c-purple: #9580db;
  --c-purple-d: #5b45b8;
  --c-lilac: #efeaff;
  --c-sky: #eaf4fb;
  --c-line: #e3e6f0;
  --c-alert: #c8372d;
  --grad: linear-gradient(120deg, #558aac 0%, #7f86d4 55%, #9580db 100%);
  --grad-soft: linear-gradient(135deg, #eef6fc 0%, #f3efff 100%);
  --shadow-1: 0 1px 2px rgba(29, 38, 71, .06), 0 4px 14px rgba(29, 38, 71, .07);
  --shadow-2: 0 18px 50px -18px rgba(47, 42, 110, .35);
  --r: 18px;
  --font: 'Bai Jamjuree', 'Open Sans', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------------------------------------------------------- header */
.sh { position: sticky; top: 0; z-index: 10050; background: rgba(255, 255, 255, .985); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; font-family: var(--font); }
.sh--scrolled { box-shadow: 0 6px 24px -12px rgba(29, 38, 71, .28); border-bottom-color: var(--c-line); }
.sh-inner { max-width: 1320px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 28px; }
.sh-logo { position: relative; display: block; flex: none; width: 190px; height: 76px; }
.sh--scrolled .sh-logo { width: 150px; height: 60px; }
.sh-logo__img, .sh-logo__lottie { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sh-logo__lottie svg { width: 100% !important; height: 100% !important; }
.sh-logo__lottie.is-ready + .sh-logo__img, .sh-logo:has(.sh-logo__lottie.is-ready) .sh-logo__img { opacity: 0; }
.sh-main { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.sh--scrolled .sh-pills { display: none; }

.sh-pills { display: flex; gap: 12px; }
.sh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 14px; text-decoration: none; line-height: 1.15; border: 1px solid var(--c-line); background: #fff; color: var(--c-navy); box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s; }
.sh-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(29, 38, 71, .35); }
.sh-pill__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c-sky); color: var(--c-blue-d); }
.sh-pill__txt { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; }
.sh-pill__txt small { font-weight: 500; font-size: 11.5px; color: var(--c-muted); }
.sh-pill--book { background: var(--c-purple-d); border-color: var(--c-purple-d); color: #fff; }
.sh-pill--book .sh-pill__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.sh-pill--book .sh-pill__txt small { color: #e6e0ff; }
.sh-pill__arrow { font-weight: 700; transition: transform .2s; }
.sh-pill--book:hover .sh-pill__arrow { transform: translateX(3px); }
.sh-pill--deal { border-style: dashed; border-color: #e7b7b2; background: #fff6f5; }
.sh-pill--deal .sh-pill__icon { background: var(--c-alert); color: #fff; }
.sh-pill--deal .sh-pill__txt span { color: var(--c-alert); }

.sh-nav { position: relative; }
.sh-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sh-menu > li { position: static; }
.sh-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; background: none; font: 600 15px/1.2 var(--font); color: var(--c-ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.sh-link:hover, .sh-link.is-open { background: var(--c-lilac); color: var(--c-purple-d); }
.sh-link.is-current { color: var(--c-purple-d); border-color: #d8cff9; background: #f7f4ff; }
.sh-chev { transition: transform .25s var(--ease); }
.sh-trigger.is-open .sh-chev { transform: rotate(180deg); }
.sh-pay { margin-left: 6px; background: #3f7194; color: #fff; }
.sh-pay:hover { background: #2d5878; color: #fff; }

/* mega panels */
.mm { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; animation: mm-in .28s var(--ease); }
.mm[hidden] { display: none; }
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
.mm::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.mm-panel { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; width: min(860px, calc(100vw - 48px)); padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-2); }
.mm-panel--wide { width: min(1040px, calc(100vw - 48px)); }
.mm-panel--simple { grid-template-columns: minmax(0, 1fr); width: min(620px, calc(100vw - 48px)); }
.mm-feature { border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mm-feature--alert { background: #fff1ef; border: 1px solid #f6cbc5; }
.mm-feature--doctor { background: var(--grad-soft); border: 1px solid #dfe3f8; }
.mm-feature__photo { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4fb; }
.mm-feature__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.mm-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: 12.5px; font-weight: 700; color: var(--c-purple-d); }
.mm-chip--live { color: var(--c-alert); border-color: #f2c4be; }
.mm-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2fae5b; flex: none; }
.mm-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #2fae5b; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
.mm-feature__title { margin: 2px 0 0; padding: 0; font: 700 22px/1.2 var(--font); color: var(--c-navy); }
.mm-feature__text { margin: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.mm-feature__link { font-weight: 700; font-size: 14px; color: var(--c-alert); text-align: center; text-decoration: none; }
.mm-feature__foot { margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid #f2d0cb; font-size: 12.5px; color: var(--c-muted); display: flex; gap: 6px; align-items: center; }
.mm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font: 700 15px/1.1 var(--font); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.mm-btn:hover { transform: translateY(-2px); }
.mm-btn--alert { background: var(--c-alert); color: #fff; box-shadow: 0 8px 20px -10px rgba(200, 55, 45, .8); }
.mm-btn--alert:hover { color: #fff; background: #ad2c23; }
.mm-btn--primary { background: var(--c-purple-d); color: #fff; box-shadow: 0 10px 24px -12px rgba(91, 69, 184, .9); }
.mm-btn--primary:hover { background: #4a36a0; color: #fff; }
.mm-btn--ghost { background: #fff; color: var(--c-purple-d); border: 1.5px solid #d8cff9; }
.mm-body { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 0; min-width: 0; }
.mm-tiles { list-style: none; margin: 0; padding: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; border-bottom: 1px solid var(--c-line); }
.mm-panel--simple .mm-tiles, .mm-tiles:last-child { border-bottom: 0; padding-bottom: 0; }
.mm-tile { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mm-tile:hover, .mm-tile:focus-visible { background: #f5f3ff; }
.mm-tile__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue-d); transition: transform .3s var(--ease), background .2s, color .2s; }
.mm-tile:hover .mm-tile__icon { transform: rotate(-8deg) scale(1.08); background: var(--c-purple-d); color: #fff; }
.mm-tile__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-tile__label { font: 700 15.5px/1.25 var(--font); color: var(--c-navy); }
.mm-tile__sub { font-size: 13px; line-height: 1.35; color: var(--c-muted); }
.mm-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 22px; padding: 4px 10px; }
.mm-group__title { margin: 6px 0 6px; padding: 0; font: 700 11.5px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #7c84a0; }
.mm-group ul { list-style: none; margin: 0; padding: 0; }
.mm-group a { display: block; padding: 4.5px 0; font-size: 14.5px; color: var(--c-ink); text-decoration: none; transition: color .15s, transform .15s; }
.mm-group a:hover { color: var(--c-purple-d); transform: translateX(3px); }
.mm-panel a[aria-current='page'] { color: var(--c-purple-d); font-weight: 700; }
.mm-all { align-self: flex-end; margin: auto 6px 4px 0; font-weight: 700; font-size: 14px; color: var(--c-blue-d); text-decoration: none; }

/* mobile actions + drawer */
.sh-mobile-actions { display: none; align-items: center; gap: 10px; margin-left: auto; }
.sh-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; color: var(--c-purple-d); cursor: pointer; }
.sh-burger { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--c-purple-d); color: #fff; font: 700 15px var(--font); cursor: pointer; }
.sh-scrim { position: fixed; inset: 0; background: rgba(20, 24, 45, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 10060; }
.sh-scrim.is-open { opacity: 1; pointer-events: auto; }
.sh-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 10070; overflow-y: auto; padding: 14px 18px 28px; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .35); animation: dr-in .32s var(--ease); font-family: var(--font); }
.sh-drawer[hidden] { display: none; }
@keyframes dr-in { from { transform: translateX(100%); } to { transform: none; } }
html.sh-drawer-open { overflow: hidden; }
.sh-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sh-drawer__ctas { display: grid; gap: 10px; margin-bottom: 14px; }
.sh-drawer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.sh-drawer__list > li { border-bottom: 1px solid var(--c-line); }
.sh-drawer__link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 4px; border: 0; background: none; font: 700 17px var(--font); color: var(--c-navy); text-decoration: none; text-align: left; cursor: pointer; }
.sh-drawer__toggle[aria-expanded='true'] .sh-chev { transform: rotate(180deg); }
.sh-drawer__sub { list-style: none; margin: 0 0 10px; padding: 4px 0 4px 12px; border-left: 2px solid #ddd5fb; }
.sh-drawer__sub[hidden] { display: none; }
.sh-drawer__sub a { display: block; padding: 8px 4px; font-size: 15.5px; color: var(--c-ink); text-decoration: none; }
.sh-drawer a[aria-current='page'] { color: var(--c-purple-d); font-weight: 700; }
.sh-drawer__foot { margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.sh-drawer__foot p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 0; }
.sh-social { display: flex; gap: 10px; margin-top: 10px; }
.sh-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-lilac); color: var(--c-purple-d); }

@media (max-width: 1240px) {
  .sh-link { padding: 8px 9px; font-size: 14.5px; }
  .sh-inner { gap: 18px; }
}
@media (max-width: 1100px) {
  .sh-main { display: none; }
  .sh-mobile-actions { display: flex; }
  .sh-logo, .sh--scrolled .sh-logo { width: 140px; height: 56px; }
  .sh-inner { padding: 8px 16px; }
}

/* the old Divi header is no longer rendered */
.et-l--header { display: none; }

/* =====================================================================
   Homepage redesign
   ===================================================================== */
.hx { position: relative; font-family: var(--font); color: var(--c-ink); overflow: hidden; }
.hx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
.hx h2, .hx h3, .hx h4, .hx h5, .hx p { padding: 0; }
.hx .hx-eyebrow { padding: 6px 14px; }
.hx ul, .hx ol { list-style: none !important; margin: 0; padding: 0 !important; }
.hx li { list-style: none !important; }
.hx li::before, .hx li::marker { content: none; }
.hx-title { margin: 0 0 14px; font: 700 clamp(30px, 3.4vw, 46px)/1.08 var(--font); letter-spacing: -.01em; color: var(--c-navy); text-transform: none; }
.hx-lead { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--c-muted); }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font: 700 13px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--c-purple-d); box-shadow: var(--shadow-1); }
.hx-eyebrow--live { color: var(--c-alert); }
.hx-eyebrow--light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; }
.hx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 14px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--c-purple-d); }
.hx-kicker--light { color: #fff; }
.hx-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 700 16px/1.1 var(--font); text-decoration: none; border: 2px solid transparent; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.hx-btn .ic { transition: transform .25s var(--ease); }
.hx-btn:hover { transform: translateY(-3px); }
.hx-btn:hover .ic { transform: translateX(4px); }
.hx-btn--primary { background: var(--c-purple-d); color: #fff; box-shadow: 0 14px 30px -14px rgba(91, 69, 184, .9); }
.hx-btn--primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.hx-btn--primary:hover::after { transform: translateX(120%); }
.hx-btn--primary:hover { color: #fff; background: #4a36a0; }
.hx-btn--ghost { background: #fff; color: var(--c-navy); border-color: var(--c-line); }
.hx-btn--ghost:hover { border-color: var(--c-purple); color: var(--c-purple-d); }
.hx-btn--white { background: #fff; color: var(--c-purple-d); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45); }
.hx-btn--white:hover { color: var(--c-purple-d); }
.hx-btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hx-btn--outline-light:hover { background: #fff; color: var(--c-purple-d); }
.hx-btn--lg { padding: 17px 28px; font-size: 17px; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

/* reveal on scroll (only when JS runs — content is visible without it) */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 1. office intro */
.hx-office { padding: 90px 0 80px; background: radial-gradient(900px 420px at 92% 10%, #efeaff 0%, transparent 60%), radial-gradient(700px 380px at 0% 100%, #eaf4fb 0%, transparent 60%), #fff; }
.hx-office__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.hx-stats > div { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.hx-stats dt { font: 700 30px/1 var(--font); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-stats > div:last-child dt { font-size: 20px; line-height: 1.5; }
.hx-stats dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--c-muted); }
.hx-office__media { position: relative; padding: 18px; }
.hx-blob { position: absolute; inset: -10% -6% -6% 8%; background: radial-gradient(closest-side, rgba(127, 134, 212, .45), rgba(149, 128, 219, .18) 60%, transparent); border-radius: 50%; animation: blob 14s ease-in-out infinite alternate; will-change: transform; }
@keyframes blob { to { transform: rotate(14deg) scale(1.08) translate(-12px, 8px); } }
.hx-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 6px; background: #9580db; box-shadow: var(--shadow-2); }
.hx-frame::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(#558aac, #9580db, #c9b8ff, #558aac); animation: spin 8s linear infinite; will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }
.hx-frame img { position: relative; display: block; width: 100%; height: auto; border-radius: 23px; }
.hx-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .96); border: 1px solid #fff; box-shadow: 0 18px 38px -18px rgba(29, 38, 71, .45); font-size: 13px; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.hx-float strong { display: block; font-size: 15px; color: var(--c-navy); }
.hx-float small { color: var(--c-muted); }
.hx-float--a { left: -18px; bottom: 54px; }
.hx-float--b { right: -6px; top: 34px; animation-delay: -3s; }
.hx-float__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #ffe7e4; color: var(--c-alert); }
.hx-float__icon--leaf { background: #e4f6ea; color: #2a8a4d; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* 2. dentists */
.hx-docs { padding: 100px 0; background: linear-gradient(120deg, #4f7fa3 0%, #6f78c4 55%, #8a74d6 100%); color: #fff; }
.hx-docs__marquee { position: absolute; top: 26px; left: 0; display: flex; white-space: nowrap; font: 800 120px/1 var(--font); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); animation: marquee 40s linear infinite; pointer-events: none; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hx-docs__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.hx-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px; border-radius: 28px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); transition: transform .4s var(--ease), background .4s; }
.hx-doc:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .16); }
.hx-doc__photo { position: relative; border-radius: 22px; overflow: hidden; align-self: start; aspect-ratio: 557 / 792; background: rgba(255, 255, 255, .2); }
.hx-doc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.hx-doc:hover .hx-doc__photo img { transform: scale(1.05); }
.hx-doc__badge { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--c-purple-d); font: 700 12px var(--font); }
.hx-doc__name { margin: 0 0 12px; font: 700 30px/1.1 var(--font); color: #fff; text-transform: none; }
.hx-chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hx-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 600; }
.hx-doc__bio, .hx-more p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.hx-more { margin: 0 0 18px; }
.hx-more summary { cursor: pointer; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 8px; }

/* women-led strengths */
.hx-why { padding: 100px 0; background: #fbfaff; }
.hx-why__head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.hx-why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hx-why__card { position: relative; padding: 28px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.hx-why__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hx-why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.hx-why__card:hover::before { transform: scaleX(1); }
.hx-why__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px; background: var(--grad-soft); color: var(--c-purple-d); transition: transform .4s var(--ease); }
.hx-why__card:hover .hx-why__icon { transform: rotate(-8deg) scale(1.08); }
.hx-why__title { margin: 0 0 8px; font: 700 20px/1.25 var(--font); color: var(--c-navy); text-transform: none; }
.hx-why__card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--c-muted); }

/* 3. services */
.hx-svc { padding: 100px 0; background: #fff; }
.hx-svc__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.hx-svc__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hx-svc__card { display: flex; flex-direction: column; height: 100%; border-radius: 24px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.hx-svc__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: #d8cff9; }
.hx-svc__card .art { display: block; width: 100%; height: auto; }
.hx-svc__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.hx-svc__title { margin: 0; font: 700 21px/1.2 var(--font); color: var(--c-navy); text-transform: none; }
.hx-svc__line { font-size: 15px; line-height: 1.55; color: var(--c-muted); }
.hx-svc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--c-purple-d); }
.hx-svc__more .ic { transition: transform .25s var(--ease); }
.hx-svc__card:hover .hx-svc__more .ic { transform: translateX(5px); }

/* service illustrations — paused until in view */
.art * { transform-box: fill-box; transform-origin: center; }
.art .art-orb { animation: orb 9s ease-in-out infinite alternate; }
.art .art-orb--2 { animation-duration: 12s; }
@keyframes orb { to { transform: translate(-10px, 8px) scale(1.15); } }
.art-ring { animation: ring 2.2s ease-out infinite; }
.art-ring--2 { animation-delay: .7s; } .art-ring--3 { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.art-pulse-dot { animation: dot 1.1s ease-in-out infinite alternate; }
@keyframes dot { to { transform: scale(1.3); } }
.art-wobble { animation: wobble 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.art-relief { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 4.4s ease-in-out infinite; }
@keyframes draw { 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 30; } }
.art-veneer { animation: veneer 4s var(--ease) infinite; }
@keyframes veneer { 0% { transform: translateX(90px); opacity: 0; } 35%, 80% { transform: none; opacity: .92; } 100% { transform: none; opacity: 0; } }
.art-shine { animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 40% { opacity: 0; } 55%, 80% { opacity: 1; } 100% { opacity: 0; } }
.art-twinkle { animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.4); opacity: .2; } 50% { transform: scale(1.1) rotate(25deg); opacity: 1; } }
.art-tray { animation: tray 4s var(--ease) infinite; }
@keyframes tray { 0% { transform: translateY(-56px); opacity: 0; } 35%, 80% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.art-shift { animation: shift 4s var(--ease) infinite; }
@keyframes shift { 0%, 25% { transform: rotate(9deg) translateY(4px); } 45%, 100% { transform: none; } }
.art-bounce { animation: bounce 1.6s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes bounce { 50% { transform: translateY(-14px); } }
.art-shadow { animation: shadow 1.6s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes shadow { 50% { transform: scaleX(.75); opacity: .6; } }
.art-brush { animation: brush 1.2s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes brush { from { transform: rotate(-12deg); } to { transform: rotate(10deg); } }
.art-screw { animation: screw 4s var(--ease) infinite; }
@keyframes screw { 0% { transform: translateY(-46px); } 40%, 100% { transform: none; } }
.art-crown { animation: crown 4s var(--ease) infinite; }
@keyframes crown { 0%, 35% { transform: translateY(-60px); opacity: 0; } 60%, 90% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
.art-beam { animation: beam 3s ease-in-out infinite; transform-origin: 100% 0; }
@keyframes beam { 0%, 20% { opacity: 0; } 35%, 70% { opacity: .75; } 100% { opacity: 0; } }
.art-led { animation: dot .6s ease-in-out infinite alternate; }
.art-fill { animation: fill 3s ease-in-out infinite; }
@keyframes fill { 0%, 30% { opacity: 0; } 60%, 90% { opacity: 1; } 100% { opacity: 0; } }
html.js .hx-svc li:not(.is-in) .art *, .hx-svc__card:not(:hover) .art .art-orb { animation-play-state: paused; }

/* 4. process */
.hx-proc { padding: 100px 0 110px; background: linear-gradient(180deg, #f4f9fd 0%, #f6f3ff 100%); }
.hx-proc__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.hx-proc__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hx-proc__track { position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 4px; border-radius: 4px; background: #dcd6f3; }
.hx-proc__track span { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s; }
.hx-proc__steps.is-in .hx-proc__track span, html:not(.js) .hx-proc__track span { transform: scaleX(1); }
.hx-step { position: relative; text-align: center; padding: 0 6px; }
.hx-step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--c-purple-d); border: 3px solid #dcd6f3; box-shadow: 0 10px 26px -14px rgba(91, 69, 184, .8); transition: background .5s var(--ease) calc(var(--i) * .5s + .4s), color .5s calc(var(--i) * .5s + .4s), border-color .5s calc(var(--i) * .5s + .4s); }
.hx-proc__steps.is-in .hx-step__node { background: var(--c-purple-d); color: #fff; border-color: #fff; }
.hx-step__node::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--c-purple); opacity: 0; }
.hx-proc__steps.is-in .hx-step__node::after { animation: ripple 2.4s ease-out calc(var(--i) * .5s + .6s) infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.hx-step__num { display: block; font: 800 15px var(--font); letter-spacing: .14em; color: var(--c-purple); margin-bottom: 6px; }
.hx-step__title { margin: 0 0 10px; font: 700 20px/1.25 var(--font); color: var(--c-navy); text-transform: none; }
.hx-step p { margin: 0 auto; max-width: 280px; font-size: 15px; line-height: 1.65; color: var(--c-muted); }
html.js .hx-proc__steps .hx-step { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) calc(var(--i) * .5s + .3s), transform .7s var(--ease) calc(var(--i) * .5s + .3s); }
html.js .hx-proc__steps.is-in .hx-step { opacity: 1; transform: none; }
html.js .hx-proc__steps[data-reveal] { opacity: 1; transform: none; }

/* 5. CTA band */
.hx-cta { padding: 76px 0; background: linear-gradient(120deg, #3f6f93 0%, #5b45b8 100%); color: #fff; }
.hx-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, .18), transparent 60%); }
.hx-cta__teeth span { position: absolute; color: rgba(255, 255, 255, .16); left: calc(var(--i) * 14% + 3%); top: calc(20% + (var(--i) * 37 % 60) * 1%); animation: drift calc(9s + var(--i) * 1.3s) ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(-26px) rotate(18deg); } }
.hx-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hx-cta__title { margin: 0 0 12px; font: 700 clamp(28px, 3vw, 40px)/1.12 var(--font); color: #fff; max-width: 640px; }
.hx-cta__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 15px; color: rgba(255, 255, 255, .9); }
.hx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* responsive */
@media (max-width: 1080px) {
  .hx-office__grid, .hx-svc__head { grid-template-columns: 1fr; gap: 36px; }
  .hx-docs__grid { grid-template-columns: 1fr; }
  .hx-why__grid, .hx-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hx-office, .hx-docs, .hx-why, .hx-svc, .hx-proc { padding: 64px 0; }
  .hx-wrap { padding: 0 18px; }
  .hx-stats { grid-template-columns: 1fr 1fr; }
  .hx-stats > div:last-child { grid-column: 1 / -1; }
  .hx-float--a { left: 0; bottom: 18px; } .hx-float--b { right: 0; top: 8px; }
  .hx-doc { grid-template-columns: 1fr; }
  .hx-doc__photo { max-width: 260px; }
  .hx-docs__marquee { font-size: 72px; }
  .hx-why__grid, .hx-svc__grid { grid-template-columns: 1fr; }
  .hx-proc__steps { grid-template-columns: 1fr; gap: 30px; }
  .hx-proc__track { left: 35px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .hx-proc__track span { transform: scaleY(0); transform-origin: top; }
  .hx-proc__steps.is-in .hx-proc__track span { transform: scaleY(1); }
  .hx-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; }
  .hx-step__node { grid-row: 1 / span 3; margin: 0; }
  .hx-step p { max-width: none; margin: 0; }
  .hx-cta__actions, .hx-cta__actions .hx-btn { width: 100%; justify-content: center; }
}

/* decorative loops start only after the page has loaded (keeps first paint & input fast) */
html:not(.anim-ready) .hx-frame::before, html:not(.anim-ready) .hx-blob, html:not(.anim-ready) .hx-float,
html:not(.anim-ready) .hx-docs__marquee, html:not(.anim-ready) .hx-cta__teeth span, html:not(.anim-ready) .art * { animation-play-state: paused !important; }

/* reduced motion: everything static and visible */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .hx-proc__steps .hx-step { opacity: 1 !important; transform: none !important; }
  .hx-proc__track span { transform: none !important; }
  .art *, .hx-frame::before, .hx-blob, .hx-float, .hx-docs__marquee, .hx-cta__teeth span, .mm-dot::after { animation: none !important; }
}
html.a11y-reduce-motion [data-reveal], html.a11y-reduce-motion .hx-proc__steps .hx-step { opacity: 1 !important; transform: none !important; }
html.a11y-reduce-motion .art *, html.a11y-reduce-motion .hx-frame::before, html.a11y-reduce-motion .hx-blob, html.a11y-reduce-motion .hx-float, html.a11y-reduce-motion .hx-docs__marquee { animation: none !important; }

/* legal footer links: brand purple dark enough for 4.5:1 on the footer grey */
.icare-legal-links a, .icare-copyright a { color: #5b45b8 !important; }

/* never allow sideways page scrolling from decorative overflow (clip keeps the sticky header working) */
html, body { overflow-x: clip; }

/* 6. membership — sign-up section */
.hx-mem { padding: 110px 0; color: #fff; background: radial-gradient(900px 500px at 10% 0%, rgba(149, 128, 219, .55), transparent 60%), linear-gradient(125deg, #2f5f84 0%, #4b4fa8 55%, #5b45b8 100%); }
.hx-mem__orb { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 65%); animation: float 9s ease-in-out infinite; pointer-events: none; }
.hx-mem__orb--a { width: 420px; height: 420px; right: -120px; top: -140px; }
.hx-mem__orb--b { width: 300px; height: 300px; left: -90px; bottom: -120px; animation-delay: -4s; }
.hx-mem__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hx-mem__eyebrow { margin: 0 0 8px; font: 700 15px var(--font); letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.hx-mem__title { margin: 0 0 16px; font: 800 clamp(36px, 4.4vw, 58px)/1.02 var(--font); letter-spacing: -.015em; color: #fff; text-transform: none; }
.hx-mem__lead { margin: 0 0 22px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .92); max-width: 560px; }
.hx-mem__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px !important; }
.hx-mem__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 14.5px; }
.hx-mem__chips .ic { color: #9ff0c0; }
.hx-mem__save { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hx-mem__save-tile { position: relative; padding: 20px 20px 18px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); overflow: hidden; }
.hx-mem__save-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s ease-in-out infinite; }
.hx-mem__save-tile:nth-child(2)::after { animation-delay: 2.5s; }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.hx-mem__save-num { display: block; font: 800 46px/1 var(--font); color: #fff; }
.hx-mem__save-txt { display: block; margin-top: 6px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.hx-mem__save-tag { position: absolute; top: 16px; right: 16px; padding: 3px 9px; border-radius: 999px; background: #ffd66b; color: #3b2b00; font: 800 11px var(--font); letter-spacing: .08em; text-transform: uppercase; }

.hx-mem__card-wrap { position: relative; padding: 4px; border-radius: 32px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(10, 10, 40, .6); }
.hx-mem__card-wrap::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; translate: -50% -50%; background: conic-gradient(#ffd66b, #c9b8ff, #8ec5ff, #9ff0c0, #ffd66b); animation: spin 7s linear infinite; will-change: transform; }
.hx-mem__card { position: relative; padding: 40px 34px 28px; border-radius: 28px; background: #fff; color: var(--c-ink); text-align: center; }
.hx-mem__badge { position: absolute; top: -2px; right: 18px; width: 92px; height: 92px; transform: rotate(10deg); filter: drop-shadow(0 8px 14px rgba(29, 38, 71, .25)); animation: badge 6s ease-in-out infinite; }
@keyframes badge { 50% { transform: rotate(-4deg) translateY(-4px); } }
.hx-mem__plan { margin: 0 0 6px; font: 800 14px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--c-purple-d); }
.hx-mem__price { display: flex; justify-content: center; align-items: flex-start; gap: 2px; margin: 0; font: 800 86px/1 var(--font); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-mem__cur { font-size: 42px; margin-top: 10px; }
.hx-mem__per { align-self: flex-end; margin: 0 0 12px 6px; font-size: 20px; letter-spacing: 0; color: var(--c-muted); -webkit-text-fill-color: var(--c-muted); }
.hx-mem__note { margin: 8px 0 22px; font-size: 14px; color: var(--c-muted); }
.hx-mem__list { display: grid; gap: 4px; margin: 0 0 24px !important; text-align: left; }
.hx-mem__list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 15.5px; font-weight: 600; color: var(--c-navy); }
.hx-mem__list li:nth-child(odd) { background: #f8f7ff; }
.hx-mem__list li.is-save { background: #fff7df; color: #5a3d00; }
.hx-mem__ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-lilac); color: var(--c-purple-d); }
.is-save .hx-mem__ico { background: #ffd66b; color: #3b2b00; }
html.js .hx-mem__card-wrap .hx-mem__list li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease) calc(var(--i) * .07s + .35s), transform .5s var(--ease) calc(var(--i) * .07s + .35s); }
html.js .hx-mem__card-wrap.is-in .hx-mem__list li { opacity: 1; transform: none; }
.hx-mem__cta { width: 100%; justify-content: center; animation: nudge 3.2s ease-in-out infinite; }
@keyframes nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-3px); } 95% { transform: translateY(0); } }
.hx-mem__cta:hover { animation: none; }
.hx-mem__sub { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 14.5px; color: var(--c-muted); }
.hx-mem__sub a { color: var(--c-purple-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html:not(.anim-ready) .hx-mem__card-wrap::before, html:not(.anim-ready) .hx-mem__orb, html:not(.anim-ready) .hx-mem__save-tile::after, html:not(.anim-ready) .hx-mem__badge, html:not(.anim-ready) .hx-mem__cta { animation-play-state: paused !important; }
@media (max-width: 1080px) { .hx-mem__grid { grid-template-columns: 1fr; gap: 40px; } .hx-mem__card-wrap { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 767px) {
  .hx-mem { padding: 70px 0; }
  .hx-mem__card { padding: 34px 20px 24px; }
  .hx-mem__price { font-size: 68px; }
  .hx-mem__badge { width: 72px; height: 72px; right: 10px; }
  .hx-mem__save-num { font-size: 38px; }
  .hx-mem__save-tag { position: static; display: inline-block; margin-bottom: 8px; }
  .hx-mem__save { gap: 12px; }
  .hx-mem__save-tile { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-mem__card-wrap::before, .hx-mem__orb, .hx-mem__save-tile::after, .hx-mem__badge, .hx-mem__cta { animation: none !important; }
  html.js .hx-mem__card-wrap .hx-mem__list li { opacity: 1 !important; transform: none !important; }
}
html.a11y-reduce-motion .hx-mem__card-wrap::before, html.a11y-reduce-motion .hx-mem__orb, html.a11y-reduce-motion .hx-mem__save-tile::after, html.a11y-reduce-motion .hx-mem__badge, html.a11y-reduce-motion .hx-mem__cta { animation: none !important; }

/* 7. FAQ — tabbed accordion */
.hx-faq { padding: 100px 0; background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%); }
.hx-faq__head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.hx-faq__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 28px; }
.hx-faq__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #d8cff9; background: #fff; color: var(--c-navy); font: 700 15.5px var(--font); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.hx-faq__tab:hover { transform: translateY(-2px); border-color: var(--c-purple); }
.hx-faq__tab.is-active { background: var(--c-purple-d); border-color: var(--c-purple-d); color: #fff; box-shadow: 0 12px 26px -14px rgba(91, 69, 184, .9); }
.hx-faq__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-lilac); color: var(--c-purple-d); font-size: 12px; }
.hx-faq__tab.is-active .hx-faq__count { background: rgba(255, 255, 255, .2); color: #fff; }
.hx-faq__panel { max-width: 860px; margin: 0 auto; }
html.js .hx-faq__panel:not(.is-active) { display: none; }
.hx-faq__group { margin: 26px 0 12px; font: 700 14px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--c-purple-d); }
html.js .hx-faq__group { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hx-faq__item { margin: 0 0 12px; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-1); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.hx-faq__item[open] { border-color: #cfc3fb; box-shadow: 0 16px 36px -22px rgba(91, 69, 184, .55); }
.hx-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; }
.hx-faq__item summary::-webkit-details-marker { display: none; }
.hx-faq__q { font: 700 17.5px/1.35 var(--font); color: var(--c-navy); }
.hx-faq__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-lilac); transition: background .25s, transform .35s var(--ease); }
.hx-faq__plus::before, .hx-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--c-purple-d); transition: transform .35s var(--ease), background .25s; }
.hx-faq__plus::after { transform: rotate(90deg); }
.hx-faq__item[open] .hx-faq__plus { background: var(--c-purple-d); transform: rotate(180deg); }
.hx-faq__item[open] .hx-faq__plus::before, .hx-faq__item[open] .hx-faq__plus::after { background: #fff; }
.hx-faq__item[open] .hx-faq__plus::after { transform: rotate(0deg); }
.hx-faq__a { padding: 0 22px 20px; }
.hx-faq__a p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.hx-faq__item[open] .hx-faq__a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hx-faq__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--c-purple-d); text-decoration: underline; text-underline-offset: 3px; }
.hx-faq__cta { max-width: 860px; margin: 34px auto 0; padding: 22px 24px; border-radius: 20px; background: var(--grad-soft); border: 1px solid #dfe3f8; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hx-faq__cta p { margin: 0; font-size: 16.5px; color: var(--c-ink); }
.hx-faq__cta .hx-actions { margin: 0; }
@media (max-width: 767px) {
  .hx-faq { padding: 64px 0; }
  .hx-faq__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 4px 18px 10px; scrollbar-width: none; }
  .hx-faq__tab { flex: none; }
  .hx-faq__q { font-size: 16px; }
  .hx-faq__item summary { padding: 14px 16px; }
  .hx-faq__a { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .hx-faq__item[open] .hx-faq__a { animation: none; } }

/* Dentist cards: full-width horizontal layout (bigger photo, wider text, zig-zag) */
.hx-docs__grid { grid-template-columns: 1fr !important; gap: 28px; }
.hx-doc { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; padding: 26px; align-items: center; }
.hx-doc:nth-child(even) { grid-template-columns: minmax(0, 1fr) 340px; }
.hx-doc:nth-child(even) .hx-doc__photo { order: 2; }
.hx-doc__photo { width: 100%; align-self: stretch; aspect-ratio: auto; min-height: 420px; max-height: 480px; }
.hx-doc__photo img { object-position: center 20%; }
.hx-doc__name { font-size: clamp(30px, 3vw, 40px); }
.hx-chips li { font-size: 13.5px; }
.hx-doc__bio, .hx-more p { font-size: 16px; max-width: 760px; }
@media (max-width: 900px) {
  .hx-doc, .hx-doc:nth-child(even) { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .hx-doc:nth-child(even) .hx-doc__photo { order: 0; }
  .hx-doc__photo { min-height: 340px; }
}
@media (max-width: 640px) {
  .hx-doc, .hx-doc:nth-child(even) { grid-template-columns: 1fr; padding: 18px; }
  .hx-doc__photo { min-height: 0; max-height: none; aspect-ratio: 4 / 4.4; max-width: none; }
}

.hx-chips { margin-bottom: 18px !important; }

/* ---------------------------------------------------------- Specials (offer cards) */
.hx-deals { padding: 100px 0 90px; color: #fff; background: radial-gradient(800px 420px at 90% 0%, rgba(149, 128, 219, .5), transparent 60%), linear-gradient(120deg, #5b45b8 0%, #4b4fa8 45%, #2f5f84 100%); }
.hx-deals__orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; animation: hxFloat 14s ease-in-out infinite; }
.hx-deals__orb--a { width: 340px; height: 340px; left: -120px; bottom: -140px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.hx-deals__orb--b { width: 220px; height: 220px; right: 6%; top: 40px; background: radial-gradient(circle, rgba(206, 221, 235, .22), transparent 70%); animation-delay: -6s; }
@keyframes hxFloat { 50% { transform: translate3d(0, -24px, 0); } }
.hx-deals__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.hx-deals__title { margin: 0 0 12px; font: 700 clamp(32px, 3.6vw, 48px)/1.08 var(--font); color: #fff; text-transform: none; letter-spacing: -.01em; }
.hx-deals__lead { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.hx-deals__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: stretch; }
.hx-deal { display: flex; flex: 0 0 calc((100% - 72px) / 5 - .5px); min-width: 0; margin: 0 !important; padding: 0 !important; }
.hx-deal__card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 24px 22px 22px; border-radius: 22px; background: #fff; color: var(--c-ink); box-shadow: 0 24px 50px -28px rgba(20, 16, 60, .75); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.hx-deal__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #9580db, #5b45b8, #45718d); }
.hx-deal__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(149, 128, 219, .14) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.hx-deal__card:hover, .hx-deal__card:focus-within { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(20, 16, 60, .9); }
.hx-deal__card:hover::after { transform: translateX(120%); }
.hx-deal.is-featured .hx-deal__card { background: linear-gradient(160deg, #fff 0%, #f3effe 100%); outline: 2px solid #c9bdf3; }
.hx-deal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.hx-deal__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(140deg, #efeafd, #dfe9f3); color: var(--c-purple-d); transition: transform .4s var(--ease); }
.hx-deal__card:hover .hx-deal__ico { transform: rotate(-8deg) scale(1.08); }
.hx-deal__tag { padding: 5px 10px; border-radius: 999px; background: #f1edfc; color: #4a36a0; font: 700 11.5px/1.2 var(--font); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.hx-deal.is-featured .hx-deal__tag { background: #5b45b8; color: #fff; }
.hx-deal__price { display: flex; align-items: flex-start; gap: 2px; margin: 0 0 6px; color: #4a36a0; font: 800 clamp(38px, 3.2vw, 48px)/1 var(--font); letter-spacing: -.02em; }
.hx-deal__cur { font-size: .5em; margin-top: .18em; }
.hx-deal__post { align-self: flex-end; margin-left: 6px; font-size: .5em; font-style: italic; color: #45718d; }
.hx-deal__name { margin: 0 0 12px; font: 700 18px/1.3 var(--font); color: var(--c-navy); text-transform: none; letter-spacing: 0; }
.hx-deal__inc { display: flex; gap: 8px; margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: #3f4552; }
.hx-deal__inc .ic { flex: none; margin-top: 3px; color: #2e7d5b; }
.hx-deal__fine { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: #5d6170; font-style: italic; }
.hx-deal__tear { position: relative; height: 1px; margin: auto 0 18px; padding-top: 18px; background-clip: content-box; background-image: linear-gradient(90deg, #cfc8e8 50%, transparent 50%); background-size: 10px 1px; background-repeat: repeat-x; background-position: 0 bottom; }
.hx-deal__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 84px; }
.hx-deal__cta { justify-content: center; padding: 12px 18px; font-size: 15px; }
.hx-deal__more { align-self: center; font: 700 14px var(--font); color: #4a36a0; text-decoration: underline; text-underline-offset: 3px; }
.hx-deal__more:hover { color: #2f5f84; }
.hx-deals__call { margin: 36px 0 0; text-align: center; font-size: 16px; color: rgba(255, 255, 255, .92); }
.hx-deals__call a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .hx-deal { flex-basis: calc((100% - 36px) / 3 - .5px); } }
@media (max-width: 760px) {
  .hx-deals { padding: 64px 0 56px; }
  .hx-deals__head { margin-bottom: 28px; }
  .hx-deals__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -18px; padding: 6px 18px 18px !important; scrollbar-width: none; }
  .hx-deals__list::-webkit-scrollbar { display: none; }
  .hx-deals__list { flex-wrap: nowrap; justify-content: flex-start; }
  .hx-deal { flex: 0 0 80%; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-deals__orb { animation: none; }
  .hx-deal__card, .hx-deal__card::after, .hx-deal__ico { transition: none; }
}

/* ---------------------------------------------------------- Closing CTA */
.hx-close { padding: 96px 0; color: #fff; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(110deg, #3f6f95 0%, #5a5fb6 50%, #6a50c4 100%); }
.hx-close__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); pointer-events: none; animation: hxFloat 12s ease-in-out infinite; }
.hx-close__ring--a { width: 420px; height: 420px; left: -160px; top: -180px; }
.hx-close__ring--b { width: 300px; height: 300px; right: -90px; bottom: -150px; animation-delay: -5s; }
.hx-close__inner { display: flex; flex-direction: column; align-items: center; }
.hx-close__title { margin: 0 0 10px; font: 700 clamp(30px, 3.4vw, 46px)/1.1 var(--font); color: #fff; text-transform: none; letter-spacing: -.01em; }
.hx-close__sub { margin: 0 0 34px; font: 400 clamp(19px, 1.8vw, 24px)/1.4 var(--font); color: rgba(255, 255, 255, .92); text-transform: none; letter-spacing: 0; }
.hx-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hx-close__call { padding-top: 10px; padding-bottom: 10px; text-align: left; }
.hx-close__phone-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hx-close__call:hover .hx-close__phone-ico { background: #efeafd; }
.hx-close__call-txt { display: flex; flex-direction: column; line-height: 1.15; }
.hx-close__call-txt small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
@media (max-width: 600px) {
  .hx-close { padding: 64px 0; }
  .hx-close__actions, .hx-close__actions .hx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hx-close__ring { animation: none; } }
