/**
 * EEC Service Page (New Design) — ported from the approved Vercel prototype.
 * Scoped under .eec-service so it can never bleed into the theme's own
 * header/footer/nav, and so older service posts (no hero_h1 set, still
 * using the original simple layout) are completely unaffected.
 * Brand colours verbatim from the Edgard El Chaar Brand Guidelines
 * (same tokens as the approved prototype). Cinzel is not yet self-hosted
 * in this theme, so --serif falls back to Times New Roman/Georgia until
 * the font files are supplied.
 */
.eec-service {
    --plum: #715262;
    --bluegray: #88A3AE;
    --stone: #CCC7CB;
    --mist: #BDCBCE;
    --blush: #F1E4DC;
    --rose: #E4CCC2;
    --plum-90: #7F6372;
    --plum-10: #F1EEEF;
    --bg-40: #CFDADF;
    --bg-20: #E7EDEF;
    --blush-50: #F8F2EE;
    --ink: #4B5054;
    --ink-soft: #565B60;
    --white: #fff;
    --rule: rgba(113, 82, 98, .16);
    --rule-soft: rgba(113, 82, 98, .09);
    --sans: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --serif: 'Cinzel', 'Times New Roman', Georgia, serif;
    --r-chip: 4px;
    --r-btn: 12px;
    --r-media: 24px;
    --max: 1240px;
    --pad: clamp(20px, 5vw, 64px);
    --sec: clamp(56px, 7vw, 112px);
    --ease: cubic-bezier(.22, 1, .36, 1);

    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.eec-service *, .eec-service *::before, .eec-service *::after { box-sizing: border-box; }
.eec-service img { max-width: 100%; display: block; }
.eec-service a { color: inherit; }
.eec-service button { font: inherit; color: inherit; cursor: pointer; }
.eec-service strong { font-weight: 700; color: var(--plum); }
.eec-service h1, .eec-service h2, .eec-service h3, .eec-service h4 { font-family: var(--sans); font-weight: 700; color: var(--plum); margin: 0; text-wrap: balance; letter-spacing: -.005em; text-transform: none; }
.eec-service h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; }
.eec-service h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.15; }
.eec-service h3 { font-size: clamp(20px, 1.9vw, 23px); line-height: 1.28; }
.eec-service p { margin: 0 0 1.1em; }
.eec-service p:last-child { margin-bottom: 0; }
.eec-service .eyebrow { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); line-height: 1.4; margin: 0; }
.eec-service .lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.6; }
.eec-service .meta { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.eec-service .prose a { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eec-service .prose a:hover { text-decoration-thickness: 2px; }

.eec-service .wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eec-service .section { padding-top: var(--sec); padding-bottom: var(--sec); }
.eec-service .section--blush { background: var(--blush-50); }
.eec-service .section--blue { background: var(--bg-20); }
.eec-service .section--blushfull { background: var(--blush); }
.eec-service .section--blue40 { background: var(--bg-40); }
.eec-service .has-wm { position: relative; overflow: hidden; }
.eec-service .has-wm > .wrap { position: relative; z-index: 1; }
.eec-service .wm { position: absolute; width: clamp(320px, 42vw, 620px); right: -8vw; top: 50%; transform: translateY(-50%); opacity: .07; pointer-events: none; }
.eec-service .wm--left { right: auto; left: -10vw; }
.eec-service .section--plum { background: var(--plum); color: var(--white); }
.eec-service .section--plum h2, .eec-service .section--plum h3 { color: var(--white); }
.eec-service .section--plum .eyebrow { color: var(--blush); }
.eec-service .section--plum p { color: var(--blush); }
.eec-service .section-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.eec-service .section-head .eyebrow { margin-bottom: 14px; }
.eec-service .section-head p { margin-top: 16px; max-width: 58ch; }

.eec-service .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: var(--r-btn); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; background: var(--plum); color: var(--white); text-align: center; line-height: 1.2; transition: background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease); }
.eec-service .btn:hover { background: var(--plum-90); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(113, 82, 98, .2); }
.eec-service .btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.eec-service .btn--ghost:hover { background: var(--plum-10); box-shadow: none; }
.eec-service .btn--light { background: var(--white); color: var(--plum); }
.eec-service .btn--light:hover { background: var(--blush); color: var(--plum); }
.eec-service .btn--onplum { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.eec-service .btn--onplum:hover { background: rgba(255, 255, 255, .1); }
.eec-service .btn--sm { min-height: 46px; padding: 0 20px; font-size: 13px; }
.eec-service .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.eec-service .tlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); border-bottom: 1px solid var(--rule); padding-bottom: 5px; transition: border-color .22s var(--ease); }
.eec-service .tlink:hover { border-color: var(--plum); }
.eec-service .tlink:hover .arw { transform: translateX(4px); }
.eec-service .arw { transition: transform .22s var(--ease); display: inline-block; }

.eec-service .ph-field { background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(136, 163, 174, .16) 9px 10px), var(--blush-50); border: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.eec-service .ph-note { font-size: 13px; color: var(--ink); line-height: 1.45; }

/* ---------- HERO ---------- */
.eec-service .shero { position: relative; background: var(--bg-20); overflow: hidden; }
.eec-service .shero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 96px); }
.eec-service .shero h1 { margin-bottom: 22px; }
.eec-service .shero-sub { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; letter-spacing: .04em; color: var(--plum); max-width: 40ch; margin-bottom: 30px; }
.eec-service .crumbs { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 22px; }
.eec-service .crumbs a { text-decoration: none; color: var(--plum); }
.eec-service .crumbs a:hover { text-decoration: underline; }
.eec-service .crumbs span { padding: 0 8px; }
.eec-service .shero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.eec-service .shero-disc { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--bluegray); right: -14%; bottom: -10%; }
.eec-service .shero-media { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-media) var(--r-media); overflow: hidden; background: var(--blush-50); box-shadow: 0 0 0 10px var(--white); }
.eec-service .shero-media img { width: 100%; height: 100%; object-fit: cover; }
.eec-service .shero-media > .ph-field { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
    .eec-service .shero-media { animation: eec-arch-in 1.1s var(--ease) both; }
    .eec-service .shero-disc { animation: eec-disc-in 1.3s var(--ease) .15s both; }
}
@keyframes eec-arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); } to { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); } }
@keyframes eec-disc-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 820px) {
    .eec-service .shero-grid { grid-template-columns: 1fr; gap: 36px; }
    .eec-service .shero-art { width: min(72%, 300px); margin-bottom: 12px; }
}

/* ---------- INTRO ---------- */
.eec-service .intro { padding-top: clamp(40px, 4.6vw, 68px); padding-bottom: clamp(44px, 5vw, 76px); }
.eec-service .intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.eec-service .intro-grid p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.55; color: var(--ink); max-width: 36ch; }
.eec-service .intro-aside { background: var(--blush-50); border-radius: var(--r-media); padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--rule-soft); }
.eec-service .intro-aside p { font-size: 17px; line-height: 1.55; margin-bottom: 18px; }
.eec-service .intro-aside b { display: block; color: var(--plum); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.eec-service .intro-aside .btn { margin-top: 8px; }
@media (max-width: 860px) { .eec-service .intro-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- POSITIONING ---------- */
.eec-service .pos-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.eec-service .pos-grid h2 { margin-bottom: 0; }
.eec-service .pos-grid .prose p:first-child { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.5; color: var(--plum); }
@media (max-width: 860px) { .eec-service .pos-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- JUMP NAV / TREATMENT BLOCKS ---------- */
.eec-service .jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 4vw, 56px); }
.eec-service .jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--rule); border-radius: var(--r-chip); text-decoration: none; font-size: 15px; color: var(--plum); background: var(--white); transition: background .2s var(--ease), border-color .2s var(--ease); }
.eec-service .jump a:hover { background: var(--plum-10); border-color: var(--plum); }
.eec-service .jump a .n { font-family: var(--serif); font-size: 13px; color: var(--plum); }
.eec-service [id] { scroll-margin-top: 24px; }
.eec-service .blk { border-top: 1px solid var(--rule); padding-top: clamp(28px, 3.2vw, 42px); margin-top: clamp(40px, 4.6vw, 64px); }
.eec-service .blk:first-of-type { margin-top: 0; }
.eec-service .blk-grid { display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.eec-service .blk h2 { font-size: clamp(24px, 2.5vw, 31px); line-height: 1.2; }
.eec-service .blk-head { align-self: start; }
@media (min-width: 821px) { .eec-service .blk-head { position: sticky; top: 138px; } }
.eec-service .blk-n { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: var(--plum); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--bluegray); width: 36px; }
.eec-service .blk-body { max-width: 66ch; }
.eec-service .tlist { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; }
.eec-service .tlist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.eec-service .tlist li:first-child { border-top: 1px solid var(--rule-soft); }
.eec-service .tlist .mk { width: 6px; height: 6px; border-radius: 50%; background: var(--bluegray); transform: translateY(-3px); }
.eec-service .tlist b { display: block; font-weight: 700; color: var(--plum); margin-bottom: 2px; }
.eec-service .tlist .d { display: block; }
.eec-service .after { margin-top: 4px; }
.eec-service .after p:last-child { border-left: 3px solid var(--bluegray); padding-left: 18px; font-weight: 700; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: var(--plum); }
.eec-service .sub { margin-top: 28px; background: var(--bg-20); border-radius: var(--r-media); padding: clamp(20px, 3vw, 36px); }
.eec-service .sub h3 { margin-bottom: 14px; }
.eec-service .steps { list-style: none; margin: 28px 0 0; padding: clamp(20px, 3vw, 40px); background: var(--bg-20); border-radius: var(--r-media); }
.eec-service .steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.eec-service .steps li:first-child { border-top: 0; padding-top: 0; }
.eec-service .steps li:last-child { padding-bottom: 0; }
.eec-service .steps .n { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--plum); }
.eec-service .steps h3 { margin-bottom: 10px; }
@media (max-width: 820px) {
    .eec-service .blk-grid { grid-template-columns: 1fr; gap: 18px; }
    .eec-service .steps li { grid-template-columns: 40px 1fr; gap: 10px; }
}

/* ---------- INLINE CTA ---------- */
.eec-service .cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--rose); border-radius: var(--r-media); padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3.4vw, 44px); margin-top: clamp(44px, 5vw, 72px); }
.eec-service .cta-inline h3 { font-size: clamp(22px, 2.2vw, 27px); }
.eec-service .cta-inline p { margin: 6px 0 0; max-width: 48ch; font-size: 17px; color: var(--ink); }

/* ---------- CARE TEAM ---------- */
.eec-service .provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); gap: clamp(20px, 2.6vw, 32px); }
.eec-service .prov { text-decoration: none; display: block; }
.eec-service .prov-photo { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-btn); overflow: hidden; margin-bottom: 16px; background: var(--white); transition: transform .3s var(--ease); }
.eec-service a.prov:hover .prov-photo { transform: translateY(-4px); }
.eec-service .prov-photo img { width: 100%; height: 100%; object-fit: cover; }
.eec-service .prov h3 { display: block; font-size: 20px; margin-bottom: 5px; }
.eec-service .prov .role { display: block; font-size: 15px; color: var(--ink-soft); margin: 0 0 8px; }
.eec-service .prov .lead-flag { display: block; min-height: 17px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
.eec-service .prov-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.eec-service a.prov:hover .prov-link .arw { transform: translateX(4px); }
.eec-service .pending-note { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.eec-service .provs-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* ---------- BEFORE & AFTER ---------- */
.eec-service .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.eec-service .filter { border: 1px solid var(--rule); background: none; border-radius: var(--r-chip); padding: 11px 16px; min-height: 46px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.eec-service .filter:hover { border-color: var(--plum); color: var(--plum); }
.eec-service .filter[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.eec-service .case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 1100px) { .eec-service .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eec-service .case { border-top: 1px solid var(--rule); padding-top: 22px; }
.eec-service .case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--r-btn); overflow: hidden; }
.eec-service .case-half { aspect-ratio: 1 / 1; position: relative; display: flex; align-items: center; justify-content: center; background: var(--blush-50); }
.eec-service .case-half img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.eec-service .case-tag { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); background: var(--white); padding: 6px 9px; border-radius: var(--r-chip); z-index: 1; }
.eec-service .case-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.eec-service .case h3 { font-size: 21px; }
.eec-service .case-treat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.eec-service .case p.meta { margin-top: 14px; }
.eec-service .case-by { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 820px) { .eec-service .case-grid { grid-template-columns: 1fr; } }

/* ---------- WHY US ---------- */
.eec-service .why { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.eec-service .why-item { border-top: 1px solid var(--rule); padding-top: 22px; }
.eec-service .section--blue40 .why-item { border-top-color: rgba(113, 82, 98, .22); }
.eec-service .why-n { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--plum); margin-bottom: 14px; }
.eec-service .why-item h3 { font-size: 20px; margin-bottom: 8px; }
.eec-service .why-item p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ink); }
.eec-service .why-close { margin-top: clamp(32px, 3.6vw, 52px); font-weight: 700; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--plum); max-width: 38ch; }

/* ---------- FAQ ---------- */
.eec-service .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.eec-service .faq-side h2 { margin: 14px 0 18px; }
.eec-service .faq-side p:not(.eyebrow) { max-width: 32ch; margin-bottom: 24px; }
@media (min-width: 861px) { .eec-service .faq-side { position: sticky; top: 138px; } }
@media (max-width: 860px) { .eec-service .faq-grid { grid-template-columns: 1fr; gap: 28px; } }
.eec-service .faq { max-width: 860px; }
.eec-service .faq-item { border-top: 1px solid var(--rule); }
.eec-service .faq-item:last-child { border-bottom: 1px solid var(--rule); }
.eec-service .faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 22px 48px 22px 0; position: relative; font-family: var(--sans); font-weight: 700; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; color: var(--plum); min-height: 64px; }
.eec-service .faq-q .pm { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--plum); transition: transform .3s var(--ease); }
.eec-service .faq-q[aria-expanded="true"] .pm { transform: translateY(-50%) rotate(45deg); }
.eec-service .faq-a { overflow: hidden; height: 0; transition: height .38s var(--ease); }
.eec-service .faq-a > div { padding: 0 48px 26px 0; max-width: 68ch; }

/* ---------- BOOK ---------- */
.eec-service .book { position: relative; overflow: hidden; text-align: center; padding-top: clamp(56px, 6.5vw, 96px); padding-bottom: clamp(56px, 6.5vw, 96px); }
.eec-service .book-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.eec-service .book h2 { margin-bottom: 18px; max-width: 22ch; }
.eec-service .book p { max-width: 52ch; margin-bottom: 34px; }
.eec-service .book .btn-row { justify-content: center; }
.eec-service .book-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, .9); }
.eec-service .book-assure span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- RELATED ---------- */
.eec-service .rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.eec-service .rel-card { text-decoration: none; display: flex; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--rule); border-radius: var(--r-btn); background: var(--white); transition: border-color .2s var(--ease), background .2s var(--ease); }
.eec-service a.rel-card:hover { border-color: var(--plum); background: var(--plum-10); }
.eec-service .rel-card h3 { font-size: 19px; margin-bottom: 4px; }
.eec-service .rel-card .meta { margin: 0; font-size: 14px; }
.eec-service .icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bluegray); display: block; }
.eec-service .icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- BOOKING DOCK ---------- */
.eec-service .dock { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 80; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-btn); box-shadow: 0 12px 40px rgba(113, 82, 98, .18); max-width: calc(100vw - 32px); transition: transform .4s var(--ease), opacity .3s var(--ease); opacity: 0; pointer-events: none; visibility: hidden; }
.eec-service .dock .btn { min-height: 38px; padding: 0 16px; font-size: 11px; }
.eec-service .dock[data-show="true"] { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; visibility: visible; }
.eec-service .dock-txt { line-height: 1.3; white-space: nowrap; }
.eec-service .dock-txt b { display: block; font-weight: 700; font-size: 16px; color: var(--plum); }
.eec-service .dock-txt span { font-family: var(--serif); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 860px) { .eec-service .dock-txt span { display: none; } }
@media (max-width: 700px) {
    .eec-service .dock { left: 0; right: 0; bottom: 0; transform: translateY(120%); max-width: none; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--blush-50); box-shadow: 0 -1px 0 var(--rule); }
    .eec-service .dock[data-show="true"] { transform: translateY(0); }
    .eec-service .dock-txt { display: none; }
    .eec-service .dock .btn { flex: 1; padding: 0 14px; }
}
@media (max-width: 560px) { .eec-service .btn-row .btn { flex: 1 1 100%; } }

/* ---------- RESPONSIVE: team/related grids ---------- */
@media (min-width: 701px) and (max-width: 1023px) { .eec-service .provs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .eec-service .provs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .eec-service .prov h3 { font-size: 17px; line-height: 1.25; min-height: 2.5em; }
    .eec-service .provs-foot { margin-top: 26px; gap: 14px; }
}
@media (max-width: 379px) {
    .eec-service .provs { grid-template-columns: 1fr; gap: 24px; }
    .eec-service .prov-photo { aspect-ratio: 3 / 2; }
    .eec-service .prov h3 { min-height: 0; }
}

/* ---------- ENTRANCE ANIMATION ---------- */
.eec-service .rise { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.eec-service .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .eec-service *, .eec-service *::before, .eec-service *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .eec-service .rise { opacity: 1; transform: none; }
}

/* ---------- SERVICES HUB (/dental-services/) ---------- */
.eec-service .hub-hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eec-service .hub-art { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); align-items: end; }
.eec-service .hub-art::before { content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--bluegray); left: 22%; top: -8%; }
.eec-service .hub-art .arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 0 0 6px var(--white); background: var(--blush-50); }
.eec-service .hub-art .arch:nth-child(2) { transform: translateY(-14%); }
.eec-service .hub-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .eec-service .hub-hero { grid-template-columns: 1fr; } .eec-service .hub-art { max-width: 420px; } }
.eec-service .hub-hero h1 { margin-bottom: 18px; }
.eec-service .hub-hero .lead { max-width: 60ch; color: var(--ink); }
.eec-service .svc-group + .svc-group { margin-top: clamp(56px, 6vw, 88px); }
.eec-service .svc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--bluegray); padding-bottom: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.eec-service .svc-group-head h2 { font-size: clamp(25px, 2.8vw, 34px); }
.eec-service .svc-count { font-family: var(--serif); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.eec-service .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.eec-service .svc { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--rule); border-radius: var(--r-media); background: var(--white); overflow: hidden; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.eec-service a.svc:hover { border-color: var(--plum); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(113, 82, 98, .12); }
.eec-service .svc-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-20); }
.eec-service .svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.eec-service a.svc:hover .svc-photo img { transform: scale(1.04); }
.eec-service .svc-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 46px clamp(22px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px); }
.eec-service .svc-icon { position: absolute; top: -36px; left: clamp(22px, 2.4vw, 28px); width: 68px; height: 68px; box-shadow: 0 0 0 5px var(--white); }
.eec-service .svc .new-tag { position: absolute; top: 16px; right: clamp(22px, 2.4vw, 28px); }
.eec-service .svc h3 { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.25; margin-bottom: 10px; }
.eec-service .svc p { font-size: 16px; line-height: 1.6; margin: 0 0 18px; color: var(--ink); }
.eec-service .svc .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.eec-service .svc .go .arw { transition: transform .22s var(--ease); }
.eec-service a.svc:hover .go .arw { transform: translateX(5px); }
.eec-service .new-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: var(--plum); padding: 5px 9px; border-radius: var(--r-chip); }
.eec-service .icon--pending { background: var(--bluegray); position: relative; }
.eec-service .icon--pending::after { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(255, 255, 255, .8); border-radius: 50%; }
@media (max-width: 700px) { .eec-service .hub-grid { grid-template-columns: 1fr; } }

/* ---------- ENTRANCE ANIMATION ON THE OLD SIMPLE SINGLE-SERVICE LAYOUT ----------
   This file is already enqueued on every dental_service singular page
   regardless of which design it uses (see functions.php), so the services
   still on the original simple layout (no hero_h1 set) can get matching
   motion without any new field data or a page redesign — same technique as
   the new design's hero reveal, just applied to the existing markup/colors
   as-is (nothing about layout, fonts or color changes here). */
@media (prefers-reduced-motion: no-preference) {
    .single-svc-image { animation: eec-simple-img-in .9s cubic-bezier(.22, 1, .36, 1) both; }
    .single-svc-content { animation: eec-simple-fade-in .7s cubic-bezier(.22, 1, .36, 1) .15s both; }
}
@keyframes eec-simple-img-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes eec-simple-fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
