/* Mission Care: dementia care page. Plan: _work/design-plan.md (service opener pick 1, flip-card signature).
   Motion start states hang off html.js:not(.rm):not(.no-motion); without them the page is complete and static. */

/* Small line icons */
.dic { display: block; overflow: visible; }

/* ---------- 0. Opener: type row, wide gable band, key facts strip ---------- */
.dopen { position: relative; background: #fff; padding: calc(var(--head-h) + clamp(22px, 3.6vh, 46px)) 0 clamp(30px, 4vh, 54px); overflow: clip; }
.dopen__top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.dopen h1 { font-size: clamp(2.45rem, 4.3vw, 4.6rem); line-height: 1.04; }
.dopen__lede { font-size: clamp(1.125rem, 1.25vw, 1.22rem); color: var(--muted); margin: 0 0 20px; }
.dopen__row { display: flex; flex-wrap: wrap; gap: 12px; }
.dopen__stage { position: relative; margin-top: clamp(26px, 4vh, 46px); }
.dopen__band { position: relative; height: clamp(230px, 36vh, 430px); overflow: hidden; background: var(--mist); }
.dopen__move { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; }
.dopen__pan { position: absolute; inset: 0; }
.dopen__pan img { width: 100%; height: 100%; object-fit: cover; }
.dopen__band::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, rgba(12, 24, 51, 0), rgba(12, 24, 51, .35)); pointer-events: none; }
.dopen__house { position: absolute; left: calc(var(--gut) - 14px); top: -14px; width: calc(100% - var(--gut) * 2 + 28px); height: calc(clamp(230px, 36vh, 430px) + 28px); pointer-events: none; z-index: 1; }
.dopen__facts { list-style: none; position: relative; z-index: 2; margin: -54px clamp(0px, 3vw, 48px) 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--navy); box-shadow: 0 34px 50px -34px rgba(12, 24, 51, .7); }
.dopen__facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pink), var(--gold) 55%, var(--leaf)); transform-origin: left; }
.dfact { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px clamp(16px, 1.8vw, 28px) 20px; color: #fff; }
.dfact + .dfact::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: rgba(201, 162, 79, .55); transform-origin: top; }
.dfact__ic { width: 44px; height: 44px; flex: none; color: #FF6FB6; }
.dfact:nth-child(even) .dfact__ic { color: var(--leaf); }
.dfact__txt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.18rem, 1.35vw, 1.36rem); line-height: 1.2; }
.dfact__txt span { display: block; margin-top: 3px; font-size: 1rem; line-height: 1.4; color: rgba(255, 255, 255, .84); }

html.js:not(.rm):not(.no-motion) .dfact { opacity: 0; transform: translateY(26px); }
html.js:not(.rm):not(.no-motion) .dfact + .dfact::before { transform: scaleY(0); }
html.js:not(.rm):not(.no-motion) .dopen__facts.is-in .dfact + .dfact::before { transform: scaleY(1); transition: transform 1.2s var(--ease) .5s; }
html.js:not(.rm):not(.no-motion) .dopen__facts::before { transform: scaleX(0); }
html.js:not(.rm):not(.no-motion) .dopen__facts.is-in::before { transform: scaleX(1); transition: transform 1.6s var(--ease) .2s; }

@media (max-width: 1100px) {
  .dopen__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfact:nth-child(3)::before { display: none; }
  .dfact:nth-child(n+3) { border-top: 1px solid rgba(201, 162, 79, .35); }
}
@media (max-width: 900px) {
  .dopen__top { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .dopen { padding-top: calc(var(--head-h) + 18px); padding-bottom: 36px; }
  .dopen h1 { font-size: clamp(2.15rem, 9.4vw, 2.6rem); }
  .dopen__lede { font-size: 1.08rem; margin-bottom: 16px; }
  .dopen__row .btn { padding: 0 18px; flex: 1 1 auto; }
  .dopen__stage { margin-top: 22px; }
  .dopen__band { height: 30vh; min-height: 200px; }
  .dopen__house { height: calc(max(30vh, 200px) + 28px); }
  .dopen__facts { margin: -26px 0 0; }
  .dfact { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; }
  .dfact__ic { width: 34px; height: 34px; }
  .dfact__txt strong { font-size: 1.12rem; }
  .dfact__txt span { font-size: .95rem; }
}

/* ---------- 1. When home stops being safe: problem and answer ---------- */
.dsafe { position: relative; background: #fff; padding: clamp(56px, 7vh, 96px) 0; }
.dsafe__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: stretch; }
.dsafe__lede { margin: 14px 0 clamp(16px, 2.6vh, 26px); }
.dsafe__cols, .dsafe__row { display: grid; grid-template-columns: minmax(0, .82fr) 44px minmax(0, 1.18fr); gap: 18px; align-items: center; }
.dsafe__cols { padding: 0 16px 10px; border-bottom: 2px solid var(--navy); font-weight: 700; font-size: 1rem; color: var(--leaf-ink); }
.dsafe__cols span:last-child { grid-column: 3; color: var(--pink-ink); }
.dsafe__list { list-style: none; margin: 0; padding: 0; }
.dsafe__row { position: relative; isolation: isolate; padding: clamp(10px, 1.5vh, 15px) 16px; border-bottom: 1px solid var(--line); }
.dsafe__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mist); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.dsafe__row::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pink); transform: scaleY(0); transition: transform .6s var(--ease); }
.dsafe__row.is-on::before { transform: scaleX(1); }
.dsafe__row.is-on::after { transform: scaleY(1); }
.dsafe__p { margin: 0; font-family: var(--serif); font-size: clamp(1.18rem, 1.42vw, 1.42rem); line-height: 1.22; color: var(--navy); }
.dsafe__arrow { width: 44px; height: 16px; color: var(--pink); }
.dsafe__a { margin: 0; line-height: 1.5; }
.dsafe__media { position: relative; margin: 18px 18px 0 0; display: flex; flex-direction: column; }
.dsafe__media::before { content: ""; position: absolute; left: 18px; top: -18px; right: -18px; bottom: 56px; border: 1.5px solid var(--leaf); pointer-events: none; }
.dsafe__frame { position: relative; flex: 1 1 auto; min-height: 0; max-height: var(--media-cap); }
.dsafe__frame img { position: absolute; inset: 0; }
.dsafe__cap { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--navy); line-height: 1.3; }
.dsafe__cap::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--leaf); transform: rotate(45deg); }

html.js:not(.rm):not(.no-motion) .dsafe__p { opacity: 0; transform: translateY(18px); }
html.js:not(.rm):not(.no-motion) .dsafe__a { clip-path: inset(0 100% 0 0); }

.dsafe__row.is-on .dsafe__arrow { animation: dnudge 1.8s ease-in-out infinite; }
@keyframes dnudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@media (max-width: 900px) {
  .dsafe__grid { grid-template-columns: 1fr; gap: 0; }
  .dsafe__main { display: contents; }
  .dsafe__media { order: 1; height: 44vh; margin: 30px 18px 30px 0; }
  .dsafe__cols, .dsafe__list { order: 2; }
  .dsafe__frame { flex: 1; }
}
@media (max-width: 600px) {
  .dsafe__cols { display: none; }
  .dsafe__list { border-top: 2px solid var(--navy); }
  .dsafe__row { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 10px; padding: 14px 10px; }
  .dsafe__p { grid-column: 1 / -1; }
  .dsafe__arrow { width: 28px; height: 12px; }
}

/* ---------- 2. Signature: flip cards on navy ---------- */
.dflip { position: relative; background: var(--navy); color: #fff; padding: clamp(56px, 7vh, 96px) 0; overflow: clip; }
.dflip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(237, 14, 134, .16), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(97, 195, 49, .12), transparent 70%); pointer-events: none; }
.dflip__petals { opacity: .4; }
.dflip__inner { position: relative; z-index: 1; }
.dflip h2 { color: #fff; }
.dflip h2 em { color: #FF8CC6; }
.dflip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; margin: 14px 0 clamp(20px, 3.2vh, 34px); }
.dflip__lede { margin: 0; font-size: clamp(1.125rem, 1.25vw, 1.22rem); color: rgba(255, 255, 255, .88); }
.dflip__how { display: none; }
.dflip__count { margin: 0; display: none; align-items: center; gap: 14px; font-weight: 650; color: var(--gold); }
.dflip__pips { display: flex; gap: 9px; }
.dflip__pips i { display: block; width: 11px; height: 11px; border: 1.5px solid var(--gold); transform: rotate(45deg); transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease); }
.dflip__pips i.is-on { background: var(--pink); border-color: var(--pink); transform: rotate(45deg) scale(1.2); }
.dflip__num b { font-weight: 800; color: #fff; }
.dflip__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }

/* Static (no JS, reduced motion): both faces shown, one above the other */
.fc__btn { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }
.fc__sway, .fc__inner { display: flex; flex-direction: column; height: 100%; }
.fc__face { display: flex; flex-direction: column; padding: clamp(20px, 2vw, 28px); }
.fc__front { background: #fff; color: var(--navy); gap: 14px; }
.fc__back { flex: 1; background: var(--pink-ink); color: #fff; gap: 8px; }
.fc__ic { width: 46px; height: 46px; color: var(--pink); }
.fc__s { font-family: var(--serif); font-size: clamp(1.55rem, 2.05vw, 2.05rem); line-height: 1.12; }
.fc__hint { display: none; align-items: center; gap: 8px; font-weight: 650; font-size: 1rem; color: var(--leaf-ink); }
.fc__turn { width: 22px; height: 22px; }
.fc__what { font-weight: 700; font-size: 1rem; color: #FFD3EA; }
.fc__r { font-size: 1.125rem; line-height: 1.5; }

/* With motion: real cards that turn over in 3D */
html.js:not(.rm):not(.no-motion) .dflip__how { display: inline; }
html.js:not(.rm):not(.no-motion) .dflip__count { display: flex; }
html.js:not(.rm):not(.no-motion) .fc { opacity: 0; }
html.js:not(.rm):not(.no-motion) .fc__btn { height: clamp(226px, 28vh, 262px); cursor: pointer; perspective: 1200px; }
html.js:not(.rm):not(.no-motion) .fc__sway,
html.js:not(.rm):not(.no-motion) .fc__inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
html.js:not(.rm):not(.no-motion) .fc__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 26px 40px -26px rgba(0, 0, 0, .6); }
html.js:not(.rm):not(.no-motion) .fc__front { justify-content: space-between; }
html.js:not(.rm):not(.no-motion) .fc__back { transform: rotateY(180deg); justify-content: center; }
html.js:not(.rm):not(.no-motion) .fc__hint { display: flex; }
.fc__front { position: relative; overflow: hidden; }
.fc__mark { position: absolute; right: -18px; top: -14px; width: 150px; height: 150px; color: var(--mist-2); pointer-events: none; }
.fc__mark .dic__p { stroke-width: 1.4; }
.fc__ic, .fc__s, .fc__hint { position: relative; }
/* A turned-up corner that shows the pink back */
.fc__front::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; background: linear-gradient(315deg, var(--pink-ink) 0 50%, #F6D5E6 50% 54%, transparent 54%); transition: width .5s var(--ease), height .5s var(--ease); }
html.js:not(.rm):not(.no-motion) .fc__front::after { width: 40px; height: 40px; }
html.js:not(.rm):not(.no-motion) .fc__btn:hover .fc__front::after { width: 64px; height: 64px; }
.fc__btn:focus-visible { outline: 3px solid #FF8CC6; outline-offset: 4px; }
.fc__btn[aria-pressed="true"] .fc__hint { opacity: 0; }

@media (max-width: 1000px) {
  .dflip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dflip__grid { grid-template-columns: 1fr; }
  html.js:not(.rm):not(.no-motion) .fc__btn { height: 232px; }
  .fc__r { font-size: 1.06rem; }
}

/* ---------- 3. What keeps the day calm: sticky photo stage ---------- */
.dcalm { position: relative; background: var(--mist); padding: clamp(56px, 7vh, 96px) 0; }
.dcalm__head { margin-bottom: clamp(26px, 4vh, 46px); }
.dcalm__head .lede { margin: 14px 0 0; }
.dcalm__grid { display: block; }
.dcalm__stick { display: none; }
.dcalm__blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.dcalm__inline { position: relative; aspect-ratio: 4 / 3.4; max-height: 52vh; overflow: hidden; margin-bottom: 22px; }
.dcalm__inline img { width: 100%; height: 100%; object-fit: cover; }
.dcalm__blk h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin-bottom: 12px; }
.dcalm__blk p { margin: 0 0 16px; }
.dcalm__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dcalm__chips .chip { background: #fff; }

@media (min-width: 901px) {
  html.js:not(.rm):not(.no-motion) .dcalm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 110px); }
  html.js:not(.rm):not(.no-motion) .dcalm__stick { --stage-h: min(70vh, 660px); display: block; position: sticky; top: calc(84px + (100vh - 84px - var(--stage-h)) / 2); height: var(--stage-h); margin: 14px 0; }
  html.js:not(.rm):not(.no-motion) .dcalm__blocks { display: block; }
  html.js:not(.rm):not(.no-motion) .dcalm__blk { min-height: min(70vh, 660px); display: flex; flex-direction: column; justify-content: center; padding: 30px 0; }
  html.js:not(.rm):not(.no-motion) .dcalm__inline { display: none; }
  html.js:not(.rm):not(.no-motion) .dcalm__blk p:not(.dcalm__chips) { font-size: 1.18rem; }
  html.js:not(.rm):not(.no-motion) .dcalm__blk { opacity: .28; transform: translateX(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.js:not(.rm):not(.no-motion) .dcalm__blk.is-on { opacity: 1; transform: none; }
  html.js:not(.rm):not(.no-motion) .dcalm__blk::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 22px; background: linear-gradient(90deg, var(--pink), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .15s; }
  html.js:not(.rm):not(.no-motion) .dcalm__blk.is-on::before { transform: scaleX(1); }
}
.dcalm__stage { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.dcalm__pic { position: absolute; inset: 0; visibility: hidden; }
.dcalm__pic.is-on { visibility: visible; }
.dcalm__pic img { width: 100%; height: 100%; object-fit: cover; }
.dcalm__house { position: absolute; left: -15px; top: -15px; width: calc(100% + 30px); height: calc(100% + 30px); pointer-events: none; z-index: 2; }
.dcalm__tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 14px; padding: 60px 24px 22px; background: linear-gradient(180deg, rgba(12, 24, 51, 0), rgba(12, 24, 51, .78)); }
.dcalm__tab { flex: 1; color: rgba(255, 255, 255, .72); font-weight: 650; font-size: 1rem; transition: color .5s; }
.dcalm__tab.is-on { color: #fff; }
.dcalm__tab i { position: relative; display: block; height: 3px; margin-bottom: 10px; background: rgba(255, 255, 255, .3); }
.dcalm__tab i::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform: scaleX(var(--p, 0)); transform-origin: left; }

@media (max-width: 900px) {
  .dcalm__blocks { grid-template-columns: 1fr; gap: 46px; }
}
/* Reduced motion and no JS on desktop: each block is a photo-and-text row, the text as wide as in the scrolling stage */
@media (min-width: 901px) {
  html:not(.js) .dcalm__blocks, html.rm .dcalm__blocks, html.no-motion .dcalm__blocks { grid-template-columns: 1fr; row-gap: 40px; }
  html:not(.js) .dcalm__blk, html.rm .dcalm__blk, html.no-motion .dcalm__blk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); column-gap: clamp(40px, 6vw, 110px); align-content: center; }
  html:not(.js) .dcalm__inline, html.rm .dcalm__inline, html.no-motion .dcalm__inline { grid-row: 1 / span 4; margin: 0; }
  html:not(.js) .dcalm__blk p:not(.dcalm__chips), html.rm .dcalm__blk p:not(.dcalm__chips), html.no-motion .dcalm__blk p:not(.dcalm__chips) { font-size: 1.18rem; }
}

/* ---------- 4. Keeping you close ---------- */
.dclose { position: relative; background: #fff; padding: clamp(56px, 7vh, 96px) 0; overflow: clip; }
.dclose__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(44px, 6.5vw, 110px); align-items: center; }
.dclose__media { position: relative; height: min(70vh, 640px); margin: 16px; }
.dclose__img { position: absolute; inset: 0; overflow: hidden; }
.dclose__img img { width: 100%; height: 100%; object-fit: cover; }
.dclose__house { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); height: calc(100% + 32px); pointer-events: none; }
.dclose__call { position: absolute; right: -30px; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 16px 26px 16px 18px; background: var(--navy); color: #fff; box-shadow: 0 24px 40px -24px rgba(12, 24, 51, .8); }
.dclose__call strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.dclose__call span span { display: block; font-size: .98rem; color: rgba(255, 255, 255, .82); }
.dclose__vic { width: 40px; height: 40px; color: var(--leaf); flex: none; }
.dclose__live { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; }
.dclose__live i { position: absolute; inset: 0; border-radius: 50%; background: var(--pink); }
.dclose__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pink); animation: dlive 2s var(--ease) infinite; }
@keyframes dlive { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.dclose__vow { margin: 16px 0 clamp(18px, 3vh, 28px); padding-left: 18px; border-left: 3px solid var(--leaf); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.38; color: var(--navy); }
.dclose__track { position: relative; padding-left: 42px; }
.dclose__rail { position: absolute; left: 8px; top: 10px; bottom: 26px; width: 2px; background: var(--line); }
.dclose__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--pink), var(--leaf)); transform-origin: top; }
.dclose__steps { list-style: none; margin: 0; padding: 0; }
.dclose__step { position: relative; padding-bottom: clamp(14px, 2.2vh, 22px); }
.dclose__node { position: absolute; left: -41px; top: 6px; width: 16px; height: 16px; background: var(--pink); border: 2px solid var(--pink); transform: rotate(45deg); transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease); }
.dclose__step h3 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); margin-bottom: 4px; }
.dclose__step p { margin: 0; }
.dclose__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 10px; }

html.js:not(.rm):not(.no-motion) .dclose__fill { transform: scaleY(0); }
html.js:not(.rm):not(.no-motion) .dclose__node { background: #fff; border-color: var(--leaf); }
html.js:not(.rm):not(.no-motion) .dclose__step.is-on .dclose__node { background: var(--pink); border-color: var(--pink); transform: rotate(45deg) scale(1.15); }
html.js:not(.rm):not(.no-motion) .dclose__step h3,
html.js:not(.rm):not(.no-motion) .dclose__step p { opacity: 0; transform: translateX(-20px); }

@media (max-width: 900px) {
  .dclose__grid { grid-template-columns: 1fr; }
  .dclose__media { height: 50vh; margin: 16px 16px 10px; }
  .dclose__call { right: -8px; bottom: -22px; }
}

/* ---------- 5. Questions families ask ---------- */
.dfaq { position: relative; background: var(--mist); padding: clamp(56px, 7vh, 96px) 0; overflow: clip; }
.dfaq__petals { opacity: .55; }
.dfaq__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(44px, 6.5vw, 110px); align-items: center; }
.dfaq__list { margin-top: clamp(20px, 3vh, 30px); border-top: 2px solid var(--navy); }
.dfaq__item { position: relative; border-bottom: 1px solid #C6D3C0; }
.dfaq__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.dfaq__item:has(.acc__btn[aria-expanded="true"])::before { transform: scaleX(1); }
.dfaq__q { margin: 0; font-size: inherit; }
.dfaq .acc__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 4px; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--serif); font-size: clamp(1.2rem, 1.45vw, 1.42rem); line-height: 1.25; color: var(--navy); }
.dfaq .acc__btn > span:first-child { flex: 1 1 auto; transition: color .3s, transform .5s var(--ease); }
.dfaq .acc__btn:hover > span:first-child { color: var(--pink-ink); transform: translateX(6px); }
.dfaq__plus { position: relative; flex: none; width: 40px; height: 40px; border: 1.5px solid var(--navy); border-radius: var(--btn-r); color: var(--navy); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s, transform .6s var(--ease); }
.dfaq__plus::before, .dfaq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }
.dfaq__plus::after { transform: rotate(90deg); }
.dfaq__plus::before, .dfaq__plus::after { transition: transform .6s var(--ease); }
.dfaq .acc__btn[aria-expanded="true"] .dfaq__plus { background: var(--pink-ink); border-color: var(--pink-ink); color: #fff; }
.dfaq .acc__btn[aria-expanded="true"] .dfaq__plus::before { transform: rotate(135deg); }
.dfaq .acc__btn[aria-expanded="true"] .dfaq__plus::after { transform: rotate(225deg); }
.dfaq__panel { overflow: hidden; }
.dfaq__a { padding: 0 64px 22px 4px; }
.dfaq__a p { margin: 0; }
.dfaq__media { position: relative; margin: 0 0 0 40px; }
.dfaq__img { position: relative; height: min(64vh, 600px); overflow: hidden; }
.dfaq__img img { width: 100%; height: 100%; object-fit: cover; }
.dfaq__card { position: absolute; left: -40px; bottom: 30px; z-index: 2; padding: 22px 26px 18px; background: #fff; border-top: 3px solid var(--pink); box-shadow: 0 26px 44px -26px rgba(12, 24, 51, .55); }
.dfaq__card p { margin: 0 0 8px; }
.dfaq__card-h { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; color: var(--navy); }
.dfaq__phone { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy); font-weight: 700; font-size: 1.12rem; text-decoration: none; }
.dfaq__phone .i-phone { width: 20px; height: 20px; color: var(--pink-ink); }
.dfaq__phone:hover { color: var(--pink-ink); }

@media (max-width: 900px) {
  .dfaq__grid { grid-template-columns: 1fr; }
  .dfaq__media { margin: 10px 0 0 24px; }
  .dfaq__img { height: 42vh; }
  .dfaq__card { position: relative; left: auto; bottom: auto; margin: -56px 24px 0 -24px; }
  .dfaq__a { padding-right: 10px; }
}

/* ---------- 6. Other care ---------- */
.dmore { position: relative; background: #fff; padding: clamp(56px, 7vh, 96px) 0; }
.dmore__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(24px, 4vh, 44px); }
.dmore__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.dmore__grid > li { display: flex; }
.dcard { display: flex; flex-direction: column; width: 100%; color: var(--navy); text-decoration: none; padding-bottom: 6px; }
.dcard__img { position: relative; display: block; aspect-ratio: 5 / 4.4; margin: 12px 12px 20px; }
.dcard__clip { position: absolute; inset: 0; overflow: hidden; clip-path: var(--gable); background: var(--mist); }
.dcard__clip img { width: 100%; height: 100%; object-fit: cover; }
.dcard__line { position: absolute; left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 24px); color: var(--pink); pointer-events: none; }
.dcard__t { padding: 0 12px; font-family: var(--serif); font-size: clamp(1.4rem, 1.65vw, 1.7rem); line-height: 1.15; }
.dcard__l { padding: 6px 12px 14px; color: var(--muted); font-size: 1.04rem; line-height: 1.45; }
.dcard__go { display: inline-flex; align-items: center; gap: 8px; margin: auto 12px 0; font-weight: 650; color: var(--pink-ink); }
.dcard__go .i-arrow { width: 20px; height: 12px; transition: transform .4s var(--ease); }
.dcard:hover .dcard__go .i-arrow { transform: translateX(5px); }
.dcard:hover .dcard__t { color: var(--pink-ink); }

@media (max-width: 1100px) { .dmore__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .dmore__grid { grid-template-columns: 1fr; gap: 26px; }
  .dcard { display: grid; grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
  .dcard__img { grid-row: 1 / 4; margin: 12px 0 0 12px; aspect-ratio: 4 / 4.4; }
  .dcard__t { padding: 14px 0 0; font-size: 1.38rem; }
  .dcard__l { padding: 4px 0 8px; font-size: 1rem; }
  .dcard__go { margin: 0; align-self: end; }
}
