/* Caso GaleraFort (prefijo cgf-). Se suma a caso.css; las escenas están en caso-galerafort.js. */

.cgf-eg { flex: none; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #c8d1dc; font-size: .8125rem; font-weight: 600; }
.cgf-dot { position: relative; display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.cgf-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #ef4444; opacity: .5; animation: cgf-pulse 1.6s ease-out infinite; }
@keyframes cgf-pulse { from { scale: .6; opacity: .7; } to { scale: 1.6; opacity: 0; } }

/* Resultados */
.stat strong.cgf-now { display: flex; align-items: center; gap: 16px; }
.cgf-now .cgf-dot { width: 14px; height: 14px; }
.stat.cgf-days { background: var(--navy); color: #f2f5f8; }
.cgf-days strong { color: var(--lime); }
.cgf-days .stat-l { color: #c8d1dc; }

/* El contexto: lo que busca un organizador, antes y después */
.cgf-ask { width: min(100%, 480px); padding: 18px 20px; font-size: 1rem; }
.cgf-ask-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cgf-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ui-line); font-size: .8125rem; font-weight: 600; }
.cgf-tabs span { padding: 5px 12px; border-radius: 999px; color: var(--ui-soft); transition: background-color .3s ease, color .3s ease; }
.cgf-ask:not(.is-old) .cgf-tab-new, .cgf-ask.is-old .cgf-tab-old { background: var(--ui-bg); color: var(--ui-ink); box-shadow: 0 1px 4px rgba(29, 42, 61, .14); }
.cgf-ask-h { margin-top: 14px; font-weight: 600; }
.cgf-ask-list { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.cgf-ask-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "st q" "st a"; align-items: center; column-gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--ui-line); }
.cgf-st { grid-area: st; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #178a45; color: #ffffff; transition: background-color .3s ease; }
.cgf-st svg { grid-area: 1 / 1; width: 16px; height: 16px; }
.cgf-st svg:first-child { display: none; }
.cgf-q { grid-area: q; font-size: .875rem; color: var(--ui-soft); line-height: 1.25; }
.cgf-ask-list b { grid-area: a; font-weight: 600; line-height: 1.25; }
.cgf-ask.is-old .cgf-st { background: #c2362f; }
.cgf-ask.is-old .cgf-st svg:first-child { display: block; }
.cgf-ask.is-old .cgf-st svg:last-child { display: none; }
.cgf-ask.is-old .cgf-ask-list b { color: #c2362f; }
html.dark .cgf-ask.is-old .cgf-ask-list b { color: #ff8a80; }

/* Titulares vigentes largos: más ancho y un poco menos de tamaño para que quepan en dos líneas */
@media (min-width: 1024px) { .cs-challenge.split { grid-template-columns: 6fr 5fr; } }
.cs-challenge .h-tile, .cgf-tech .h-tile { font-size: clamp(2rem, 3vw, 2.75rem); }

/* El diagnóstico: ocho problemas */
.cgf-fails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cgf-fail { gap: 0; padding: clamp(20px, 2vw, 30px); transition: translate .18s var(--ease-out), background-color .25s ease; }
.cgf-fail:hover { translate: 0 -4px; }
.cgf-fail-n { font-size: .875rem; font-weight: 600; color: var(--soft); }
.cgf-fail .ico-box { margin-top: 14px; background: var(--surface); color: #c2362f; }
.cgf-fail p { margin-top: 14px; font-size: var(--t-body); line-height: 1.35; }
.t-navy.cgf-fail .cgf-fail-n { color: #c8d1dc; }
.t-navy.cgf-fail .ico-box { background: rgba(255, 255, 255, .1); color: #ff8a80; }
.t-lime.cgf-fail .cgf-fail-n { color: var(--on-lime); }
.t-lime.cgf-fail .ico-box { background: var(--navy); color: var(--lime); }
html.dark .t-white.cgf-fail .ico-box { color: #ff8a80; }
.cgf-load { margin-top: auto; padding-top: 18px; }
.cgf-load-track { position: relative; display: block; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.cgf-load-bar { display: block; width: 100%; height: 100%; border-radius: 10px; background: #f87171; transform-origin: left center; }
.cgf-load-mark { position: absolute; z-index: 1; left: 50%; top: 0; bottom: 0; width: 2px; background: #f2f5f8; }
.cgf-load-k { display: flex; justify-content: space-between; margin-top: 6px; font-size: .8125rem; color: #c8d1dc; }
.cgf-load-k span { padding-left: calc(50% - 1.2em); }
.cgf-load-k b { color: #ff8a80; font-weight: 600; }

/* Qué construimos: sitio por disciplina */
.cgf-site { width: min(100%, 480px); padding: 16px 18px; font-size: 1rem; }
.cgf-site-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cgf-site-logo { font-weight: 700; font-style: italic; letter-spacing: -0.02em; }
.cgf-site-logo::first-letter { color: #e11d2a; }
.cgf-site-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cgf-site-tabs span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--ui-line); color: var(--ui-soft); font-size: .8125rem; font-weight: 500; transition: background-color .3s ease, color .3s ease; }
.cgf-site-tabs svg { width: 20px; height: 20px; }
.cgf-site-tabs span.is-on { background: var(--navy); color: #ffffff; }
.cgf-site-tabs span.is-on svg { color: var(--lime); }
.cgf-site-body { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--ui-line); }
.cgf-site-h { display: block; font-size: 1.25rem; letter-spacing: -0.015em; }
.cgf-site-p { display: block; margin-top: 2px; color: var(--ui-soft); font-size: .9375rem; }
.cgf-site-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .875rem; }
.cgf-site-row > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.cgf-site-row svg { width: 16px; height: 16px; color: var(--brand); }
.cgf-site-cta { padding: 6px 14px; border-radius: 999px; background: #e11d2a; color: #ffffff; font-weight: 600; }

/* Landing page: formulario de cotización */
.cgf-form { width: min(100%, 420px); padding: 18px 20px; font-size: 1rem; }
.cgf-form-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cgf-form-h b { font-weight: 600; line-height: 1.25; }
.cgf-field { display: grid; gap: 2px; margin-top: 8px; padding: 8px 14px; border-radius: 12px; background: var(--ui-line); }
.cgf-field span { font-size: .8125rem; color: var(--ui-soft); }
.cgf-field b { min-height: 1.3em; font-weight: 500; }
.cgf-form-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.cgf-send { flex: 1; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #ffffff; font-weight: 600; text-align: center; }
.cgf-wapill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: #157a3f; color: #ffffff; font-weight: 600; font-size: .875rem; }
.cgf-wapill svg { width: 16px; height: 16px; }

/* Galería y visibilidad: lista de estado */
.cgf-status { width: 100%; margin: 0; }
.cgf-status .status-head { font-size: 1.125rem; }

/* Resultados en vivo: marcador de meta */
.t-navy.cgf-live-tile .tile-copy { padding-right: 0; }
.cgf-live { width: min(100%, 520px); padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cgf-live-top { display: flex; align-items: center; gap: 10px; }
.cgf-live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(239, 68, 68, .16); color: #fecaca; font-size: .8125rem; font-weight: 600; }
.cgf-live-badge .cgf-dot { width: 8px; height: 8px; }
.cgf-live-ev { flex: 1; min-width: 0; font-size: .875rem; color: #c8d1dc; }
.cgf-clock { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--lime); }
.cgf-clock svg { width: .8em; height: .8em; color: #c8d1dc; }
.cgf-board { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.cgf-board li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .9375rem; transition: background-color .4s ease, color .4s ease; }
.cgf-board li.is-new { background: var(--lime); color: var(--on-lime); }
.cgf-pos { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: .8125rem; font-weight: 600; }
.cgf-board li.is-new .cgf-pos { background: var(--navy); color: var(--lime); }
.cgf-board b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cgf-cert { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #ffffff; color: #1d2a3d; font-size: .875rem; line-height: 1.25; }
.cgf-cert svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--lime); color: var(--on-lime); }
.cgf-cert b { display: block; font-size: .9375rem; }
.cgf-badge { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: .8125rem; font-weight: 600; vertical-align: 1px; }

/* Disciplinas: el cuarto mosaico en azul */
.t-navy.cs-cat-item .cs-cat-n { color: #c8d1dc; }
.t-navy.cs-cat-item .ico-box { background: var(--lime); color: var(--on-lime); }
.t-navy.cs-cat-item p { color: #c8d1dc; }

/* La tecnología: el chip pasa por el arco de meta */
.cgf-tech { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 3vw, 44px) clamp(28px, 4vw, 72px); padding-inline: clamp(8px, 2vw, 28px); }
.cgf-tech-head { grid-column: 1 / -1; max-width: 56rem; }
.cgf-tech .h-tile { margin-top: 4px; }
.cgf-tech-copy .tile-p:first-child { margin-top: 0; }
.cgf-tech .tile-p { margin-top: 14px; color: #dbe2ea; }
.cgf-tag { padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cgf-tag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; color: #c8d1dc; }
.cgf-tag-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #f2f5f8; }
.cgf-tag-top svg { width: 18px; height: 18px; color: var(--lime); }
.cgf-lane { position: relative; height: 116px; margin-top: 14px; border-radius: 14px; background: linear-gradient(180deg, transparent 33%, rgba(255, 255, 255, .1) 33% calc(33% + 1px), transparent calc(33% + 1px) 66%, rgba(255, 255, 255, .1) 66% calc(66% + 1px), transparent calc(66% + 1px)), rgba(255, 255, 255, .04); overflow: hidden; }
.cgf-meta { position: absolute; z-index: 1; left: 62%; top: 6px; translate: 8px 0; font-size: .8125rem; font-weight: 600; color: var(--lime); }
.cgf-line { position: absolute; left: 62%; top: 8px; bottom: 8px; width: 6px; margin-left: -3px; border-radius: 6px; background: repeating-linear-gradient(180deg, #f2f5f8 0 8px, #1d2a3d 8px 16px); }
.cgf-ping { position: absolute; left: 62%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 3px solid var(--lime); opacity: 0; }
.cgf-runner { position: absolute; left: 70%; top: 50%; display: grid; justify-items: center; gap: 4px; padding: 8px 12px 6px; border-radius: 10px; background: #ffffff; color: #1d2a3d; translate: 0 -50%; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.cgf-runner-n { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.cgf-chip { display: block; width: 46px; height: 7px; border-radius: 3px; background: repeating-linear-gradient(90deg, #1d2a3d 0 3px, #c8d400 3px 6px); }
.cgf-log { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.cgf-log li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .9375rem; }
.cgf-log svg { width: 18px; height: 18px; color: var(--lime); }
.cgf-log b { font-weight: 600; color: var(--lime); }
.cgf-tag-foot { margin-top: 12px; font-size: .8125rem; color: #c8d1dc; }

/* Testimonio */
#cs-testimonio .quote-main { max-width: 34em; margin: 0; padding-inline: clamp(8px, 2vw, 28px); text-align: left; font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
#cs-testimonio .quote-main blockquote { line-height: 1.15; letter-spacing: -0.028em; }
.cgf-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; line-height: 1.3; }
.cgf-quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.cgf-av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }

@media (max-width: 1023px) {
  .cgf-fails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgf-tech { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .cgf-fails { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cgf-fail { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "ico n" "ico p" "ico load"; align-items: start; gap: 2px 14px; padding: 16px 18px; }
  .cgf-fail .ico-box { grid-area: ico; margin-top: 0; }
  .cgf-fail-n { grid-area: n; }
  .cgf-fail p { grid-area: p; margin-top: 0; font-size: 1rem; }
  .cgf-load { grid-area: load; padding-top: 10px; }
  .cgf-ask, .cgf-site, .cgf-form { padding: 14px; }
  .cgf-site-tabs { gap: 4px; }
  .cgf-site-tabs span { font-size: .8125rem; padding: 8px 0; }
  .cgf-live { padding: 14px; }
  .cgf-live-ev { display: none; }
  .cgf-tag { padding: 14px; }
  .cgf-form-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cgf-dot::after { animation: none; }
}

/* Leyenda de la captura: a la izquierda, para que el sello de la derecha no la tape */
.cs-stage .cs-cap { align-self: stretch; max-width: min(54%, 22em); text-align: left; }

/* Novedad: página de resultados con certificado 9:16 */
.cgf-res-tile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--tile-pad); }
.cgf-res-list { gap: 8px; margin-top: 12px; font-size: var(--t-body); }
.cgf-res-list li { align-items: flex-start; line-height: 1.35; }
.cgf-res-list svg { margin-top: .2em; }
.cgf-res-art { gap: 18px; margin-top: 0; }
.cgf-res { width: min(100%, 370px); padding: 16px; font-size: 1rem; }
.cgf-res-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: .875rem; color: var(--ui-soft); line-height: 1.3; }
.cgf-res-top b { display: block; font-size: 1.0625rem; color: var(--ui-ink); }
.cgf-res-q { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 14px; border-radius: 999px; background: var(--ui-line); font-weight: 500; }
.cgf-res-q svg { width: 17px; height: 17px; color: var(--ui-soft); }
.cgf-caret { width: 2px; height: 1.1em; margin-left: -6px; background: var(--ui-ink); animation: cgf-blink 1s steps(1) infinite; }
@keyframes cgf-blink { 50% { opacity: 0; } }
.cgf-res-rows { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.cgf-res-rows li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--ui-line); font-size: .9375rem; }
.cgf-res-rows li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ui-bg); font-size: .8125rem; font-weight: 600; }
.cgf-res-rows b { font-weight: 600; }
.cgf-res-rows em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.cgf-res-rows li.cgf-r-hide { display: none; }
.cgf-res-rows li.cgf-r-me.is-open { background: #eef3b3; color: #1d2a3d; box-shadow: inset 0 0 0 2px var(--lime); }
.cgf-r-me.is-open > span { background: var(--navy); color: var(--lime); }
.cgf-r-more { display: none; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.cgf-r-me.is-open .cgf-r-more { display: grid; }
.cgf-r-more p { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .7); font-size: .875rem; font-weight: 600; line-height: 1.25; }
.cgf-r-more small { display: block; font-size: .8125rem; font-weight: 500; color: #4f5c70; }
.cgf-r-more .cgf-r-btn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--navy); color: #ffffff; }
.cgf-r-btn svg { width: 16px; height: 16px; color: var(--lime); }
.cgf-c916-wrap { display: grid; justify-items: center; gap: 10px; }
.cgf-c916 { position: relative; display: flex; flex-direction: column; width: 196px; aspect-ratio: 9 / 16; padding: 16px 16px 14px; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 110% -10%, rgba(200, 212, 0, .55), transparent 45%), linear-gradient(160deg, #283850 0%, #101a2b 100%); color: #f2f5f8; box-shadow: 0 22px 50px rgba(29, 42, 61, .3); }
.cgf-c916-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8125rem; }
.cgf-c916-brand b { font-style: italic; font-weight: 700; letter-spacing: -0.02em; }
.cgf-c916-brand span { padding: 1px 7px; border-radius: 6px; background: #e11d2a; color: #ffffff; font-size: .8125rem; font-weight: 700; }
.cgf-c916-k { margin-top: auto; font-size: .8125rem; font-weight: 600; color: var(--lime); }
.cgf-c916-name { margin-top: 4px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.cgf-c916-time { margin-top: 6px; font-size: 2.125rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.cgf-c916-meta { margin-top: 6px; font-size: .875rem; font-weight: 600; }
.cgf-c916-race { margin-top: 10px; font-size: .8125rem; line-height: 1.25; color: #c8d1dc; }
.cgf-c916-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .8125rem; color: #c8d1dc; }
.cgf-c916-foot svg { width: 22px; height: 22px; padding: 3px; border-radius: 5px; background: #ffffff; color: #1d2a3d; }
.cgf-dl { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-weight: 600; }
.cgf-dl svg { width: 18px; height: 18px; }

/* Novedad: el agente de WhatsApp, paso a paso dentro de un celular */
.cgf-wa { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.cgf-wa-stage { display: grid; grid-template-columns: 320px minmax(0, 260px); justify-content: center; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.cgf-phone { position: relative; display: flex; flex-direction: column; width: 320px; border: 8px solid #0d1117; border-radius: 36px; overflow: hidden; background: #efeae2; color: #111b21; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); font-size: .875rem; line-height: 1.3; }
.cgf-ph-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; background: #008069; color: #ffffff; }
.cgf-ph-head > svg { width: 18px; height: 18px; }
.cgf-ph-av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: #1d2a3d; font-size: .8125rem; font-weight: 700; }
.cgf-ph-who { flex: 1; min-width: 0; }
.cgf-ph-who b { display: block; font-size: .9375rem; font-weight: 600; }
.cgf-ph-st { display: block; font-size: .75rem; color: #d1f4e0; }
.cgf-ph-eg { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .75rem; font-weight: 600; }
.cgf-ph-body { padding: 10px 10px 6px; background-color: #efeae2; background-image: radial-gradient(rgba(17, 27, 33, .05) 1px, transparent 1px); background-size: 14px 14px; }
.cgf-ph-feed { display: flex; flex-direction: column; gap: 6px; }
.cgf-wa.is-anim .cgf-ph-body { display: flex; flex-direction: column; justify-content: flex-end; height: 452px; overflow: hidden; }
.cgf-m { max-width: 86%; margin: 0; }
.cgf-m p { margin: 0; }
.cgf-m-out, .cgf-m-in { padding: 6px 8px 4px 9px; box-shadow: 0 1px 1px rgba(11, 20, 26, .12); }
.cgf-m-out { align-self: flex-end; border-radius: 10px 10px 2px 10px; background: #d9fdd3; }
.cgf-m-in { align-self: flex-start; border-radius: 10px 10px 10px 2px; background: #ffffff; }
.cgf-m-t { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 2px; font-size: .75rem; color: #667781; }
.cgf-m-t svg { width: 15px; height: 15px; color: #53bdeb; }
.cgf-m-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: #e1f2fb; color: #1d2a3d; font-size: .75rem; font-weight: 500; text-align: center; }
.cgf-m-sys svg { width: 14px; height: 14px; color: #008069; }
.cgf-m-day { align-self: center; }
.cgf-m-day span { display: inline-block; padding: 4px 12px; border-radius: 8px; background: #ffffff; color: #54656f; font-size: .75rem; font-weight: 600; box-shadow: 0 1px 1px rgba(11, 20, 26, .12); }
.cgf-m-data { display: grid; gap: 3px; margin: 6px 0 2px; }
.cgf-m-data div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 6px; background: #f0f2f5; transition: background-color .3s ease, box-shadow .3s ease; }
.cgf-m-data dt { font-size: .75rem; color: #667781; }
.cgf-m-data dd { margin: 0; font-size: .8125rem; font-weight: 600; text-align: right; }
.cgf-m-data .cgf-m-fix.is-bad { background: #fde7e7; box-shadow: inset 0 0 0 1px #f3b4b0; }
.cgf-m-data .cgf-m-fix.is-bad dd { color: #c2362f; }
.cgf-m-quick { align-self: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 86%; }
.cgf-m-quick span { padding: 8px 6px; border-radius: 8px; background: #ffffff; color: #027eb5; font-size: .8125rem; font-weight: 600; text-align: center; box-shadow: 0 1px 1px rgba(11, 20, 26, .12); transition: background-color .25s ease; }
.cgf-m-quick span.is-tap { background: #d9fdd3; }
.cgf-m .cgf-m-res { margin-top: 6px; padding: 6px 8px; border-radius: 6px; background: #f0f2f5; }
.cgf-m-res b { font-weight: 700; }
.cgf-m-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px -8px -4px -9px; padding: 9px 8px; border-top: 1px solid #e9edef; color: #027eb5; font-weight: 600; transition: background-color .25s ease; }
.cgf-m-link svg { width: 15px; height: 15px; }
.cgf-m-link.is-tap { background: #e1f2fb; }
.cgf-ph-input { display: flex; align-items: center; gap: 6px; padding: 8px; background: #f0f2f5; }
.cgf-ph-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border-radius: 20px; background: #ffffff; color: #667781; }
.cgf-ph-field svg { flex: none; width: 18px; height: 18px; }
.cgf-ph-typed { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cgf-ph-typed.is-typing { color: #111b21; }
.cgf-ph-send { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #008069; color: #ffffff; }
.cgf-ph-send svg { width: 17px; height: 17px; }
.cgf-ph-notif { display: none; }
.cgf-wa.is-anim .cgf-ph-notif { position: absolute; z-index: 5; top: 8px; left: 8px; right: 8px; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: #111b21; font-size: .8125rem; line-height: 1.25; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); visibility: hidden; opacity: 0; }
.cgf-ph-notif b { display: block; font-size: .875rem; }
.cgf-wa-side { display: grid; gap: 12px; justify-items: center; align-content: center; }
.cgf-wa-side > .ui-card { width: 100%; }
.cgf-kit { display: grid; justify-items: center; gap: 8px; padding: 14px; text-align: center; }
.cgf-kit-h, .cgf-team-h { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cgf-kit-h svg, .cgf-team-h svg { width: 18px; height: 18px; color: #5f6800; }
.cgf-qr { position: relative; width: 104px; height: 104px; padding: 6px; border-radius: 12px; background: #ffffff; box-shadow: inset 0 0 0 2px #e6eae6; overflow: hidden; transition: box-shadow .3s ease; }
.cgf-qr svg { width: 100%; height: 100%; color: #1d2a3d; stroke-width: 1.6; }
.cgf-qr-line { position: absolute; left: 6px; right: 6px; top: 8px; height: 3px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 12px 2px var(--lime); opacity: 0; }
.cgf-kit.is-scanned .cgf-qr { box-shadow: inset 0 0 0 3px var(--lime); }
.cgf-kit-p { font-size: .875rem; color: var(--ui-soft); line-height: 1.25; }
.cgf-team { padding: 14px; }
.cgf-team-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--ui-line); font-size: .8125rem; color: var(--ui-soft); line-height: 1.25; }
.cgf-team-row b { display: block; font-size: .875rem; color: var(--ui-ink); }
.cgf-team-st > span { align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.cgf-st-wait { display: inline-flex; background: #fff1cc; color: #7a4f00; }
.cgf-st-ok { display: none; background: #dff3e6; color: #13703a; }
.cgf-st-ok svg { width: 14px; height: 14px; }
.cgf-team-st.is-ok .cgf-st-wait { display: none; }
.cgf-team-st.is-ok .cgf-st-ok { display: inline-flex; }
.cgf-team-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8125rem; color: var(--ui-soft); }
.cgf-team-foot svg { width: 14px; height: 14px; color: #5f6800; }
.cgf-c916.is-mini { width: 128px; padding: 10px 11px; border-radius: 14px; }
.cgf-c916.is-mini .cgf-c916-brand span { display: none; }
.cgf-c916.is-mini .cgf-c916-name { font-size: 1rem; }
.cgf-c916.is-mini .cgf-c916-time { font-size: 1.375rem; }
.cgf-c916.is-mini .cgf-c916-meta { margin-bottom: 4px; font-size: .8125rem; }
.cgf-wsteps { display: grid; gap: 8px; align-content: stretch; margin: 0; padding: 0; list-style: none; }
.cgf-wstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; align-content: center; gap: 14px; padding: clamp(16px, 1.6vw, 24px); border-radius: 20px; background: var(--tile); color: var(--ink); line-height: 1.35; transition: background-color .35s ease, color .35s ease, translate .35s var(--ease-out); }
.cgf-wstep b { display: block; margin-bottom: 4px; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; }
.cgf-wstep > span:last-child { font-size: .9375rem; color: var(--soft); }
.cgf-wstep-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); font-weight: 600; transition: background-color .35s ease, color .35s ease; }
.cgf-wstep.is-on { background: var(--navy); color: #f2f5f8; translate: -6px 0; }
.cgf-wstep.is-on > span:last-child { color: #c8d1dc; }
.cgf-wstep.is-on .cgf-wstep-n { background: var(--lime); color: var(--on-lime); }
html.dark .cgf-wstep.is-on { background: #31445f; }

@media (max-width: 1180px) {
  .cgf-wa { grid-template-columns: minmax(0, 1fr); }
  .cgf-wsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgf-wstep.is-on { translate: 0 -4px; }
}
@media (max-width: 1023px) {
  .cgf-res-tile { grid-template-columns: minmax(0, 1fr); }
  .cgf-res-art { margin-top: 8px; }
}
@media (max-width: 720px) {
  .cgf-res-art { flex-direction: column; }
  .cgf-wa-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 18px 12px; }
  .cgf-phone { width: min(100%, 320px); }
  .cgf-wa-side { grid-template-columns: minmax(0, 1fr) auto; width: 100%; align-items: center; }
  .cgf-wa-side .cgf-team { grid-column: 1 / -1; grid-row: 2; }
  .cgf-wsteps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cgf-caret { animation: none; }
}

/* Página de cotización real (/contacto/): primero se elige quién escribe. */
.cgf-who { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.cgf-who span { padding: 6px 12px; border-radius: 999px; background: var(--ui-line); color: var(--ui-soft); font-size: .8125rem; font-weight: 500; }
.cgf-who span.is-on { background: var(--navy); color: #ffffff; }

/* Verificación: el corredor elige WhatsApp o la web (/verifica). */
.cgf-kit-opts { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.cgf-kit-opts span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--ui-line); color: var(--ui-soft); font-size: .8125rem; font-weight: 600; }
.cgf-kit-opts span.is-on { background: #25d366; color: #0b2a16; }
.cgf-kit-opts svg { width: 14px; height: 14px; }
.cgf-webv { padding: 12px 14px; }
.cgf-webv-h { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; }
.cgf-webv-h svg { width: 15px; height: 15px; color: #5f6800; }
.cgf-webv-h .cs-eg { margin-left: auto; }
.cgf-webv-f { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.cgf-webv-f span { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 10px; background: var(--ui-line); color: var(--ui-soft); font-size: .8125rem; }
.cgf-webv-f svg { width: 14px; height: 14px; }
.cgf-webv-p { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8125rem; color: var(--ui-soft); }
.cgf-webv-p svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .cgf-wa-side .cgf-kit { grid-column: 1; grid-row: 1; }
  .cgf-wa-side .cgf-c916.is-mini { grid-column: 2; grid-row: 1; }
  .cgf-wa-side .cgf-webv { grid-column: 1 / -1; grid-row: 2; }
  .cgf-wa-side .cgf-team { grid-row: 3; }
}
.cgf-kit-opts { flex-wrap: wrap; }
.cgf-kit-opts span { white-space: nowrap; }
