/* Cindy Laisc demo flows — all component selectors are intentionally scoped. */
.af-demo,
.dg-demo {
  --cindy-green: #062e29;
  --cindy-cream: #f9f8f3;
  --cindy-gold: #c2a477;
  --ink: #143f39;
  --muted: #54706b;
  --line: rgba(6, 46, 41, .15);
  --surface: #fffef9;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--cindy-green);
  font-family: var(--sans), ui-sans-serif, system-ui, sans-serif;
  line-height: 1.45;
}

.af-demo *, .af-demo *::before, .af-demo *::after,
.dg-demo *, .dg-demo *::before, .dg-demo *::after { box-sizing: border-box; }
.af-demo svg, .dg-demo svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; flex: 0 0 auto; }
.af-demo button, .dg-demo button,
.af-demo input, .dg-demo input { font: inherit; }
.af-demo button, .dg-demo button { cursor: pointer; }
.af-demo button:focus-visible, .dg-demo button:focus-visible,
.af-demo input:focus-visible, .dg-demo input:focus-visible { outline: 3px solid var(--cindy-gold); outline-offset: 3px; }

.af-header, .dg-header { max-width: 740px; }
.af-eyebrow, .dg-eyebrow, .dg-kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .65rem;
  color: #80623a;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.af-header h2, .dg-header h2 {
  max-width: 850px;
  margin: 0;
  color: var(--cindy-green);
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  line-height: 1.09;
  letter-spacing: -.04em;
}
.af-header > p:last-child, .dg-header > p:last-child {
  max-width: 680px;
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 2vw, 1.08rem);
}

/* Automation */
.af-demo { padding: clamp(1rem, 4vw, 2.5rem); background: var(--cindy-cream); }
.af-workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(285px, .85fr); gap: clamp(1rem, 3vw, 1.55rem); margin-top: clamp(1.35rem, 3vw, 2rem); align-items: stretch; }
.af-flow-card, .af-detail, .af-apps {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(6, 46, 41, .06);
}
.af-flow-card { min-width: 0; overflow: hidden; }
.af-flow-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 750; }
.af-progress-copy { min-width: max-content; border-radius: 999px; padding: .22rem .55rem; background: #e7eee9; color: var(--cindy-green); font-variant-numeric: tabular-nums; }
.af-flow { display: grid; padding: clamp(.85rem, 2.4vw, 1.2rem); }
.af-flow-item { display: grid; grid-template-columns: 1fr; justify-items: center; }
.af-node {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 1.4rem;
  align-items: center;
  gap: .65rem;
  width: min(100%, 550px);
  min-height: 3.85rem;
  padding: .65rem .72rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #fff;
  color: var(--cindy-green);
  text-align: left;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.af-node:hover { transform: translateY(-2px); border-color: rgba(194, 164, 119, .95); box-shadow: 0 8px 18px rgba(6, 46, 41, .1); }
.af-node.is-active { border-color: var(--cindy-gold); background: #fffdf6; box-shadow: 0 7px 18px rgba(91, 69, 36, .12); }
.af-node-number { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #e7eee9; color: var(--cindy-green); font-size: .7rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.af-node.is-active .af-node-number { background: var(--cindy-gold); color: var(--cindy-green); }
.af-node-label { font-size: clamp(.84rem, 1.7vw, .97rem); font-weight: 750; line-height: 1.17; }
.af-node-arrow { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; color: var(--cindy-gold); }
.af-node.is-active .af-node-arrow::after { content: ""; position: absolute; width: 1.55rem; height: 1.55rem; border: 1px solid currentColor; border-radius: 50%; }
.af-connector { display: grid; place-items: center; height: 1.15rem; color: var(--cindy-gold); }
.af-connector::before { content: ""; width: 1px; height: .4rem; background: currentColor; }
.af-connector i { position: relative; display: block; width: .45rem; height: .45rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); }
.af-detail { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 3vw, 1.55rem); }
.af-detail-body { flex: 1; }
.af-detail-kicker { display: flex; align-items: center; gap: .55rem; color: #80623a; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.af-step-index { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .58rem; background: var(--cindy-green); color: var(--cindy-cream); font-size: .73rem; }
.af-detail h3 { margin: .9rem 0 .45rem; color: var(--cindy-green); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.08; letter-spacing: -.025em; }
.af-detail-lede { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.af-detail-list { display: grid; gap: .65rem; margin: 0; }
.af-detail-list div { padding: .62rem .68rem; border-left: 2px solid var(--cindy-gold); background: #f7f6ef; }
.af-detail-list dt { margin-bottom: .13rem; color: #77603e; font-size: .68rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.af-detail-list dd { margin: 0; color: #29514b; font-size: .82rem; line-height: 1.35; }
.af-local-action, .dg-local-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: max-content;
  max-width: 100%;
  min-height: 2.7rem;
  margin-top: 1rem;
  padding: .66rem .9rem;
  border: 1px solid var(--cindy-green);
  border-radius: .65rem;
  background: var(--cindy-green);
  color: var(--cindy-cream);
  font-size: .83rem;
  font-weight: 750;
  transition: transform .2s ease, background-color .2s ease;
}
.af-local-action:hover, .dg-local-action:hover { transform: translateY(-1px); background: #0c4b43; }
.af-local-action.is-confirmed, .dg-local-action.is-confirmed { background: #725d3d; }
.af-feedback, .dg-feedback { min-height: 1.25rem; margin: .65rem 0 0; color: #35615a; font-size: .78rem; font-weight: 650; }
.af-apps { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr); gap: 1rem; margin-top: 1rem; padding: 1rem 1.1rem; align-items: center; }
.af-apps .af-eyebrow { margin: 0 0 .35rem; }
.af-apps h3 { margin: 0; font-size: 1rem; line-height: 1.2; }
.af-apps ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.af-apps li { padding: .4rem .55rem; border: 1px solid rgba(6, 46, 41, .12); border-radius: 999px; background: #f7f6ef; color: #31564f; font-size: .76rem; font-weight: 700; }
.af-disclaimer, .dg-disclaimer { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0 0; color: #5c6e69; font-size: .78rem; line-height: 1.4; }
.af-disclaimer svg, .dg-disclaimer svg { margin-top: .05rem; color: #80623a; }

/* Digital ecosystem */
.dg-demo { padding: clamp(1rem, 4vw, 2.5rem); background: var(--cindy-cream); }
.dg-ecosystem { position: relative; margin-top: clamp(1.3rem, 3vw, 2rem); padding: clamp(.85rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: 1.3rem; background: radial-gradient(circle at 50% 50%, rgba(194,164,119,.15), transparent 34%), var(--surface); overflow: hidden; }
.dg-eco-caption { position: relative; z-index: 2; width: max-content; max-width: 100%; margin: 0 auto .25rem; padding: .25rem .55rem; border-radius: 999px; background: #e7eee9; color: #31564f; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dg-orbit { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: .65rem; min-height: 23rem; align-items: center; }
.dg-company { position: relative; z-index: 2; grid-area: 2 / 2 / 3 / 4; display: grid; place-items: center; justify-self: center; width: min(100%, 10.8rem); min-height: 7.3rem; padding: .7rem; border: 1px solid var(--cindy-gold); border-radius: 50%; background: var(--cindy-green); color: var(--cindy-cream); text-align: center; box-shadow: 0 10px 26px rgba(6,46,41,.2); }
.dg-company span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(249,248,243,.14); }
.dg-company strong { margin-top: .2rem; font-size: .95rem; letter-spacing: .09em; }
.dg-company small { color: #d8dfd7; font-size: .61rem; }
.dg-links { position: absolute; inset: 11% 7%; z-index: 0; width: 86%; height: 78%; overflow: visible; color: rgba(194,164,119,.85); pointer-events: none; }
.dg-links path { stroke-dasharray: 3.5 3.5; stroke-width: .42; vector-effect: non-scaling-stroke; }
.dg-channel { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45rem minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: .38rem; min-height: 4.65rem; padding: .55rem; border: 1px solid rgba(6,46,41,.13); border-radius: .85rem; background: rgba(255,255,255,.91); color: var(--cindy-green); text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dg-channel:hover { transform: translateY(-2px); border-color: var(--cindy-gold); box-shadow: 0 8px 18px rgba(6,46,41,.09); }
.dg-channel.is-active { border-color: var(--cindy-gold); background: #fffdf5; box-shadow: 0 0 0 2px rgba(194,164,119,.18); }
.dg-channel-icon { grid-row: span 2; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: .42rem; background: #e7eee9; color: var(--cindy-green); }
.dg-channel > span:not(.dg-channel-icon) { overflow-wrap: anywhere; font-size: .77rem; font-weight: 800; line-height: 1.05; }
.dg-channel small { margin-top: .18rem; color: #6b807b; font-size: .58rem; line-height: 1.05; }
.dg-channel-search { grid-area: 1 / 1; }.dg-channel-maps { grid-area: 1 / 2; }.dg-channel-site { grid-area: 1 / 3; }.dg-channel-whatsapp { grid-area: 1 / 4; }
.dg-channel-social { grid-area: 3 / 1; }.dg-channel-crm { grid-area: 3 / 2; }.dg-channel-landing { grid-area: 3 / 3; }.dg-channel-other { grid-area: 3 / 4; }
.dg-detail { margin-top: 1rem; padding: clamp(1rem, 3.3vw, 1.6rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); box-shadow: 0 12px 32px rgba(6,46,41,.05); }
.dg-panel-head { display: flex; gap: .8rem; align-items: flex-start; max-width: 750px; }
.dg-panel-symbol { display: grid; flex: 0 0 auto; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .75rem; background: #e7eee9; color: var(--cindy-green); font-size: 1.25rem; font-weight: 900; }
.dg-symbol-search { color: #317745; background: #edf5ed; }.dg-symbol-map { color: #b34b3c; background: #fff0e9; }.dg-symbol-site { color: #2c68b1; background: #eaf2ff; }.dg-symbol-whatsapp { color: #267d50; background: #e7f5ec; }.dg-symbol-social { color: #9b4c7c; background: #fbeefa; }.dg-symbol-crm { color: #6062a2; background: #ededfc; }.dg-symbol-landing { color: #9b7040; background: #fff5df; }.dg-symbol-other { color: #285b7f; background: #eaf5fb; }
.dg-panel-head .dg-kicker { margin: 0 0 .2rem; font-size: .64rem; }.dg-panel-head h3 { margin: 0; font-size: clamp(1.2rem, 2.7vw, 1.65rem); line-height: 1.1; letter-spacing: -.025em; }.dg-panel-head p:last-child { margin: .42rem 0 0; color: var(--muted); font-size: .88rem; }
.dg-search-preview, .dg-map-preview, .dg-browser, .dg-chat, .dg-social-grid, .dg-pipeline, .dg-landing-preview, .dg-other-grid { margin-top: 1.15rem; }
.dg-search-preview { max-width: 720px; padding: .85rem; border: 1px solid #d9e0dc; border-radius: .9rem; background: #fff; }
.dg-search-input { display: flex; align-items: center; gap: .5rem; width: min(100%, 430px); padding: .58rem .75rem; border: 1px solid #cdd7d2; border-radius: 999px; color: #677974; font-size: .78rem; }
.dg-search-preview article { padding: .85rem .3rem .15rem; }.dg-result-name { margin: 0; color: #17603d; font-size: 1rem; font-weight: 800; }.dg-result-category, .dg-search-preview article > p:not(.dg-result-name) { margin: .25rem 0; color: #58706a; font-size: .78rem; }
.dg-fake-rating { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .55rem; color: #80683f; font-size: .77rem; }.dg-fake-rating strong { color: #5d6f6a; font-size: .7rem; font-weight: 650; }
.dg-photo-strip { display: flex; gap: .45rem; margin-top: .7rem; }.dg-photo-strip span { display: grid; place-items: end start; flex: 1; min-height: 3.5rem; padding: .35rem; border-radius: .45rem; background: linear-gradient(135deg, #d5e1d6, #e9dac1 55%, #b8d1cb); color: #294940; font-size: .58rem; font-weight: 800; }
.dg-map-preview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(195px, .8fr); max-width: 820px; overflow: hidden; border: 1px solid #d9e0dc; border-radius: .9rem; background: #fff; }
.dg-map-grid { position: relative; min-height: 230px; overflow: hidden; background: #e7efe8; }.dg-map-grid::before, .dg-map-grid::after { content: ""; position: absolute; background: rgba(255,255,255,.92); transform: rotate(-26deg); }.dg-map-grid::before { top: 38%; left: -15%; width: 135%; height: 17%; }.dg-map-grid::after { top: 0; left: 42%; width: 14%; height: 115%; transform: rotate(23deg); }.dg-map-road { position: absolute; z-index: 1; background: rgba(255,255,255,.92); transform: rotate(52deg); }.dg-map-road.r1 { top: 20%; left: -10%; width: 70%; height: 8%; }.dg-map-road.r2 { top: 68%; left: 30%; width: 85%; height: 7%; }.dg-map-road.r3 { top: 39%; left: 13%; width: 60%; height: 6%; }.dg-map-park { position: absolute; right: 8%; bottom: 9%; width: 28%; height: 26%; border-radius: 44% 55% 38% 50%; background: #b8d7a5; }.dg-map-pin { position: absolute; z-index: 3; top: 42%; left: 47%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50% 50% 50% 0; background: #c84a3d; color: #fff; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(74,42,35,.25); }.dg-map-pin svg { transform: rotate(45deg); }
.dg-map-panel { padding: .9rem; }.dg-map-panel > p { margin: 0 0 .5rem; color: #59706a; font-size: .78rem; }.dg-map-panel dl { display: grid; gap: .45rem; margin: .65rem 0; }.dg-map-panel dl div { padding-bottom: .35rem; border-bottom: 1px solid #e3e7e4; }.dg-map-panel dt { color: #7b694b; font-size: .63rem; font-weight: 800; text-transform: uppercase; }.dg-map-panel dd { margin: .08rem 0 0; color: #365850; font-size: .73rem; }
.dg-browser { max-width: 800px; overflow: hidden; border: 1px solid #cfdad4; border-radius: .9rem; background: #fff; }.dg-browser-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .75rem; background: #e9efeb; }.dg-browser-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: #c2a477; }.dg-browser-bar i:nth-child(2) { background: #9ebdaf; }.dg-browser-bar i:nth-child(3) { background: #93a7a2; }.dg-browser-bar span { margin-left: .35rem; padding: .18rem .45rem; border-radius: 999px; background: #fff; color: #63756f; font-size: .64rem; }.dg-site-hero { min-height: 185px; padding: clamp(1rem, 4vw, 2rem); background: linear-gradient(115deg, #062e29, #155448 70%, #697d60); color: #fffdf5; }.dg-site-hero small { color: #d9c38d; font-weight: 800; letter-spacing: .11em; }.dg-site-hero h4 { max-width: 370px; margin: .55rem 0 .8rem; font-size: clamp(1.15rem, 3vw, 1.75rem); line-height: 1.09; letter-spacing: -.025em; }.dg-site-hero button, .dg-landing-preview form button { border: 0; border-radius: .4rem; padding: .52rem .7rem; background: var(--cindy-gold); color: var(--cindy-green); font-size: .74rem; font-weight: 850; }.dg-site-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e1e8e3; }.dg-site-services span { padding: .78rem .55rem; background: #fff; color: #365a52; font-size: .73rem; font-weight: 750; text-align: center; }
.dg-chat { max-width: 580px; overflow: hidden; border: 1px solid #cddcd2; border-radius: .9rem; background: #e8eee9; }.dg-chat-header { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; background: #115b46; color: #fff; }.dg-avatar { width: 1.85rem; height: 1.85rem; border-radius: 50%; background: linear-gradient(135deg, #e0c783, #87b49d); }.dg-chat-header div { display: grid; }.dg-chat-header strong { font-size: .78rem; }.dg-chat-header small { color: #d7e7dd; font-size: .62rem; }.dg-messages { display: grid; gap: .55rem; min-height: 172px; padding: .85rem; background-image: radial-gradient(rgba(6,46,41,.06) 1px, transparent 1px); background-size: 12px 12px; }.dg-bubble { width: max-content; max-width: 82%; margin: 0; padding: .55rem .65rem; border-radius: .6rem; color: #2e4d46; font-size: .76rem; line-height: 1.35; }.dg-in { background: #fff; border-top-left-radius: .1rem; }.dg-out { justify-self: end; background: #d7eee0; border-top-right-radius: .1rem; }.dg-chat-input { display: flex; align-items: center; justify-content: space-between; margin: .55rem; padding: .5rem .65rem; border-radius: .45rem; background: #fff; color: #7b8b85; font-size: .72rem; }.dg-chat-input span { color: #247756; }
.dg-social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }.dg-social-card { min-height: 150px; padding: .75rem; border: 1px solid #d8e1dc; border-radius: .75rem; background: #fff; }.dg-social-card > div { display: flex; align-items: center; gap: .42rem; }.dg-social-mark { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: .45rem; background: #dcebe3; color: #164d40; font-size: .75rem; font-weight: 900; }.dg-social-1 .dg-social-mark { background: #e5edff; color: #4162a2; }.dg-social-2 .dg-social-mark { background: #e9edf5; color: #385574; }.dg-social-3 .dg-social-mark { background: #fff0eb; color: #ad4c40; }.dg-social-card strong { font-size: .77rem; }.dg-social-card p { min-height: 2.3rem; margin: .65rem 0 .45rem; color: #557169; font-size: .69rem; line-height: 1.25; }.dg-social-line { display: block; width: 72%; height: .28rem; border-radius: 999px; background: #e5ebe7; }.dg-social-card small { display: block; margin-top: .45rem; color: #8a744f; font-size: .6rem; font-weight: 700; }
.dg-pipeline { display: grid; grid-template-columns: repeat(4, minmax(145px, 1fr)); gap: .55rem; overflow-x: auto; padding-bottom: .3rem; }.dg-pipeline-col { min-height: 145px; padding: .6rem; border-radius: .72rem; background: #eef2ee; }.dg-pipeline-col header { display: flex; align-items: center; gap: .35rem; color: #345d54; }.dg-pipeline-col header span { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: .34rem; background: #cfddd4; font-size: .57rem; font-weight: 850; }.dg-pipeline-col h4 { margin: 0; font-size: .74rem; }.dg-pipeline-col article { display: grid; gap: .35rem; margin-top: .7rem; padding: .65rem; border: 1px solid rgba(6,46,41,.08); border-radius: .5rem; background: #fff; box-shadow: 0 3px 8px rgba(6,46,41,.04); }.dg-pipeline-col article b { font-size: .69rem; line-height: 1.25; }.dg-pipeline-col article small { color: #6b817a; font-size: .59rem; }
.dg-landing-preview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(195px, .9fr); max-width: 800px; overflow: hidden; border: 1px solid #d5dfd9; border-radius: .9rem; background: #fff; }.dg-landing-preview > section { padding: clamp(1rem, 4vw, 1.65rem); background: linear-gradient(145deg, #e7eee9, #fffdf8); }.dg-tag { padding: .25rem .42rem; border-radius: 999px; background: #c2a477; color: #062e29; font-size: .59rem; font-weight: 850; letter-spacing: .08em; }.dg-landing-preview h4 { margin: .7rem 0 .5rem; font-size: clamp(1rem, 2.5vw, 1.38rem); line-height: 1.14; }.dg-landing-preview p { margin: 0; color: #567068; font-size: .76rem; }.dg-landing-preview ul { margin: .72rem 0 0; padding: 0; list-style: none; }.dg-landing-preview li { margin-top: .35rem; color: #31554d; font-size: .72rem; font-weight: 700; }.dg-landing-preview li::before { content: "✓"; margin-right: .35rem; color: #856c43; }.dg-landing-preview form { display: grid; align-content: center; gap: .6rem; padding: 1rem; }.dg-landing-preview label { display: grid; gap: .25rem; color: #4b685f; font-size: .68rem; font-weight: 750; }.dg-landing-preview input { width: 100%; min-height: 2.25rem; border: 1px solid #ccd9d2; border-radius: .4rem; padding: .45rem .5rem; color: var(--cindy-green); background: #fbfcfa; font-size: .72rem; }.dg-landing-preview form button { width: 100%; }.dg-landing-preview form small { color: #687c75; font-size: .62rem; line-height: 1.3; }
.dg-other-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }.dg-other-grid article { padding: .8rem; border: 1px solid #d7e0db; border-radius: .75rem; background: #fff; }.dg-other-grid article > svg { color: #856c43; }.dg-other-grid h4 { margin: .5rem 0 .3rem; font-size: .82rem; }.dg-other-grid p { margin: 0; color: #5b736c; font-size: .7rem; line-height: 1.35; }

@media (max-width: 760px) {
  .af-workspace { grid-template-columns: 1fr; }
  .af-apps { grid-template-columns: 1fr; }
  .dg-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); min-height: 32rem; gap: .55rem; padding-top: .4rem; }
  .dg-company { grid-area: 3 / 1 / 4 / 3; width: 9.4rem; min-height: 6.35rem; }
  .dg-links { display: none; }
  .dg-channel-search { grid-area: 1 / 1; }.dg-channel-maps { grid-area: 1 / 2; }.dg-channel-site { grid-area: 2 / 1; }.dg-channel-whatsapp { grid-area: 2 / 2; }.dg-channel-social { grid-area: 4 / 1; }.dg-channel-crm { grid-area: 4 / 2; }.dg-channel-landing { grid-area: 5 / 1; }.dg-channel-other { grid-area: 5 / 2; }
  .dg-social-grid, .dg-other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-map-preview, .dg-landing-preview { grid-template-columns: 1fr; }
  .dg-map-grid { min-height: 190px; }
}

@media (max-width: 420px) {
  .af-demo, .dg-demo { padding: 1rem .75rem; }
  .af-flow { padding: .7rem; }.af-node { grid-template-columns: 1.85rem minmax(0, 1fr) 1.2rem; gap: .45rem; padding: .58rem; }.af-node-number { width: 1.85rem; height: 1.85rem; }.af-node-label { font-size: .78rem; }
  .af-detail, .dg-detail { padding: .9rem; }
  .dg-ecosystem { padding: .7rem; }.dg-channel { min-height: 4.85rem; padding: .45rem; }.dg-channel > span:not(.dg-channel-icon) { font-size: .7rem; }.dg-channel small { font-size: .54rem; }
  .dg-social-grid, .dg-other-grid { gap: .45rem; }.dg-social-card, .dg-other-grid article { padding: .6rem; }.dg-site-services { grid-template-columns: 1fr; }.dg-site-services span { padding: .55rem; }.dg-fake-rating { align-items: flex-start; flex-direction: column; gap: .18rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .af-node.is-active .af-node-number { animation: af-pulse 1.9s ease-in-out infinite; }
  .dg-company { animation: dg-float 5s ease-in-out infinite; }
  .dg-channel.is-active .dg-channel-icon { animation: dg-pulse 1.9s ease-in-out infinite; }
  @keyframes af-pulse { 50% { transform: scale(1.08); } }
  @keyframes dg-float { 50% { transform: translateY(-3px); } }
  @keyframes dg-pulse { 50% { transform: scale(1.08); } }
}

@media (prefers-reduced-motion: reduce) {
  .af-demo *, .dg-demo * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Visual local mockups for the digital ecosystem. */
.dg-channel {
  grid-template-columns: 2.45rem minmax(0, 1fr);
  column-gap: .5rem;
  min-height: 5rem;
  padding: .46rem;
}
.dg-channel > .dg-channel-thumb {
  position: relative;
  grid-row: span 2;
  display: block;
  width: 2.45rem;
  height: 3.8rem;
  overflow: hidden;
  border-radius: .5rem;
  background: #dce6df;
}
.dg-channel-thumb-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-channel-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,46,41,.34)); }
.dg-channel-thumb-icon { position: absolute; z-index: 1; right: .18rem; bottom: .18rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: .34rem; background: rgba(255,254,249,.94); color: var(--cindy-green); }
.dg-channel-thumb-icon svg { width: .72rem; height: .72rem; }
.dg-channel > .dg-channel-title { overflow-wrap: anywhere; font-size: .77rem; font-weight: 800; line-height: 1.05; }
.dg-channel small { grid-column: 2; margin-top: .05rem; }
.dg-channel.is-active .dg-channel-thumb { box-shadow: inset 0 0 0 1px var(--cindy-gold); }

.dg-search-result { display: grid; grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr); gap: .85rem; align-items: start; padding: .9rem .3rem .2rem; }
.dg-search-preview article { padding: .9rem .3rem .2rem; }
.dg-search-result-image { position: relative; min-height: 8.1rem; overflow: hidden; border-radius: .62rem; background: #dce6df; }
.dg-search-result-image img { display: block; width: 100%; height: 8.1rem; object-fit: cover; }
.dg-search-result-image span { position: absolute; right: .35rem; bottom: .35rem; padding: .17rem .35rem; border-radius: 999px; background: rgba(6,46,41,.82); color: #fffef9; font-size: .56rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dg-result-name small { color: #6e837c; font-size: .66rem; font-weight: 650; }
.dg-search-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .38rem; margin-top: .65rem; }
.dg-search-gallery img { width: 100%; height: 3.5rem; border-radius: .42rem; object-fit: cover; display: block; }
.dg-fake-rating { margin-top: .48rem; }

.dg-map-preview { align-items: stretch; }
.dg-map-grid { min-height: 300px; }
.dg-map-label { position: absolute; z-index: 2; left: .75rem; top: .75rem; padding: .25rem .45rem; border: 1px solid rgba(6,46,41,.1); border-radius: .35rem; background: rgba(255,255,255,.92); color: #3d6158; font-size: .65rem; font-weight: 800; }
.dg-map-panel { padding: 1rem; }
.dg-map-panel .dg-result-name { line-height: 1.15; }
.dg-map-panel .dg-result-name small { color: #6e837c; font-size: .64rem; font-weight: 650; }
.dg-map-panel > p { line-height: 1.35; }
.dg-map-panel dd { overflow-wrap: anywhere; }
.dg-no-link { color: #315e55; font-weight: 800; text-decoration: none; }
.dg-map-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .75rem; }
.dg-map-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: .48rem; background: #dbe5df; }
.dg-map-gallery img { display: block; width: 100%; height: 5.25rem; object-fit: cover; }
.dg-map-gallery figcaption { position: absolute; right: .25rem; bottom: .25rem; left: .25rem; padding: .2rem .28rem; border-radius: .25rem; background: rgba(6,46,41,.77); color: #fffef9; font-size: .54rem; font-weight: 750; line-height: 1.12; }

.dg-browser { border-color: #c7d4cd; box-shadow: 0 8px 20px rgba(6,46,41,.06); }
.dg-mini-site { background: #fff; }
.dg-site-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .75rem; border-bottom: 1px solid #e1e8e3; }
.dg-site-brand { display: inline-flex; align-items: center; gap: .38rem; padding: 0; border: 0; background: transparent; color: var(--cindy-green); font-size: .69rem; font-weight: 850; white-space: nowrap; }
.dg-site-brand span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--cindy-green); color: var(--cindy-cream); font-size: .48rem; letter-spacing: .03em; }
.dg-site-nav nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; }
.dg-site-nav nav button { border: 0; border-radius: .3rem; padding: .32rem .42rem; background: transparent; color: #47685f; font-size: .64rem; font-weight: 750; }
.dg-site-nav nav button:hover, .dg-site-nav nav button:focus-visible { background: #edf2ee; color: var(--cindy-green); }
.dg-site-menu { display: none; color: #416158; }
.dg-site-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(165px, .85fr); min-height: 214px; padding: 0; background: #0c443c; }
.dg-site-hero-copy { padding: clamp(1rem, 3.5vw, 1.65rem); }
.dg-site-hero h4 { max-width: 370px; margin: .46rem 0 .55rem; }
.dg-site-hero p { max-width: 380px; margin: 0 0 .8rem; color: #dceae3; font-size: .73rem; line-height: 1.45; }
.dg-site-hero-image { position: relative; min-height: 100%; overflow: hidden; }
.dg-site-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,46,41,.25), transparent 55%); }
.dg-site-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dg-site-cta { display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: .4rem; padding: .55rem .65rem; background: var(--cindy-gold); color: var(--cindy-green); font-size: .7rem; font-weight: 850; }
.dg-site-cta svg { width: .9rem; height: .9rem; }
.dg-site-services { grid-template-columns: repeat(3, minmax(0, 1fr)); background: #e1e8e3; }
.dg-site-services button { display: flex; align-items: center; justify-content: center; gap: .38rem; min-height: 3rem; border: 0; background: #fff; color: #365a52; font-size: .71rem; font-weight: 800; text-align: center; }
.dg-site-services button:hover { background: #f7f5ed; }
.dg-site-services button span { display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #e5ede8; color: #5d754f; font-size: .56rem; }
.dg-site-detail-slot { border-top: 1px solid #e1e8e3; }
.dg-site-detail { display: grid; grid-template-columns: minmax(130px, .6fr) minmax(0, 1fr) minmax(180px, .76fr); gap: .9rem; align-items: start; padding: 1rem; background: #fcfcf8; }
.dg-site-detail-image { position: relative; min-height: 180px; overflow: hidden; border-radius: .6rem; background: #dce6df; }
.dg-site-detail-image img { display: block; width: 100%; height: 180px; object-fit: cover; }
.dg-site-detail-image span { position: absolute; right: .32rem; bottom: .32rem; left: .32rem; padding: .28rem .36rem; border-radius: .28rem; background: rgba(6,46,41,.78); color: #fffef9; font-size: .53rem; font-weight: 800; letter-spacing: .05em; text-align: center; }
.dg-site-detail-copy h5 { margin: .05rem 0 .42rem; color: var(--cindy-green); font-size: .94rem; line-height: 1.16; }
.dg-site-detail-copy > p { margin: 0; color: #557069; font-size: .72rem; line-height: 1.42; }
.dg-site-detail-copy ul { display: grid; gap: .34rem; margin: .65rem 0; padding: 0; list-style: none; }
.dg-site-detail-copy li { display: flex; align-items: flex-start; gap: .32rem; color: #34594f; font-size: .67rem; font-weight: 700; line-height: 1.3; }
.dg-site-detail-copy li svg { width: .78rem; height: .78rem; margin-top: .04rem; color: #927b4f; }
.dg-site-application { padding-top: .58rem; border-top: 1px solid #e0e8e2; }
.dg-site-request { padding: .7rem; border: 1px solid #dce5df; border-radius: .58rem; background: #fff; }
.dg-site-quote-form { display: grid; gap: .45rem; }
.dg-site-quote-form label { display: grid; gap: .18rem; color: #4d6a60; font-size: .61rem; font-weight: 800; }
.dg-site-quote-form input { width: 100%; min-height: 1.9rem; border: 1px solid #cddad3; border-radius: .34rem; padding: .35rem .42rem; color: var(--cindy-green); background: #fbfcfa; font-size: .66rem; }
.dg-site-quote-form button { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; width: 100%; min-height: 2rem; border: 0; border-radius: .36rem; padding: .4rem; background: var(--cindy-green); color: var(--cindy-cream); font-size: .64rem; font-weight: 800; }
.dg-site-quote-form button:hover { background: #0c4b43; }
.dg-site-quote-form button svg { width: .78rem; height: .78rem; }
.dg-site-quote-form small { color: #6a7e77; font-size: .55rem; line-height: 1.28; }


.dg-social-grid { align-items: stretch; }
.dg-social-card {
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  min-width: 0;
  min-height: 245px;
  padding: .62rem;
  border: 1px solid #d8e1dc;
  border-radius: .75rem;
  background: #fff;
  color: var(--cindy-green);
  font: inherit;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dg-social-card:hover { transform: translateY(-2px); border-color: var(--cindy-gold); box-shadow: 0 8px 18px rgba(6,46,41,.09); }
.dg-social-card-content { display: block; min-width: 0; }
.dg-social-profile { display: flex; align-items: center; gap: .42rem; min-width: 0; }
.dg-social-profile > span { display: grid; min-width: 0; }
.dg-social-profile strong { overflow: hidden; color: #294f46; font-size: .65rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.dg-social-profile small { overflow: hidden; margin-top: .12rem; color: #70827b; font-size: .52rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.dg-social-avatar { width: 1.72rem; height: 1.72rem; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.dg-social-caption { display: block; margin-top: .52rem; color: #60756e; font-size: .62rem; font-weight: 700; line-height: 1.28; }
.dg-social-instagram .dg-social-profile b { margin-left: auto; padding: .16rem .27rem; border-radius: 999px; background: #f8e9ef; color: #a14171; font-size: .46rem; letter-spacing: .02em; }
.dg-instagram-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .18rem; margin-top: .62rem; }
.dg-instagram-feed img { display: block; width: 100%; height: 4.7rem; border-radius: .24rem; object-fit: cover; }
.dg-instagram-feed img:nth-child(2) { object-position: 70% center; filter: saturate(.82); }
.dg-instagram-feed img:nth-child(3) { object-position: left center; filter: brightness(1.04); }
.dg-facebook-cover { position: relative; display: block; height: 4rem; overflow: hidden; border-radius: .4rem; background: #e4ecf8; }
.dg-facebook-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.dg-facebook-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,92,151,.48), transparent); }
.dg-facebook-cover b { position: absolute; z-index: 1; left: .42rem; bottom: .32rem; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #4267a9; color: #fff; font-family: Arial, sans-serif; font-size: .92rem; }
.dg-social-facebook .dg-social-profile { margin: -.45rem .4rem 0; position: relative; }
.dg-social-facebook .dg-social-avatar { border: 2px solid #fff; }
.dg-facebook-post { display: grid; gap: .34rem; margin: .6rem .18rem 0; padding: .55rem; border-radius: .35rem; background: #f3f6fa; color: #375273; }
.dg-facebook-post b { font-size: .61rem; line-height: 1.25; }
.dg-facebook-post small { color: #71829a; font-size: .53rem; }
.dg-linkedin-head { display: flex; align-items: center; gap: .3rem; padding-bottom: .4rem; border-bottom: 1px solid #dde4eb; color: #526d8c; }
.dg-linkedin-head b { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: .18rem; background: #2867b2; color: #fff; font-size: .64rem; }
.dg-linkedin-head small { font-size: .55rem; font-weight: 800; }
.dg-social-linkedin .dg-social-profile { margin-top: .52rem; }
.dg-linkedin-post { display: grid; gap: .4rem; margin-top: .55rem; padding: .58rem; border: 1px solid #dce4eb; border-radius: .4rem; }
.dg-linkedin-post > strong { color: #304f71; font-size: .61rem; line-height: 1.28; }
.dg-linkedin-post img { display: block; width: 100%; height: 4.25rem; border-radius: .28rem; object-fit: cover; }
.dg-linkedin-post small { color: #70839a; font-size: .52rem; }
.dg-social-tiktok { background: #111d1b; border-color: #203a35; color: #fff; }
.dg-social-tiktok:hover { border-color: #ec7182; box-shadow: 0 8px 18px rgba(6,46,41,.16); }
.dg-tiktok-phone { position: relative; display: block; height: 172px; overflow: hidden; border: 1px solid #536863; border-radius: .7rem; background: #1e3934; }
.dg-tiktok-phone > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.85); }
.dg-tiktok-phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 55%); }
.dg-tiktok-phone > i { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; transform: translate(-50%, -50%); }
.dg-tiktok-phone > i svg { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.dg-tiktok-meta { position: absolute; z-index: 1; bottom: .5rem; left: .5rem; display: grid; gap: .12rem; max-width: 60%; color: #fff; }
.dg-tiktok-meta b { font-size: .6rem; }
.dg-tiktok-meta small { font-size: .5rem; }
.dg-tiktok-actions { position: absolute; z-index: 1; right: .42rem; bottom: .45rem; display: grid; justify-items: center; gap: .07rem; color: #fff; font-size: .85rem; }
.dg-tiktok-actions small { margin-bottom: .2rem; font-size: .45rem; }
.dg-social-tiktok .dg-social-caption { color: #d4e0da; }

.dg-landing-image { margin: .7rem 0 .5rem; overflow: hidden; border-radius: .48rem; }
.dg-landing-image img { display: block; width: 100%; height: 5.8rem; object-fit: cover; }
.dg-landing-preview form button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.1rem; }

@media (max-width: 900px) {
  .dg-site-detail { grid-template-columns: minmax(130px, .55fr) minmax(0, 1fr); }
  .dg-site-request { grid-column: 1 / -1; }
  .dg-site-quote-form.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
  .dg-site-quote-form.is-compact .dg-site-request-field { display: none; }
  .dg-site-quote-form.is-compact button { width: auto; padding-inline: .62rem; }
  .dg-site-quote-form.is-compact small { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .dg-channel { min-height: 5.35rem; }
  .dg-search-result { grid-template-columns: 110px minmax(0, 1fr); }
  .dg-map-grid { min-height: 220px; }
  .dg-site-hero { grid-template-columns: 1fr; }
  .dg-site-hero-image { min-height: 160px; }
  .dg-site-detail { grid-template-columns: 135px minmax(0, 1fr); }
  .dg-site-request { grid-column: 1 / -1; }
  .dg-site-quote-form.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-site-quote-form.is-compact button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 540px) {
  .dg-channel > .dg-channel-thumb { height: 3.55rem; }
  .dg-search-result { grid-template-columns: 1fr; }
  .dg-search-result-image, .dg-search-result-image img { min-height: 7.2rem; height: 7.2rem; }
  .dg-map-gallery img { height: 6.2rem; }
  .dg-site-nav { flex-wrap: wrap; }
  .dg-site-nav nav { display: flex; order: 3; flex-basis: 100%; justify-content: flex-start; }
  .dg-site-menu { display: none; }
  .dg-site-detail { grid-template-columns: 1fr; }
  .dg-site-detail-image, .dg-site-detail-image img { min-height: 160px; height: 160px; }
  .dg-site-quote-form.is-compact { grid-template-columns: 1fr; }
  .dg-site-quote-form.is-compact button { grid-column: auto; }
  .dg-social-card { min-height: 230px; }
}

@media (max-width: 420px) {
  .dg-channel { grid-template-columns: 2.15rem minmax(0, 1fr); column-gap: .38rem; }
  .dg-channel > .dg-channel-thumb { width: 2.15rem; height: 3.5rem; }
  .dg-channel > .dg-channel-title { font-size: .67rem; }
  .dg-channel small { font-size: .5rem; }
  .dg-map-gallery { grid-template-columns: 1fr; }
  .dg-map-gallery img { height: 7rem; }
  .dg-site-services { grid-template-columns: 1fr; }
  .dg-site-services button { min-height: 2.6rem; }
}


/* Clean WhatsApp preview: the authorized portrait appears only in the header avatar. */
.dg-chat {
  border-color: #c9d8d1;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 46, 41, .06);
}
.dg-chat-header {
  min-height: 3.65rem;
  padding: .72rem .82rem;
  background: #115b46;
}
.dg-avatar {
  display: block;
  overflow: hidden;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 2.1rem;
  border: 2px solid rgba(255, 255, 255, .78);
  background: #dbe9e1;
}
.dg-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dg-chat-header strong { font-size: .82rem; }
.dg-chat-header small { color: #d7e7dd; }
.dg-messages {
  gap: .5rem;
  min-height: 183px;
  padding: .8rem;
  background: #f7faf8;
  background-image: none;
}
.dg-chat-notice {
  width: max-content;
  max-width: 100%;
  margin: 0 auto .12rem;
  padding: .25rem .48rem;
  border: 1px solid #d7e5de;
  border-radius: 999px;
  background: #fff;
  color: #58736a;
  font-size: .59rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}
.dg-bubble { box-shadow: 0 1px 2px rgba(6, 46, 41, .04); }
.dg-in { border: 1px solid #e0e8e3; }
.dg-out { border: 1px solid #cde4d5; }

/* Fictional Atelier Horizonte social-platform mockups. */
.dg-social-card {
  min-height: 365px;
  padding: .7rem;
}
.dg-social-platform-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin-bottom: .52rem;
}
.dg-social-platform-mark {
  display: inline-flex;
  align-items: center;
  min-height: 1.3rem;
  padding: .16rem .38rem;
  border-radius: 999px;
  font-size: .52rem;
  letter-spacing: .015em;
}
.dg-social-platform-bar > small,
.dg-linkedin-head > em {
  margin: 0;
  color: #7b7160;
  font-size: .45rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .055em;
  line-height: 1.15;
}
.dg-social-avatar-frame {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 2.3rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e5ebe7;
}
.dg-social-avatar-frame .dg-social-avatar {
  display: block;
  width: 100%;
  height: 100%;
}
.dg-social-profile strong { font-size: .69rem; }
.dg-social-profile small { font-size: .54rem; }
.dg-social-bio {
  min-height: 2.7em;
  margin: .5rem 0;
  color: #506b62;
  font-size: .6rem;
  line-height: 1.38;
}
.dg-instagram-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .18rem;
  margin-top: .58rem;
  padding: .42rem 0;
  border-block: 1px solid #f0e1e7;
}
.dg-instagram-stats > span { display: grid; gap: .04rem; }
.dg-instagram-stats b { color: #643a52; font-size: .62rem; }
.dg-instagram-stats small { color: #8d7080; font-size: .47rem; line-height: 1.1; }
.dg-social-instagram { border-color: #ead7df; }
.dg-social-instagram .dg-social-platform-mark { background: #f9e7ee; color: #a13b70; }
.dg-social-instagram .dg-instagram-feed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .23rem;
  margin-top: .52rem;
}
.dg-social-instagram .dg-instagram-feed img { height: 3.65rem; }

.dg-social-facebook { border-color: #d7e2f1; }
.dg-social-facebook .dg-facebook-cover { height: 4.65rem; }
.dg-social-facebook .dg-facebook-cover small {
  position: absolute;
  z-index: 1;
  right: .38rem;
  top: .38rem;
  margin: 0;
  padding: .14rem .26rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #365779;
  font-size: .42rem;
  font-weight: 850;
  letter-spacing: .035em;
}
.dg-social-facebook .dg-social-profile { margin: -.62rem .42rem 0; }
.dg-social-facebook .dg-social-avatar-frame { border: 2px solid #fff; box-shadow: 0 2px 5px rgba(43, 79, 121, .12); }
.dg-facebook-page-info,
.dg-linkedin-page-info {
  display: block;
  margin: .35rem 0 .52rem;
  color: #657c96;
  font-size: .53rem;
  line-height: 1.25;
}
.dg-facebook-page-info b,
.dg-linkedin-page-info b { color: #365b82; }
.dg-facebook-post {
  gap: .36rem;
  margin: 0;
  padding: .5rem;
  background: #f5f8fc;
}
.dg-facebook-post > span { display: grid; gap: .05rem; }
.dg-facebook-post > span b { font-size: .58rem; }
.dg-facebook-post > span small,
.dg-facebook-post > small { margin: 0; color: #72839a; font-size: .48rem; }
.dg-facebook-post img { display: block; width: 100%; height: 3.9rem; border-radius: .28rem; object-fit: cover; }
.dg-facebook-post p { min-height: 0; margin: 0; color: #486581; font-size: .53rem; line-height: 1.32; }

.dg-social-linkedin { border-color: #d9e3ec; }
.dg-social-linkedin .dg-linkedin-head { justify-content: flex-start; }
.dg-social-linkedin .dg-linkedin-head > em { margin-left: auto; color: #55708c; }
.dg-social-linkedin .dg-social-profile { margin-top: .55rem; }
.dg-social-linkedin .dg-social-bio { margin-bottom: .35rem; }
.dg-linkedin-post { gap: .36rem; margin-top: 0; padding: .55rem; }
.dg-linkedin-post > small { margin: 0; color: #5d7896; font-size: .46rem; font-weight: 850; letter-spacing: .045em; }
.dg-linkedin-post > strong { font-size: .6rem; }
.dg-linkedin-post img { height: 3.75rem; }
.dg-linkedin-post p { min-height: 0; margin: 0; color: #55708a; font-size: .53rem; line-height: 1.32; }
.dg-linkedin-post > small:last-child { color: #70839a; font-size: .48rem; font-weight: 650; letter-spacing: normal; }

.dg-real-accounts {
  display: grid;
  grid-template-columns: minmax(185px, .62fr) minmax(0, 1.38fr);
  gap: 1rem;
  margin-top: .9rem;
  padding: .9rem;
  border: 1px solid #d6e1dc;
  border-radius: .72rem;
  background: #f7faf7;
}
.dg-real-accounts .dg-kicker { margin-bottom: .23rem; font-size: .57rem; }
.dg-real-accounts h4 { margin: 0; color: var(--cindy-green); font-size: .86rem; line-height: 1.2; }
.dg-real-accounts > div > p:last-child { margin: .28rem 0 0; color: #60766e; font-size: .64rem; line-height: 1.35; }
.dg-real-accounts ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dg-real-accounts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .38rem;
  min-height: 100%;
  padding: .52rem .55rem;
  border: 1px solid #d6e1dc;
  border-radius: .48rem;
  background: #fff;
  color: #234b42;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dg-real-accounts a:hover { border-color: var(--cindy-gold); box-shadow: 0 4px 10px rgba(6, 46, 41, .07); transform: translateY(-1px); }
.dg-real-accounts a > span:first-child { display: grid; min-width: 0; gap: .08rem; }
.dg-real-accounts b { font-size: .61rem; }
.dg-real-accounts small { color: #647970; font-size: .49rem; line-height: 1.25; }
.dg-real-accounts svg { width: .8rem; height: .8rem; flex: 0 0 auto; color: #80623a; }

@media (max-width: 760px) {
  .dg-social-card { min-height: 360px; }
  .dg-real-accounts { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .dg-social-card { min-height: 350px; }
  .dg-real-accounts ul { grid-template-columns: 1fr; }
  .dg-real-accounts a { min-height: 2.65rem; }
}

@media (max-width: 420px) {
  .dg-social-card { min-height: 342px; padding: .58rem; }
  .dg-social-bio { font-size: .56rem; }
  .dg-social-instagram .dg-instagram-feed img { height: 3.25rem; }
  .dg-facebook-post img, .dg-linkedin-post img { height: 3.35rem; }
  .dg-chat-notice { font-size: .55rem; }
}

/* Profile identities must remain readable at the four-column desktop width. */
.dg-demo .dg-social-profile strong,
.dg-demo .dg-social-profile small { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
