/* =========================================================
   IT infrastructure & Security pages of pattern F (2026-11-04): two overviews + one page per service, from the
   client's wireframes. Loaded after F/style.css and F/ai-iot.css (which gives the compact hero, section heads,
   challenge cards, FAQ, service cards and the step flow). Same review rules as AI & IoT: 16px body text, every block
   at the full content width, photos on the group cards, nothing that depends on hover.
   ========================================================= */

/* hero: tagline (bold) + intro + the service's own CTA; the outline button for "Explore services" */
.v-f .its-hero { min-height: clamp(260px, 22vw, 340px); }
.v-f .its-hero .its-tagline { margin-top: 14px; color: #fff; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 700; line-height: 1.4; max-width: 30em; }
.v-f .its-hero .its-intro { margin-top: 10px; max-width: 38em; }
.its-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.its-hero-cta .e-btn { width: auto; min-height: 46px; white-space: nowrap; }
.its-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.its-btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* small labels */
.its-id { display: block; color: var(--blue); font: 700 .75rem/1.4 var(--fx-font); letter-spacing: .06em; }
.its-tag { padding: 1px 8px; border-radius: 3px; background: var(--soft); color: var(--muted); font-size: .75rem; font-weight: 700; }
.its-hint { margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.its-sub { margin: clamp(32px, 4vw, 48px) 0 16px; color: var(--ink); font-size: 1.25rem; }
.its-note { padding: 22px 26px; border-left: 4px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; background: var(--blue-pale); color: var(--ink); }
.its-note h3 { margin-bottom: 6px; color: var(--blue); font-size: 1rem; }
.its-note p + p, .its-note p + h3 { margin-top: 10px; }
.its-page .its-note p { color: var(--ink); }

/* coverage and workflow concept: three linked nodes under the hero (security service pages) */
.its-concept { border-bottom: 1px solid var(--line); background: #fff; }
.its-concept .wrap { padding-top: 24px; padding-bottom: 24px; }
.its-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; margin: 10px 0 0; padding: 0; list-style: none; counter-reset: nd; }
.its-nodes li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font-weight: 700; line-height: 1.4; counter-increment: nd; }
.its-nodes li::before { content: "0" counter(nd); color: var(--blue); font: 700 1.75rem/1 var(--fx-font); letter-spacing: -.03em; }
/* connector = a solid triangle centred in the gap (review 2026-11-05: the line + chevron looked weak) */
.its-arrow { position: absolute; display: none; }
.its-nodes li + li .its-arrow { display: block; left: -35px; top: 50%; width: 0; height: 0; margin-top: -9px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--blue); }
.its-concept .its-hint { margin-top: 12px; }

/* challenges: the wireframe's 4 plain issue cards (ai-pains gives the "!" style) */
.its-issues { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.its-issues li { font-size: 1rem; }

/* scope of support: numbered rows */
.its-features { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.its-feature { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 28px 24px 24px; border-radius: var(--r); background: #fff; }
.its-feature-no { color: var(--blue); font: 700 clamp(2rem, 1.4rem + 1.4vw, 2.75rem)/1 var(--fx-font); letter-spacing: -.04em; }
.its-feature h3 { font-size: 1.1875rem; }
.its-feature p { margin-top: 6px; color: var(--muted); max-width: 60em; }

/* validation and deliverables: two cards */
.its-verify { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.its-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.its-card h3 { margin-bottom: 12px; font-size: 1.125rem; }
.its-card > p { color: var(--text); }
.its-checks, .its-deliv { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.its-checks li, .its-deliv li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.its-checks .ico, .its-deliv .ico { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px; color: var(--blue); }
.its-card .its-hint { margin-top: 14px; }

/* the 6-step responsibility flow */
.its-wf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.its-wf li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); }
/* a solid triangle sits in the middle of the 26px gap: 8px of air to each card */
.its-wf li + li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 0; height: 0; margin-top: -7px; border-style: solid; border-width: 7px 0 7px 10px; border-color: transparent transparent transparent var(--blue); }
.its-wf-no { color: var(--blue); font: 700 1.375rem/1 var(--fx-font); letter-spacing: -.02em; }
.its-wf strong { font-size: .9375rem; line-height: 1.35; }
.its-wf li:last-child { border-color: var(--blue); background: var(--blue-pale); }

/* 4-step delivery process (the AI pages' flow, four across) */
.its-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.its-flow span { font-size: 1rem; }
.its-cost { margin-top: clamp(28px, 3.5vw, 44px); padding: 24px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.soft .its-cost { border: 0; }
.its-cost h3 { font-size: 1.125rem; }
.its-cost-sub { margin-top: 2px; color: var(--blue); font-weight: 700; }
.its-cost p { margin-top: 8px; color: var(--text); max-width: 64em; }

/* overview: start with your challenge (numbered cards that list the services) */
.its-probs-sec { padding-top: 28px; }
.its-probs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.its-prob { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.its-prob-no { color: var(--blue); font: 700 1.5rem/1 var(--fx-font); letter-spacing: -.04em; }
.its-prob h3 { margin-top: 10px; font-size: 1.125rem; line-height: 1.35; }
.its-prob > p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.its-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.its-chips a, .its-chips .is-off { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.its-chips a { border: 1px solid #BFD6FF; background: var(--blue-pale); color: var(--blue); }
.its-chips a:hover, .its-chips a:focus-visible { border-color: var(--blue); background: var(--blue); color: #fff; }
.its-chips .is-off { background: var(--soft); color: var(--muted); font-weight: 500; }

/* overview: service groups (photo header, number, the services as rows) */
.its-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.its-groups-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.its-group { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.its-group-img { aspect-ratio: 16 / 7; overflow: hidden; background: var(--soft); }
.its-groups-4 .its-group-img { aspect-ratio: 16 / 6; }
.its-group-img img { width: 100%; height: 100%; object-fit: cover; }
.its-group-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.its-group-no { color: var(--blue); font: 700 1.75rem/1 var(--fx-font); letter-spacing: -.04em; }
.its-group h3 { margin-top: 8px; font-size: 1.375rem; line-height: 1.3; }
.its-group-body > p { margin-top: 4px; color: var(--muted); }
.its-group-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.its-group-list li { border-bottom: 1px solid var(--line); }
.its-group-list a, .its-group-list .is-off { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 12px 0; color: var(--ink); }
.its-group-list .its-id { grid-column: 1 / -1; }
.its-group-list strong { font-size: 1.0625rem; line-height: 1.35; }
.its-group-list span:not(.its-id):not(.its-tag) { grid-column: 1; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.its-group-list a .ico { grid-column: 2; grid-row: 2 / span 2; align-self: center; width: 20px; height: 20px; color: var(--blue); transition: transform .25s var(--fx-ease); }
.its-group-list a:hover strong, .its-group-list a:focus-visible strong { color: var(--blue); }
.its-group-list a:hover .ico { transform: translateX(3px); }
.its-group-list .is-off { grid-template-columns: minmax(0, 1fr) auto; align-items: center; color: var(--muted); }
.its-group-list .is-off .its-id { grid-column: 1; }
.its-group-list .is-off strong { grid-column: 1; font-weight: 500; }
.its-group-list .is-off .its-tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.its-group-hint { margin-top: auto; padding: 14px 16px 0; color: var(--ink); font-size: .9375rem; }
.its-group-hint { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--blue-pale); }

/* overview: role / approach cards with a number */
.its-roles li { position: relative; }
.its-roles .its-prob-no { display: block; margin-bottom: 10px; }
.its-page .its-roles li { background: #fff; border: 1px solid var(--line); }
.soft .its-roles li { border: 0; }

/* related cards: the id line on top */
.its-card-link .its-id { margin-bottom: 2px; }
.its-page .ai-card h3 { font-size: 1.0625rem; }

/* network diagram page (the old security page's diagram, kept for reference) */
.its-diagram .it-diagram { padding-top: clamp(32px, 4vw, 48px); }
.its-diagram h1.e-h2 { margin-top: 6px; }

@media (max-width: 1100px) {
  .its-issues, .its-probs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .its-wf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .its-wf li:nth-child(4)::before { display: none; }   /* first card of the second row: no arrow hanging off the edge */
  .its-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .its-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .its-nodes { grid-template-columns: minmax(0, 1fr); gap: 40px 0; }
  .its-nodes li + li .its-arrow { left: 50%; top: -27px; margin: 0 0 0 -9px; border-width: 14px 9px 0 9px; border-color: var(--blue) transparent transparent transparent; }
  .its-verify, .its-groups, .its-groups-4 { grid-template-columns: minmax(0, 1fr); }
  .its-groups-4 .its-group-img, .its-group-img { aspect-ratio: 16 / 7; }
  .its-feature { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 20px; }
}
@media (max-width: 720px) {
  /* phones (review 2026-11-04): tighter card padding everywhere */
  .its-prob { padding: 16px 16px 14px; }
  .its-prob h3 { margin-top: 6px; }
  .its-chips { margin-top: 12px; padding-top: 12px; }
  .its-group-body { padding: 16px 16px 18px; }
  .its-group-list a, .its-group-list .is-off { padding: 10px 0; }
  .its-group-hint { padding: 12px 14px; }
  .its-feature { padding: 16px; }
  .its-card { padding: 16px; }
  .its-note { padding: 16px 16px 16px 18px; }
  .its-cost { padding: 16px; }
  .its-page .ai-why li, .its-roles li { padding: 16px; }
  .its-page .ai-card { padding: 16px; }
  .its-page .ai-flow li { padding: 14px; }
  .its-nodes li, .its-wf li { padding: 12px 14px; }
  .its-concept .wrap { padding-top: 18px; padding-bottom: 18px; }
  .its-issues, .its-probs, .its-flow { grid-template-columns: minmax(0, 1fr); }
  .its-wf { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .its-wf li:nth-child(4)::before { display: block; }
  .its-wf li + li::before { left: 50%; top: -18px; margin: 0 0 0 -7px; border-width: 10px 7px 0 7px; border-color: var(--blue) transparent transparent transparent; }
  .its-hero-cta .e-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .its-group-list a .ico { transition: none; }
}

/* =========================================================
   Digital marketing service pages (2026-11-04): Treasure AI / e-commerce / customer touchpoints & CRM.
   Same skeleton as above; .dmx-* only adds the client's figures, the feature cards with figures, the CRM
   service cards and the 4-step process rebuilt from the client's diagram.
   ========================================================= */
.dmx-announce .its-note { border-radius: var(--r); }
.dmx-pains-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dmx-pains-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* the client's diagrams and screenshots: white frame, caption under */
.dmx-figure { margin: 20px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.dmx-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.dmx-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.soft .dmx-figure { border-color: transparent; }

/* what is Treasure AI: text beside the architecture diagram */
.dmx-what { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.dmx-what-p { color: var(--text); font-size: 1.0625rem; }
.dmx-what .dmx-figure { margin-top: 0; }

/* features: numbered card with the figure(s) under the text */
.dmx-features { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.dmx-feature { padding: 24px 28px 24px; border-radius: var(--r); background: #fff; }
.dmx-feature-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.dmx-feature-head .its-id { padding-top: 6px; font-size: .8125rem; }
.dmx-feature h3 { font-size: 1.1875rem; }
.dmx-feature p { margin-top: 6px; color: var(--muted); max-width: 64em; }
.dmx-ex .its-tag { margin-right: 4px; vertical-align: 1px; }
.dmx-more { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.dmx-more h4 { font-size: 1.0625rem; color: var(--ink); }

/* why us (Treasure AI): two numbered points + the funding fact */
.dmx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dmx-why li { border: 1px solid var(--line); }
.dmx-why .its-prob-no { display: block; margin-bottom: 10px; }
.dmx-why p { margin: 0; color: var(--ink); font-weight: 500; }
.dmx-fact { margin-top: 16px; }

/* e-commerce: the two strength cards under the overview diagram */
.dmx-strengths { margin-top: 20px; }
.dmx-strengths .its-tag { display: inline-block; margin-bottom: 8px; background: var(--blue-pale); color: var(--blue); }
.dmx-strengths h3 { margin-bottom: 8px; }
.dmx-strengths p { color: var(--muted); }

/* CRM: five service cards with a line icon */
.dmx-svcs .ai-card { gap: 8px; }
.dmx-ico { width: 40px; height: 40px; margin-bottom: 4px; color: var(--blue); }

/* CRM: the 4-step process (12 weeks), one column per step, chevrons between */
.dmx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.dmx-step { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; }   /* no overflow: hidden, or the chevron is clipped */
.dmx-step + .dmx-step::before { content: ""; position: absolute; left: -18px; top: 26px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 10px; border-color: transparent transparent transparent var(--blue); }
.dmx-step-h { padding: 14px 18px 16px; border-radius: 11px 11px 0 0; background: var(--blue); color: #fff; }
.dmx-step-week { display: block; margin-bottom: 4px; font: 700 .75rem/1.4 var(--fx-font); letter-spacing: .06em; opacity: .9; }
.dmx-step h3 { color: #fff; font-size: 1.125rem; line-height: 1.3; }
.dmx-step-theme { margin: 14px 16px 0; padding: 8px 12px; border-radius: 6px; background: var(--blue-pale); color: var(--blue); font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.dmx-step ul { display: grid; gap: 8px; margin: 12px 16px 18px; padding: 0; list-style: none; }
.dmx-step li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: .9375rem; line-height: 1.5; }
.dmx-step li .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.dmx-steps + .its-note { margin-top: 24px; }

@media (max-width: 1100px) {
  .dmx-pains-4, .dmx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmx-step:nth-child(3)::before { display: none; }
}
@media (max-width: 860px) {
  .dmx-what { grid-template-columns: minmax(0, 1fr); }
  .dmx-why, .dmx-pains-3 { grid-template-columns: minmax(0, 1fr); }
  .dmx-feature-head { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 720px) {
  .dmx-pains-4, .dmx-steps { grid-template-columns: minmax(0, 1fr); }
  .dmx-step:nth-child(3)::before { display: block; }
  .dmx-step + .dmx-step::before { left: 50%; top: -18px; margin-left: -7px; border-width: 10px 7px 0 7px; border-color: var(--blue) transparent transparent transparent; }
  .dmx-feature { padding: 16px; }
  .dmx-figure { margin-top: 14px; padding: 8px; }
  .dmx-what .dmx-figure { margin-top: 0; }
}

/* =========================================================
   Overviews, compact (meeting 2026-10-28, built 2026-11-05): the network diagram where each box opens a lightbox,
   the same services as a folded list, and the rest of the wireframe's copy in tabs.
   ========================================================= */
/* a box that opens: the button covers the whole box, a + badge in the corner shows it at rest (no hover needed) */
.itd-hint { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 700; }
.itd-plus { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); }
.itd-plus::before, .itd-plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; border-radius: 1px; background: #fff; }
.itd-plus::after { transform: rotate(90deg); }
.itd-hint .itd-plus { position: relative; top: auto; right: auto; flex: none; }
.itd-open { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.itd-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.itd-box.has-dlg, .itd-wan.has-dlg { transition: border-color .2s, box-shadow .2s; }
.itd-box.has-dlg:hover, .itd-wan.has-dlg:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.has-dlg .itd-head { padding-right: 30px; }
.itd-up .has-dlg .itd-head { padding-right: 24px; }
.itd-wan.has-dlg { padding-right: 52px; }
.itd-wan .itd-plus { top: 50%; right: 14px; margin-top: -13px; }
.its-map-sec .itd-tools { margin-bottom: 22px; }
.its-map-sec .itd-legend { margin-left: auto; }
/* on the security page only the highlighted boxes open; the badge fades with the rest of a faded box */
html.itd-lock { overflow: hidden; }

/* the lightbox */
.itd-dlg { width: min(900px, calc(100vw - 32px)); max-width: none; max-height: min(88vh, 900px); margin: auto; padding: 0; border: 0; border-radius: 16px;
  background: #fff; color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 30, 90, .55); overflow: hidden; }
.itd-dlg::backdrop { background: rgba(10, 30, 70, .5); }
.itd-dlg-in { display: flex; flex-direction: column; max-height: min(88vh, 900px); }
.itd-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 28px; border-bottom: 1px solid var(--line); background: var(--blue-pale); }
.itd-dlg-head h2 { color: var(--ink); font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); line-height: 1.3; }
.itd-dlg-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.itd-dlg-x:hover { border-color: var(--blue); color: var(--blue); }
.itd-dlg-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.itd-dlg-x .ico { width: 20px; height: 20px; }
.itd-dlg-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 4px; }
.itd-svc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 0; }
.itd-svc.no-img { grid-template-columns: minmax(0, 1fr); }
.itd-svc + .itd-svc { border-top: 1px solid var(--line); }
.itd-svc-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.itd-svc .its-id { font-size: .8125rem; }
.itd-svc h3 { margin-top: 2px; color: var(--ink); font-size: 1.375rem; line-height: 1.3; }
.its-page .itd-svc-tag { margin-top: 8px; color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
.itd-svc-copy > p { margin-top: 8px; }
.itd-svc .its-checks { margin-top: 14px; }
.itd-svc-copy > .itd-svc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }   /* "> p" above would pull it back to 8px */
.itd-svc-go .e-btn { width: auto; min-height: 46px; }

/* lightbox, first block: what this part of the network is + one line per item in the box (sample copy for now) */
.itd-about { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.its-page .itd-sample { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 4px; background: #FFF3E0; color: #8A4B00; font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.its-page .itd-about-p { color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
.itd-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.itd-parts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.itd-parts li:only-child { grid-column: 1 / -1; }
.itd-parts .itd-ico { width: 40px; height: 40px; color: var(--blue); }
.itd-part-dot { justify-self: center; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--blue); }
.itd-parts strong { display: block; color: var(--ink); line-height: 1.4; }
.itd-parts span { display: block; margin-top: 2px; color: var(--muted); line-height: 1.5; }
.its-page .itd-svc-h { margin: 22px 0 -8px; }
@media (max-width: 720px) {
  .itd-parts { grid-template-columns: minmax(0, 1fr); }
}

/* the same services as a plain list, folded under the diagram */
.its-all { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.soft .its-all { border-color: transparent; }
.its-all summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.its-all summary::-webkit-details-marker { display: none; }
.its-all summary .ico { flex: none; width: 20px; height: 20px; color: var(--blue); transition: transform .3s var(--fx-ease); }
.its-all[open] summary .ico { transform: rotate(180deg); }
.its-all summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; border-radius: 12px; }
.its-all-in { padding: 0 20px 22px; }
.its-all-in > p { max-width: 60em; color: var(--muted); }
.its-all-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 28px; margin-top: 16px; }
.its-all-col h3 { padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.its-all-col ul { margin: 6px 0 0; padding: 0; list-style: none; }
.its-all-col li a, .its-all-col .is-off { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; line-height: 1.45; }
.its-all-col li a { color: var(--ink); }
.its-all-col li a:hover, .its-all-col li a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.its-all-col .is-off { color: var(--muted); }
.its-all-col .its-tag { flex: none; }

/* (the overviews had tighter section spacing to fit about four screens; review 2026-11-05 found that too tight,
   so they follow the shared rhythm at the end of ai-iot.css) */
/* "How we work": the wireframe's other sections as tabs */
.its-more .ai-tablist { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.its-panel-h { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.3; }
.its-panel .ai-lead { margin: -8px 0 20px; }
.its-panel .its-cost { margin-top: 24px; }

@media (max-width: 720px) {
  .itd-dlg { width: calc(100vw - 20px); max-height: 92vh; border-radius: 12px; }
  .itd-dlg-in { max-height: 92vh; }
  .itd-dlg-head { padding: 10px 10px 10px 16px; }
  .itd-dlg-body { padding: 0 16px 4px; }
  .itd-svc, .itd-svc.no-img { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .itd-svc-img img { aspect-ratio: 16 / 9; }
  .itd-svc h3 { font-size: 1.25rem; }
  .itd-svc-go .e-btn { width: 100%; max-width: none; }
  .its-map-sec .itd-legend { margin-left: 0; }
  .its-all summary { padding: 14px; }
  .its-all-in { padding: 0 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .itd-box.has-dlg, .itd-wan.has-dlg, .its-all summary .ico { transition: none; }
}
