/* Elevated Movers: WordPress adaptations of the mock-up stylesheet (block wrappers, menus, Fluent Forms). */

/* ---------- Block wrappers ---------- */
.em-content > *, .em-main > * { margin-block: 0; }
.wp-block-group.wrap { width: 100%; }
.wp-block-heading { text-wrap: balance; }
p { text-wrap: pretty; }
.wp-block-image { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button__link.btn { text-align: center; }
.cta .wp-block-buttons, .btns.wp-block-buttons { justify-content: center; gap: 14px; }
.wp-block-list.is-style-em-checks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .wp-block-list.is-style-em-checks { grid-template-columns: 1fr; } }
.wp-block-list.is-style-em-checks li { display: flex; gap: 12px; align-items: flex-start; }
.wp-block-list.is-style-em-checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: #0B0D12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5C518' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.wp-block-list.is-style-em-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.wp-block-list.is-style-em-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: .92rem; font-weight: 600; }
.prose .wp-block-list:not(.is-style-em-checks):not(.is-style-em-chips):not(.steps) { padding-left: 1.2em; }
.prose .wp-block-list li + li { margin-top: .35em; }
.prose a:not(.btn) { color: #0B0D12; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:not(.btn):hover { text-decoration-color: #0B0D12; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose > .rv + .rv { margin-top: 2.6em; }
.prose .inline-photo img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Header navigation (menu-driven, with dropdowns) ---------- */
.nav .nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.nav .has-sub { position: relative; display: flex; align-items: center; }
.nav .sub-toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border: 0; border-radius: 8px; background: none; color: #fff; cursor: pointer; }
.nav .sub-toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .sub ul { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 901px) {
  .nav .sub { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; padding: 10px; border-radius: 18px; background: #10141D; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub, .nav .has-sub.sub-open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav .sub a { padding: 10px 14px; border-radius: 10px; font-size: .95rem; font-weight: 600; color: #E7E9EE; }
  .nav .sub a::after { display: none; }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: rgba(245,197,24,.12); color: #fff; }
}
@media (max-width: 900px) {
  .nav { justify-content: flex-start; padding-top: 96px; overflow-y: auto; }
  .nav .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .nav .sub-toggle { width: 48px; height: 48px; margin: 0; background: rgba(255,255,255,.08); border-radius: 14px; }
  .nav .sub-toggle svg { width: 22px; height: 22px; }
  .nav .sub { flex-basis: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .nav .sub > ul { overflow: hidden; min-height: 0; }
  .nav .has-sub.sub-open > .sub { grid-template-rows: 1fr; }
  .nav .sub a { font-family: var(--font); font-size: 1.1rem; font-weight: 600; padding: 9px 0 9px 4px; color: var(--on-dark-muted); }
  .nav.open .sub a { opacity: 1; transform: none; }
  .nav .sub ul { padding: 4px 0 10px; }
}

/* ---------- Page hero + breadcrumbs ---------- */
.page-hero .hero-ctas { margin-top: 0; }
.em-simple-hero { padding-bottom: 80px; }
.crumbs ol { margin-bottom: 18px; }

/* ---------- Content grid ---------- */
.content > .prose { min-width: 0; }
.side-mail { margin: 14px 0 0; font-size: .9rem; }
.side-mail a { color: var(--yellow); }
.side-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

/* "Included" cards + steps + related */
.em-included { background: var(--ice); }
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .inc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .inc-grid { grid-template-columns: 1fr; } }
.inc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.inc .ic { width: 46px; height: 46px; border-radius: 14px; background: #FFF1C2; color: #0B0D12; display: grid; place-items: center; margin-bottom: 16px; }
.inc .ic svg { width: 24px; height: 24px; }
.inc h3 { font-size: 1.15rem; margin-bottom: 6px; }
.inc p { color: var(--muted); font-size: .97rem; margin: 0; }
.steps { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(st); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #0B0D12; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.steps li b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: .97rem; }

/* ---------- FAQ (core/details) ---------- */
.faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; }
.faq .wp-block-details summary { list-style: none; }
.faq .a > :last-child { margin-bottom: 0; }
.faq details .a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Quote form (Fluent Forms in the 3-step mock-up card) ---------- */
.em-quote .q-steps { list-style: none; margin: 0; padding: 0; }
.em-quote .q-steps li { display: none; }
.em-quote:not(.steps-on) .q-steps { display: none; }
.em-quote .q-steps li.active { display: block; }
.em-quote .q-steps b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.em-quote .q-steps span { display: block; color: var(--muted); margin: 4px 0 22px; }
.em-quote .form-truck .mini { width: 120px; bottom: 6px; }
.em-quote .form-truck .flag { color: var(--yellow); }
.em-quote .form-truck .flag svg { width: 26px; height: 26px; }
.em-quote:not(.steps-on) .form-nav { display: none; }
.em-quote .form-nav [hidden] { display: none; }
.em-quote .form-nav { margin: 6px 0 0; }
.em-quote .form-nav:has(.btn-back[hidden]) { justify-content: flex-end; }
.em-quote.sent .q-steps, .em-quote.sent .form-nav, .em-quote.sent .form-error { display: none; }
.em-quote .em-step[hidden] { display: none !important; }
.frm-fluent-form fieldset { margin: 0; }
.frm-fluent-form .ff-el-group { margin-bottom: 16px; }
.frm-fluent-form .ff-t-container { display: flex; gap: 16px; }
.frm-fluent-form .ff-t-cell { flex: 1; min-width: 0; }
.frm-fluent-form .wpr-half { display: inline-block; vertical-align: top; width: calc(50% - 8px); }
.frm-fluent-form .wpr-half + .wpr-half { margin-left: 12px; }
@media (max-width: 560px) { .frm-fluent-form .wpr-half { display: block; width: 100%; } .frm-fluent-form .wpr-half + .wpr-half { margin-left: 0; } }
.frm-fluent-form .ff-el-input--label label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.frm-fluent-form .ff-el-is-required.asterisk-right label::after { color: #9A7300; }
.frm-fluent-form .ff-el-form-control { width: 100%; font: inherit; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--ice); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.frm-fluent-form select.ff-el-form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0D12' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.frm-fluent-form .ff-el-form-control:focus { outline: none; border-color: #0B0D12; background-color: #fff; box-shadow: 0 0 0 4px rgba(245,197,24,.3); }
.frm-fluent-form textarea.ff-el-form-control { min-height: 110px; resize: vertical; }
.frm-fluent-form .error, .frm-fluent-form .text-danger { color: #B42318; font-size: .85rem; font-weight: 600; margin-top: 6px; }
.frm-fluent-form .ff-el-is-error .ff-el-form-control { border-color: #B42318; }
/* Move type: radio options as choice cards */
.em-choices .ff-el-input--content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .em-choices .ff-el-input--content { grid-template-columns: 1fr 1fr; } }
.em-choices .ff-el-form-check { margin: 0; position: relative; }
.em-choices .ff-el-form-check label { display: flex; align-items: center; min-height: 58px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--ice); font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); line-height: 1.2; }
.em-choices .ff-el-form-check label:hover { border-color: #2A2E38; transform: translateY(-2px); }
.em-choices .ff-el-form-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.em-choices .ff-el-form-check.ff_item_selected label, .em-choices .ff-el-form-check:has(input:checked) label { border-color: #0B0D12; background: #FFF5D6; box-shadow: 0 0 0 3px rgba(245,197,24,.35); }
.em-choices .ff-el-form-check:has(input:focus-visible) label { outline: 3px solid #0B0D12; outline-offset: 2px; }
.em-choices > .ff-el-input--label { display: none; }
.frm-fluent-form .ff-el-tc { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.frm-fluent-form .ff-el-tc input { margin-top: 3px; flex: none; }
.frm-fluent-form .ff-el-tc a { color: #0B0D12; }
.frm-fluent-form .ff-btn-submit { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font: inherit; font-weight: 800; font-size: 1.06rem; line-height: 1; padding: 21px 32px; border-radius: 999px; border: 0; background: var(--yellow); color: #0B0D12; box-shadow: 0 10px 30px rgba(255,201,60,.35); cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s; }
.frm-fluent-form .ff-btn-submit:hover { box-shadow: 0 14px 34px rgba(255,201,60,.5); }
.frm-fluent-form .ff-btn-submit:active, .btn:active { transform: scale(.97); }
.frm-fluent-form .ff_submit_btn_wrapper { margin: 20px 0 0; text-align: right; }
.ff-message-success { background: #FFF5D6; border: 1px solid #F1E2A8; border-radius: 16px; padding: 22px 24px; font-weight: 600; }

/* ---------- Footer, misc ---------- */
.site-footer h2 { line-height: 1.2; }
.site-footer .foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a[aria-current="page"] { color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Build helpers ---------- */
.em-eyebrow { margin: 0; }
.svc-grid .svc.cta-card.wide { grid-column: span 2; }
@media (max-width: 600px) { .svc-grid .svc.cta-card.wide { grid-column: auto; } }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; }
@media (max-width: 900px) { .intro-cols { grid-template-columns: 1fr; } }
.intro-cols p { color: #3d4250; font-size: 1.06rem; }
.intro-cols a, .split a:not(.btn) { color: #0B0D12; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.intro-cols h3 { margin-top: 0; }
.intro-cols h3:not(:first-child) { margin-top: 1.4em; }
.gallery-more, .faq-more { margin-top: 26px; }
.hood-chips { list-style: none; padding: 0; }
.hood-chips li { padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: .92rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.page-hero.compact { padding: 170px 0 70px; }
.page-hero.plain { background: #07090F; }
.page-hero.plain::after { display: none; }
.crew-photo { margin: 0; }
.crew-photo img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-h { font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.15; }
.side-list .side-h { font-size: 1rem; margin-bottom: 10px; }
.checks.one { grid-template-columns: 1fr; }
.faq-group + .faq-group { margin-top: 3em; }
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.4em; }

h1, h2, h3, .quote-big { text-wrap: balance; }
.steps.wp-block-list { padding: 0; }
/* Open mobile menu covers the top bar (the bar sits above the header in the stacking order). */
.em-hdr:has(.nav.open) .topbar { visibility: hidden; }
@media (max-width: 900px) { .nav .nav-close { top: 22px; } }
@media (max-width: 700px) { .journey { height: 320vh; } }

/* ---------- Motion pass (Emil Kowalski review) ---------- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
/* exact properties instead of `all` */
.hq-sizes span, .choice span { transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out); }
/* press feedback on everything pressable (btn keeps its translate var for layout) */
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); transition-duration: .1s; }
.hq-sizes label:active span, .em-choices .ff-el-form-check label:active, .area-list a:active, .svc:active { transform: scale(.98); }
.nav-toggle:active, .sub-toggle:active { transform: scale(.94); }
/* dropdown grows from its trigger, quick and ease-out */
@media (min-width: 901px) { .nav .sub { transform-origin: 24px 0; transform: translateY(6px) scale(.98); transition: opacity .18s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s; } }
/* the full-screen menu is a drawer: under half a second */
@media (max-width: 900px) { .nav { transition: clip-path .45s var(--ease-out); } }
/* hover motion only for real pointers; calmer rotations than the mock-up */
@media (hover: none), (pointer: coarse) {
  .perk-list li:hover, .patch:hover, .svc:hover .ic, .badge:hover, .loc-chips a:hover, .area-list a:hover, .em-choices .ff-el-form-check label:hover { transform: none; }
  .svc:hover .ph img, .gallery figure:hover img, .svc.feature:hover img { transform: none; }
}
@media (hover: hover) and (pointer: fine) {
  .patch:hover { transform: rotate(-4deg) scale(1.03); }
  .svc:hover .ic { transform: rotate(-4deg) scale(1.05); }
  .perk-list li:hover { transform: translateX(4px); }
}
/* reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  .nav .sub { transform: none !important; }
  .cta-rocket, .rocket-wrap, .launch { display: none; }
}

/* ---------- Impeccable detector pass ---------- */
.h-phone small { font-size: .75rem; }
.faq .a { max-width: 66ch; }
.svc.feature p { max-width: 46ch; }
.intro-cols p { max-width: 62ch; }
/* callout: soft card instead of a side stripe */
.em .callout, .callout { border: 1px solid #F1E2A8; border-left-width: 1px; border-radius: var(--r); background: #FFF8E1; padding: 22px 26px; }
/* progress fill animates transform, not width */
.form-truck .fill { width: 100% !important; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease-out, cubic-bezier(.23,1,.32,1)); }
/* side list hover nudges with transform, not padding */
.side-list a { transition: background-color .2s ease, transform .2s var(--ease-out, ease-out); }
.side-list a:hover { padding-left: 12px; transform: translateX(4px); }

/* ---------- Impeccable design review pass ---------- */
/* section seams: article body on white so it never merges with the cream "included" band */
.em-body { background: #fff; }
/* eyebrow contrast on light sections (4.5:1+) */
.em .eyebrow { color: #7A5A00; }
/* journey: shorter pinned scroll */
.journey { height: 300vh; }
@media (max-width: 700px) { .journey { height: 260vh; } }
/* home FAQ: heading left, questions right (no empty right half at desktop) */
@media (min-width: 981px) {
  .em-faq > .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 64px; align-items: start; }
  .em-faq > .wrap > .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
  .em-faq > .wrap > .faq-more { grid-column: 2; }
}
.faq-group h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
/* checklist marker aligned to the first line */
.wp-block-list.is-style-em-checks li::before { margin-top: 0; }
.wp-block-list.is-style-em-checks li { line-height: 1.45; }
/* grids: odd last tile spans the row */
.area-list a:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 601px) { .area-list a:last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 600px) {
  .team-chips { display: grid; grid-template-columns: 1fr 1fr; }
  /* hero stats: one compact row */
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
  .hero-proof .pf { flex-direction: column; align-items: flex-start; gap: 2px; font-size: .8rem; }
  .em .big-a { font-size: 1.35rem; }
  /* services: compact link rows below the featured card */
  .svc-grid .svc:not(.feature):not(.cta-card) { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; min-height: 0; padding: 16px 18px; }
  .svc-grid .svc:not(.feature):not(.cta-card) .ic { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .svc-grid .svc:not(.feature):not(.cta-card) .ic svg { width: 22px; height: 22px; }
  .svc-grid .svc:not(.feature):not(.cta-card) h3 { margin: 0; font-size: 1.08rem; }
  .svc-grid .svc:not(.feature):not(.cta-card) p { display: none; }
  .svc-grid .svc:not(.feature):not(.cta-card) .go { margin: 0; font-size: 0; gap: 0; }
  .svc-grid .svc:not(.feature):not(.cta-card) .go svg { width: 20px; height: 20px; }
  .svc-grid { gap: 10px; }
  /* maps: labels too small to read; the area list below names every area */
  .map .city text, .map .loop-l, .map .river-l { display: none; }
  .map .city.hq text { display: inline; font-size: 16px; }
  /* CTA buttons: one clean column */
  .cta .wp-block-buttons, .cta .btns { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .cta .btn { width: 100%; }
  /* footer link lists side by side */
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  /* header: hamburger on the page gutter */
  .site-header .wrap { padding-right: 16px; }
}
@media (max-width: 420px) { .h-cta .btn { padding: 12px 16px; font-size: .95rem; } .em .brand .logo { height: 34px; } }

/* ---------- Round 2 (Milan feedback 17.11) ---------- */
/* hero headline: exactly two rows ("Houston movers," / "elevated.") */
.em .hero h1 { font-size: clamp(2.15rem, 5.4vw, 4.9rem); }
.hero h1 .line > span { white-space: nowrap; }
/* hero stats on one row */
.hero-proof { flex-wrap: nowrap; gap: 22px; }
.hero-proof .pf { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 601px) { .hero-proof { gap: 16px; } .em .big-a { font-size: 1.45rem; } .hero-proof .pf { font-size: .84rem; } }
/* mobile: one location chip is enough */
@media (max-width: 600px) { .loc-chips a + a { display: none; } }
/* crew section: button clear of the team chips */
.em-crew-btn { margin-top: 28px; }
/* footer without the outline wordmark */
.site-footer .foot-grid { padding-bottom: 56px; }
/* real maps (Leaflet) */
.lmap { position: relative; height: 380px; border-radius: 18px; overflow: hidden; background: #0e1118 radial-gradient(circle at 50% 50%, rgba(245,197,24,.07), transparent 60%); border: 1px solid rgba(255,255,255,.08); margin-top: 6px; isolation: isolate; }
.lmap-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark-muted); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.lmap.ready .lmap-ph { display: none; }
.lmap.failed .lmap-ph::after { content: " unavailable"; }
.lmap .leaflet-container, .lmap.leaflet-container { background: #0e1118; font: inherit; }
.lmap .leaflet-control-attribution { background: rgba(7,9,15,.7); color: #8b919e; font-size: 10px; }
.lmap .leaflet-control-attribution a { color: #c9ced8; }
.lmap .leaflet-bar a { background: #10141D; color: #fff; border-color: rgba(255,255,255,.12); }
.lmap .leaflet-bar a:hover { background: #1A1F2B; }
.em-pin a { color: inherit; text-decoration: none; display: block; }
.em-pin .pin-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(7,9,15,.85); transition: transform .2s cubic-bezier(.23,1,.32,1), background-color .2s; }
.em-pin .pin-lbl { position: absolute; left: 20px; top: -3px; white-space: nowrap; color: #fff; font: 700 12.5px/1.6 Inter, sans-serif; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0,0,0,.9); }
.em-pin.lbl-left .pin-lbl { left: auto; right: 20px; }
.em-pin.hq .pin-dot { width: 18px; height: 18px; left: -2px; top: -2px; background: var(--yellow); box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(245,197,24,.7); }
.em-pin.hq .pin-lbl { color: var(--yellow); font-weight: 800; font-size: 14px; top: -5px; }
.em-pin.ghost .pin-dot { background: transparent; box-shadow: 0 0 0 2px rgba(245,197,24,.6); }
.em-pin.ghost .pin-lbl { color: var(--yellow); }
.em-pin.lit .pin-dot, .em-pin:hover .pin-dot { transform: scale(1.5); background: var(--yellow); }
.em-route { animation: routeDash 3.5s linear infinite; }
@keyframes routeDash { to { stroke-dashoffset: -60; } }
@media (prefers-reduced-motion: reduce) { .em-route { animation: none; } }
@media (max-width: 600px) { .lmap { height: 300px; } .em-pin .pin-lbl { font-size: 11.5px; } }
.map-card .lmap { margin-top: 14px; }
/* nested (third-level) menu */
@media (min-width: 901px) {
  .nav .sub .has-sub { position: relative; display: flex; align-items: center; justify-content: space-between; }
  .nav .sub .has-sub > a { flex: 1; }
  .nav .sub .sub-toggle { margin: 0 4px 0 0; color: #AEB3BF; }
  .nav .sub .sub-toggle svg { transform: rotate(-90deg); }
  .nav .sub .sub-toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
  .nav .sub-2 { top: -11px; left: calc(100% + 8px); transform-origin: 0 24px; transform: translateX(-6px) scale(.98); }
  .nav .sub-2::before { left: -12px; top: 0; bottom: 0; right: auto; width: 12px; height: auto; }
  .nav .has-sub.depth-2:hover > .sub-2, .nav .has-sub.depth-2:focus-within > .sub-2, .nav .has-sub.depth-2.sub-open > .sub-2 { transform: none; }
}
@media (max-width: 900px) {
  .nav .sub .has-sub > a { font-size: 1.1rem; font-weight: 700; color: #fff; }
  .nav .sub .sub-toggle { width: 40px; height: 40px; border-radius: 12px; }
  .nav .sub-2 ul { padding: 0 0 6px 14px; border-left: 2px solid rgba(245,197,24,.35); margin-left: 4px; }
  .nav { overscroll-behavior: contain; }
}
/* blog: cards, list, single */
.post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-cards { grid-template-columns: 1fr; } }
.post-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s ease, transform .3s var(--ease-out, ease-out); }
@media (hover: hover) and (pointer: fine) { .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .post-card:hover .post-card__img img { transform: scale(1.04); } }
.post-card__img { margin: 0; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease-out); }
.post-card__bd { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { color: #7A5A00; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.post-card__title { font-size: 1.3rem; line-height: 1.15; margin: 0 0 10px; }
.post-card__title a { text-decoration: none; color: inherit; }
.post-card__excerpt { color: var(--muted); font-size: .97rem; margin-top: auto; }
.post-card__excerpt p { margin: 0 0 12px; }
.post-card__excerpt .wp-block-post-excerpt__more-link { font-weight: 800; color: #0B0D12; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.em-pager { display: flex; gap: 10px; justify-content: center; margin-top: 40px; font-weight: 700; }
.em-pager a, .em-pager span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.em-pager .current { background: #0B0D12; color: #fff; border-color: #0B0D12; }
.em-related-posts { background: var(--ice); }
.post-meta { display: flex; gap: 18px; color: var(--on-dark-muted); font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.post-meta span::before { content: "·"; margin-right: 18px; opacity: .5; }
.em-post-hero h1 { max-width: 22ch; }
.blog-hero { padding-bottom: 90px; }
.lmap .em-tiles { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.35); }
/* neon signs: one compact row on phones */
@media (max-width: 600px) {
  .neon-signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 30px; }
  .sign { min-width: 0; padding: 14px 6px; border-width: 2px; border-radius: 14px; }
  .em .sign b { font-size: 1.25rem; }
  .sign span { font-size: .56rem; letter-spacing: .08em; text-align: center; }
  .em .neon-script { margin-bottom: 30px; }
  .neon-sec { padding: 80px 0; }
  .lmap-hou .em-pin:not(.hq) .pin-lbl { display: none; }
}
@media (max-width: 900px) {
  .nav .sub-2 > ul { padding: 0 0 0 14px; }
  .nav .has-sub.sub-open > .sub-2 > ul { padding-bottom: 6px; }
}
/* templated posts: post content sits in .em-content inside the article */
.prose .em-content > .rv + .rv, .prose .em-content > figure + .rv, .prose .em-content > .rv + figure { margin-top: 2.6em; }
.prose .em-content > :first-child { margin-top: 0; }
/* tap targets >= 44px on touch */
@media (pointer: coarse), (max-width: 900px) {
  .side-list a { min-height: 44px; display: flex; align-items: center; }
  .h-cta .btn { min-height: 44px; }
  .brand { min-height: 44px; }
  .nav .sub .sub-toggle { width: 44px; height: 44px; }
  .topbar a { display: inline-block; padding-block: 10px; }
  .foot-bottom a { display: inline-block; padding-block: 14px; }
  .site-footer .foot-grid ul { gap: 2px; }
  .site-footer .foot-grid ul a { display: inline-block; padding-block: 8px; }
}

/* ---------------------------------------------------------------------------
 * Home: SEO Clean Doc sections (WEBDEVRE-305, 19.11.2026)
 * ------------------------------------------------------------------------- */
/* Service cards are not links here (the doc's inline links live in the text), so the text always shows. */
.em-doc-svc .svc { cursor: default; }
.em-doc-svc .svc p { margin-bottom: 0; }
.em-doc-svc .svc p a { color: #0B0D12; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.em-doc-svc .svc.feature p a { color: #fff; }
.em-doc-svc .svc.feature { min-height: 460px; }
@media (max-width: 600px) {
  .em-doc-svc .svc:not(.feature):not(.cta-card) { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .em-doc-svc .svc:not(.feature):not(.cta-card) h3 { margin-bottom: 6px; }
  .em-doc-svc .svc:not(.feature):not(.cta-card) p { display: block; }
  .em-doc-svc .svc:not(.feature):not(.cta-card) .ic { margin-bottom: 12px; }
  .em-doc-svc .svc.feature { min-height: 420px; }
}

/* Houston homes band: bullet list as glass cards on the photo */
.em-homes h2 { max-width: 22ch; }
.em-glass-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.em-glass-list li { padding: 18px 20px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #E1E8F7; font-size: 1rem; line-height: 1.55; }
.em-glass-list li b { display: block; color: #fff; margin-bottom: 4px; font-size: 1.05rem; }
.em-glass-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nash-band p.em-band-note { margin-top: 24px; font-size: 1.05rem; }
@media (max-width: 760px) { .em-glass-list { grid-template-columns: 1fr; } .em-glass-list li:last-child:nth-child(odd) { grid-column: auto; } }

/* Booking steps: two columns on desktop */
.em-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.em-steps-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .em-steps-grid { grid-template-columns: 1fr; } .em-steps-grid li:last-child:nth-child(odd) { grid-column: auto; } }
.em-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Price factors: cards */
.em-factor-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.em-factor-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; color: var(--muted); line-height: 1.55; }
.em-factor-list li b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.12rem; margin-bottom: 6px; }
@media (max-width: 980px) { .em-factor-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .em-factor-list { grid-template-columns: 1fr; } }
.em-after-list { margin-top: 26px; max-width: 70ch; }

/* Trust list */
.em-trust-list { max-width: 980px; font-size: 1.06rem; }

/* Doc reviews: static three-card grid (the marquee track is for the long review set) */
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rev-grid .rev { width: auto; display: flex; flex-direction: column; }
.rev-grid .rev blockquote { flex: 1; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: 1fr; } }

/* FAQ with H3 questions inside the summary */
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; color: inherit; }
.faq .a p { margin: 0; }

/* Contact: details + Google map */
.em-nap { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; color: #3d4250; }
.em-nap b { color: var(--ink); }
.em-nap a { color: #0B0D12; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.em-contact .split > * { min-width: 0; }
.em-map-title { font-size: 1.05rem; margin: 0 0 12px; }
.em-map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.em-map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Header follows the top bar via JS (inline top), so top must not animate. */
.site-header{transition:background .3s,box-shadow .3s,transform .35s var(--ease)}
/* Mobile menu: a closed submenu kept its list padding, so a sliver of the next toggle showed through. */
@media (max-width:900px){
  .nav .has-sub:not(.sub-open) > .sub > ul{padding-top:0;padding-bottom:0}
  .nav .has-sub:not(.sub-open) > .sub{visibility:hidden;transition:grid-template-rows .35s var(--ease),visibility 0s .35s}
  .nav .has-sub.sub-open > .sub{visibility:visible;transition:grid-template-rows .35s var(--ease),visibility 0s 0s}
}
