/* City hubs (/locations/<city>/): the Chicago city design's inline styles (dap-rebrand-catalin
   location-chicago.html, 2026-10-26) that the service sheet (design-services.css) does not
   already carry. The City template page has the classes "p-service p-awards p-city", so the
   service design applies too; these rules key on .p-city. One rule per line. */
.p-city .lcx-h { text-align:center;max-width:24ch;margin:0 auto var(--space-12);text-wrap:balance }
.p-city .lcx-grid { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6) }
.p-city .lcx { display:flex;flex-direction:column;padding:var(--space-8);background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-lg,12px);box-shadow:0 18px 40px -26px rgba(4,28,44,.35);transition:transform .3s,border-color .3s,box-shadow .3s }
.p-city .lcx:hover { transform:translateY(-4px);border-color:rgba(245,101,56,.45);box-shadow:0 28px 56px -26px rgba(4,28,44,.45) }
.p-city .lcx__ic { display:grid;place-items:center;width:52px;height:52px;margin-bottom:var(--space-5);border-radius:50%;background:rgba(245,101,56,.1);color:var(--accent-main);transition:background .3s,color .3s }
.p-city .lcx__ic svg { width:26px;height:26px }
.p-city .lcx:hover .lcx__ic { background:var(--accent-main);color:#fff }
.p-city .lcx__t { margin:0 0 var(--space-3);font-family:var(--t-font-display);font-weight:700;font-size:var(--t-h5,20px);line-height:1.25;color:var(--text-heading) }
.p-city .lcx__t a { color:inherit;text-decoration:none }
.p-city .lcx__t a::after { content:"";position:absolute;inset:0 }
.p-city .lcx { position:relative }
.p-city .lcx__p { margin:0 0 var(--space-6);font-size:var(--t-small,15px);line-height:1.7;color:var(--text-body) }
.p-city .lcx__go { margin-top:auto;display:inline-flex;align-items:center;gap:var(--space-2);font-weight:700;font-size:var(--t-small,15px);color:var(--accent-main) }
.p-city .lcx__go svg { width:18px;height:18px;transition:transform .3s }
.p-city .lcx:hover .lcx__go svg { transform:translateX(4px) }
.p-city .lcx__subs { position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-5) 0 0;padding:var(--space-5) 0 0;border-top:1px solid var(--border-subtle);list-style:none }
.p-city .lcx__subs a { display:inline-flex;align-items:center;min-height:36px;padding:0 var(--space-4);border-radius:999px;background:var(--gray-100,#f3f4f6);font-size:14px;font-weight:600;color:var(--text-heading);text-decoration:none;transition:background .25s,color .25s }
.p-city .lcx__subs a:hover { background:var(--accent-main);color:#fff }
.p-city .lvid { background:var(--secondary-900);color:#fff }
.p-city .lvid .hc-h2 { color:#fff;text-align:center;max-width:26ch;margin:0 auto var(--space-10);text-wrap:balance }
.p-city .lvid__frame { position:relative;max-width:1040px;margin:0 auto;aspect-ratio:16/9;border-radius:var(--radius-lg,12px);overflow:hidden;box-shadow:0 30px 60px -28px rgba(0,0,0,.7);background:#000 }
.p-city .lvid__play { position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#000 }
.p-city .lvid__play img { width:100%;height:100%;object-fit:cover;display:block;opacity:.85;transition:opacity .3s,transform .6s cubic-bezier(.22,1,.36,1) }
.p-city .lvid__play:hover img { opacity:1;transform:scale(1.03) }
.p-city .lvid__btn { position:absolute;left:50%;top:50%;width:88px;height:88px;margin:-44px 0 0 -44px;border-radius:50%;display:grid;place-items:center;background:var(--accent-main);color:#fff;box-shadow:0 0 0 12px rgba(245,101,56,.25);transition:transform .3s }
.p-city .lvid__play:hover .lvid__btn { transform:scale(1.08) }
.p-city .lvid__btn svg { width:36px;height:36px;margin-left:4px }
.p-city .lvid__play:focus-visible { outline:3px solid #fff;outline-offset:-3px }
.p-city .lvid__alt { text-align:center;margin:var(--space-5) 0 0 }
.p-city .lvid__alt a { color:rgba(255,255,255,.8);font-weight:600 }
.p-city .lvid__alt a:hover { color:var(--accent-main) }
.p-city .lvid__frame iframe { position:absolute;inset:0;width:100%;height:100%;border:0 }
.p-city .lstop .ts-split__shot { border-radius:var(--radius-lg,12px);overflow:hidden }
.p-city .lstop .ts-split__shot img { width:100%;height:100%;min-height:460px;object-fit:cover;object-position:center;display:block }
.p-city .lc-wm { font-family:var(--t-font-display);font-weight:800;font-size:18px;letter-spacing:-.01em;color:var(--secondary-900);white-space:nowrap }
@media (max-width:1023px) { .p-city .lcx-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:640px) { .p-city .lcx-grid { grid-template-columns:minmax(0,1fr) } }
@media (max-width:640px) { .p-city .lcx { padding:var(--space-6) } }
.p-city:not(.p-city-svc) #consultation .ts-consult__tag { top:auto;bottom:40px;z-index:1 }
@media (max-width:959px) { .p-city:not(.p-city-svc) #consultation .ts-consult__tag { bottom:24px } }
.p-city .lcx .lcx__p { margin-bottom:0 }
.p-city .lcx__subs { margin-top:auto }
.p-city .lcx .lcx__p+.lcx__subs { margin-top:var(--space-5) }
.p-city .lcx__subs span { display:inline-flex;align-items:center;min-height:36px;padding:0 var(--space-4);border-radius:999px;background:var(--gray-100,#f3f4f6);font-size:14px;font-weight:600;color:var(--text-body) }
.p-city .lcx .lcx__go { margin:var(--space-4) 0 0 }
.p-city .lcx .lcx__go+.lcx__subs { margin-top:var(--space-5) }
.p-city .lcx__subs { margin-top:auto }
.p-city .lar-head { text-align:center;max-width:720px;margin:0 auto }
.p-city .lar-h { margin:0;text-wrap:balance }
.p-city .lar-p { margin:var(--space-4) auto 0;max-width:60ch;font-size:var(--t-body-lg,1.125rem);line-height:1.6;color:var(--text-body);text-wrap:pretty }
.p-city .lar-list { list-style:none;margin:var(--space-10) auto 0;padding:0;max-width:960px;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-3) }
.p-city .lar-chip { display:inline-flex;align-items:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-5);background:#fff;border:1px solid var(--border-subtle);border-radius:999px;box-shadow:0 10px 24px -18px rgba(4,28,44,.35);font-weight:600;font-size:15px;color:var(--text-heading);transition:border-color .25s,transform .25s }
.p-city .lar-chip:hover { border-color:var(--accent-main);transform:translateY(-2px) }
.p-city .lar-chip svg { width:18px;height:18px;color:var(--accent-main);flex:none }
.p-city .lar-head { max-width:none }
.p-city .lar-p { max-width:none }
.p-city .lar-list { max-width:none }
.p-city .lar-chip { min-height:48px;padding:0 var(--space-10,40px) }
.p-city:not(.p-city-svc) #results .ts-stats__row { grid-template-columns:repeat(2,minmax(0,1fr)) }
@media (min-width:700px) { .p-city:not(.p-city-svc) #results .ts-stats__row { grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media (min-width:700px) { .p-city:not(.p-city-svc) #results .ts-stat:nth-child(even) { transform:none } }
@media (min-width:700px) { .p-city:not(.p-city-svc) #results .ts-stat:nth-child(even):hover { transform:translateY(-6px) } }
@media (min-width:1200px) { .p-city:not(.p-city-svc) #results .ts-stats__row { grid-template-columns:repeat(6,minmax(0,1fr)) } }
@media (min-width:1200px) { .p-city:not(.p-city-svc) #results .ts-stat:nth-child(even) { transform:translateY(-40px) } }
@media (min-width:1200px) { .p-city:not(.p-city-svc) #results .ts-stat:nth-child(even):hover { transform:translateY(-46px) } }
.p-city:not(.p-city-svc) #results .ts-stat:last-child:nth-child(odd) { grid-column:auto }
.p-city span.client-logo-pill { cursor:default }
.p-city .lcmap__p { margin:var(--space-3) 0 0;font-size:var(--t-small,15px);line-height:1.6;color:rgba(255,255,255,.82) }
.p-city .lcmap__p--area { font-weight:600;color:#fff }
.p-city .lcmap__p+.lcmap__facts, .p-city .lcmap__p--area+ul { margin-top:var(--space-6) }
@media (max-width:480px) { .p-city:not(.p-city-svc) #awards .aw-more .btn { white-space:normal;text-align:center;max-width:100%;height:auto;min-height:48px;padding-block:12px;line-height:1.3 } }
.p-city:not(.p-city-svc) #clients { background:#e8ebf1!important }
.p-city:not(.p-city-svc) #results { background:#fff!important }
.p-city:not(.p-city-svc) #awards { background:#fff!important }
.p-city:not(.p-city-svc) #industries { background:#fff }  /* the design sets this section on white */

/* The Locations landing (/locations/): the design's inline styles for its hero, office cards, city
   tiles and the trusted-by band (dap-rebrand-catalin locations.html, 2026-10-27). Its source page
   has the classes "p-service p-awards p-locations". */
.p-locations .loc-hero { padding-bottom:var(--space-16) }
.p-locations .loc-hero .hc-h1 { margin:0 0 var(--space-10) }
.p-locations .lh-hero { position:relative;isolation:isolate;overflow:hidden }
.p-locations .lh-hero::before { content:"";position:absolute;right:-180px;top:-300px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(240,109,58,.55) 0%,rgba(240,109,58,0) 70%);filter:blur(90px);opacity:.5;z-index:-1;pointer-events:none }
@media (max-width:640px) { .p-locations .lh-hero::before { width:420px;height:420px;right:-160px;top:-200px } }
.p-locations .lh7-top { display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-4) var(--space-10);margin:var(--space-6) 0 var(--space-8) }
.p-locations .lh7-h { margin:0 }
.p-locations .lh7-top { margin-bottom:var(--space-12)!important }
.p-locations .lh7-top { display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-5) }
.p-locations .lh7-top .lh7-h { margin-bottom:0 }
.p-locations .lh7-sub { margin:0;max-width:52ch;font-size:var(--t-body-lg,19px);line-height:1.6;color:rgba(255,255,255,.82);text-wrap:pretty }
.p-locations .lh7-cta { margin-top:var(--space-2) }
.p-locations #offices .of-hq__shot { flex:none;width:100%;align-self:stretch;aspect-ratio:1400/875;height:auto;overflow:hidden }
.p-locations #offices .of-hq__shot a { display:block;width:100%;height:100% }
.p-locations #offices .of-hq__shot img { position:static;width:100%;height:100%;object-fit:cover;display:block }
.p-locations .of-hq .of-n a { color:inherit;text-decoration:none }
.p-locations .of-hq .of-n a:hover { color:var(--accent-main) }
.p-locations .of-hrs { color:var(--text-muted) }
.p-locations #offices .of-hq { display:flex;flex-direction:column }
.p-locations #offices .of-hq__b { display:flex;flex-direction:column;flex:1 }
.p-locations #offices .of-acts { margin-top:auto;padding-top:var(--space-4) }
.p-locations .of-acts { display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-6) }
.p-locations .ct-tiles { display:flex;flex-wrap:wrap;justify-content:flex-start;gap:var(--space-4);list-style:none;margin:0;padding:0 }
.p-locations .ct-tile { flex:0 0 calc((100% - 3*var(--space-4))/4) }
@media (max-width:1023px) { .p-locations .ct-tile { flex-basis:calc((100% - 2*var(--space-4))/3) } }
.p-locations .ct-tile a { position:relative;display:flex;align-items:center;gap:var(--space-3);height:100%;padding:10px 16px 10px 10px;background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-lg,12px);text-decoration:none;color:var(--text-heading);transition:border-color .25s,box-shadow .25s,transform .25s }
.p-locations .ct-tile a:hover { border-color:var(--accent-main);box-shadow:0 18px 36px -24px rgba(4,28,44,.4);transform:translateY(-2px) }
.p-locations .ct-tile__shot { flex:none;width:56px;height:56px;border-radius:8px;overflow:hidden;background:var(--gray-100,#f3f4f6) }
.p-locations .ct-tile__shot img { width:100%;height:100%;object-fit:cover;display:block }
.p-locations .ct-tile__n { flex:1;font-family:var(--t-font-display);font-weight:700;font-size:17px;line-height:1.25 }
.p-locations .ct-tile__go { flex:none;width:18px;height:18px;color:var(--accent-main);transition:transform .25s }
.p-locations .ct-tile a:hover .ct-tile__go { transform:translateX(3px) }
@media (max-width:640px) { .p-locations .ct-tiles { gap:var(--space-3) } }
@media (max-width:640px) { .p-locations .ct-tile { flex-basis:calc((100% - var(--space-3))/2) } }
@media (max-width:640px) { .p-locations .ct-tile__shot { width:44px;height:44px } }
@media (max-width:640px) { .p-locations .ct-tile__n { font-size:15px } }
.p-locations .loc-hero.lh7 { padding-bottom:var(--space-12) }
.p-locations .lh7-grid { display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-8);align-items:center;margin-top:var(--space-6) }
.p-locations .lh7-grid .lh7-top { margin:0!important }
.p-locations .lh7-glance { list-style:none;margin:0;padding:var(--space-6) var(--space-8);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius-lg,12px) }
.p-locations .lh7-glance li { display:flex;flex-direction:column;gap:4px }
.p-locations .lh7-glance li+li { padding-left:var(--space-6);border-left:1px solid rgba(255,255,255,.12) }
.p-locations .lh7-glance b { font-family:var(--t-font-display);font-weight:800;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1;color:var(--accent-main) }
.p-locations .lh7-glance span { font-size:var(--t-small);color:rgba(255,255,255,.78) }
@media (min-width:1024px) { .p-locations .lh7-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--space-16) } }
@media (max-width:479px) { .p-locations .lh7-glance { padding:var(--space-5);gap:var(--space-4) } }
@media (max-width:479px) { .p-locations .lh7-glance li+li { padding-left:var(--space-4) } }
.p-locations .loc-hero.lh7 { padding-bottom:var(--space-10) }
.p-locations .loc-hero .lh7-grid { margin-top:var(--space-4) }
.p-locations .lh7-sub b { color:#fff;font-weight:700 }
.p-locations .lh7-ctas { display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4) var(--space-8);margin-top:var(--space-6) }
.p-locations .lh7-ctas .lh7-cta { margin:0 }
.p-locations .lh7-jump { display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;font-size:var(--t-small);color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35) }
.p-locations .lh7-jump:hover { color:var(--primary-300);border-color:var(--primary-300) }
.p-locations .loc-hero .lh7-glance { padding:0;background:none;border:0;border-radius:0 }
.p-locations .loc-hero .lh7-glance b { font-size:clamp(2.4rem,4vw,3.5rem) }
.p-locations .loc-hero .lh7-glance li+li { padding-left:var(--space-8) }
.p-locations .loc-hero .lh7-glance { gap:var(--space-8) }
@media (max-width:479px) { .p-locations .loc-hero .lh7-glance { gap:var(--space-4) } }
@media (max-width:479px) { .p-locations .loc-hero .lh7-glance li+li { padding-left:var(--space-4) } }
.p-locations .tr-band { padding-block:var(--space-16) }
.p-locations .tr-h { margin:0;text-align:center;font-family:var(--t-font-display);font-weight:800;font-size:var(--t-h2-sm);letter-spacing:var(--tracking-tight);color:var(--text-heading) }
.p-locations .tr-h--sm { margin-top:var(--space-12);font-size:var(--t-h4,1.5rem) }
.p-locations .tr-marquee { margin-top:var(--space-8);overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent) }
.p-locations .tr-track { display:flex;width:max-content;margin:0;padding:0;list-style:none;animation:tr-scroll 40s linear infinite }
.p-locations .tr-marquee:hover .tr-track, .p-locations .tr-marquee:focus-within .tr-track { animation-play-state:paused }
.p-locations .tr-track li { flex:none;display:flex;align-items:center;justify-content:center;width:200px;height:64px;padding:0 24px }
.p-locations .tr-logo { display:flex;align-items:center;justify-content:center;min-height:44px }
.p-locations .tr-logo img { height:30px;width:auto;max-width:150px;object-fit:contain;filter:grayscale(1);opacity:.7;transition:filter var(--transition-base),opacity var(--transition-base) }
.p-locations .tr-logo:hover img, .p-locations .tr-logo:focus-visible img { filter:none;opacity:1 }
.p-locations .tr-logo:focus-visible { outline:2px solid var(--primary-600);outline-offset:4px;border-radius:6px }
.p-locations .tr-awards { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-6);max-width:1080px;margin:var(--space-8) auto 0;padding:0;list-style:none }
.p-locations .tr-award { display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:var(--text-main);transition:transform var(--transition-base) }
.p-locations .tr-award:hover { transform:translateY(-3px) }
.p-locations .tr-award:focus-visible { outline:2px solid var(--primary-600);outline-offset:4px;border-radius:6px }
.p-locations .tr-award__img { display:flex;align-items:center;justify-content:center;height:44px }
/* a fixed height, not auto: an SVG badge with a viewBox but no width/height (Top SEO Services) otherwise sizes to 0x0 in this flex box */
.p-locations .tr-award__img img { height:44px;max-height:44px;max-width:120px;width:auto;object-fit:contain }
.p-locations .tr-award__cap { font-size:13px;line-height:1.35;text-align:center;color:var(--text-muted) }
@media (max-width:900px) { .p-locations .tr-awards { grid-template-columns:repeat(3,minmax(0,1fr));row-gap:var(--space-8) } }
@media (max-width:480px) { .p-locations .tr-awards { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:480px) { .p-locations .tr-track li { width:160px } }
@media (prefers-reduced-motion:reduce) { .p-locations .tr-track { animation:none;flex-wrap:wrap;width:auto;justify-content:center } }
@media (prefers-reduced-motion:reduce) { .p-locations .tr-track li[aria-hidden], .p-locations .tr-track li:has(a[aria-hidden]) { display:none } }
@media (prefers-reduced-motion:reduce) { .p-locations .tr-award { transition:none } }
.p-locations #proof .tr-h--sm { font-size:inherit;font-size:var(--t-h2-sm) }

/* City service pages (/locations/<city>/<service>/, theme single-location.php): the Chicago SEO
   design's inline styles (location-chicago-seo.html, 2026-10-27) that design-services.css does not
   carry. The page has the classes "p-service p-awards p-city p-city-svc"; the "since 2016" cards
   (dapv/loc-since) key on .p-service like the rest of .lcp. One rule per line. */
.p-service .lcp-stats>li { display:flex;flex-direction:column }
.p-service .lcp-logo-row { display:flex;align-items:center;margin-top:auto;padding-top:var(--space-5);border-top:1px solid #E3E7EC }
.p-service .lcp-stats>li>span:not(.lcp-logo-row) { margin-bottom:var(--space-5) }
.p-service .lcp-stats .lcp-logo, .p-service .lcp-stats .lcp-logo img { display:block;height:32px;width:auto;max-width:150px;object-fit:contain;object-position:left center;filter:grayscale(1);mix-blend-mode:multiply;opacity:.8 }
.p-city-svc #results.ts-stats { background:#fff }
.p-city-svc #why-work-with-us { background:#fff }
.p-city-svc #results-work { background:#e8ebf1 }
.p-city-svc #seo-services .ts-rc__a { padding:32px!important }
.p-city-svc #seo-services .svc-ico { display:block;width:48px;height:48px;margin-bottom:20px;background:none!important;color:var(--secondary-800);--ico-accent:var(--primary-600) }
.p-city-svc #seo-services .svc-ico svg { width:48px;height:48px }

/* Chicago SEO design values the shared service rules override (QA Chicago SEO, 2 Dec 2026). */
/* Issue 1: the hero form's fields are the design's .hc-form size, 34px (44px on phones) with 12px side padding, not the
   Healthcare hero's 48px (design-inline.css); the message box is already 62px (hubspot-forms.css) */
.p-service.p-city-svc #hero .hc-formcard .form-input { height:34px!important;min-height:34px!important;padding:0 12px!important }
@media (max-width:767px) { .p-service.p-city-svc #hero .hc-formcard .form-input { height:44px!important;min-height:44px!important } }
.p-service.p-city-svc #hero .hc-formcard .form-textarea { padding-left:12px!important;padding-right:12px!important }
/* Issue 4: Why work with us shows the design's solid orange tick circle (40px, white 20px tick) on every card, in place
   of the Technical SEO design's line icons */
.p-service.p-city-svc #why-work-with-us .lcy2-ic { display:block;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:var(--primary-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/20px 20px no-repeat!important }
.p-service.p-city-svc #why-work-with-us .lcy2-ic svg { display:none!important }
/* Issue 12: the Related services links use the design's deeper orange, darker on hover */
.p-service.p-city-svc #seo-services .ts-rc__more { color:var(--primary-600) }
.p-service.p-city-svc #seo-services .ts-rc__a:hover .ts-rc__more { color:var(--primary-700) }
