/* Guardián Vecinal – Altas. Los colores y medidas se cambian desde el widget de Elementor (variables --gv-*). */
.gv-alta {
	--gv-accent: #e8590c;
	--gv-accent-ink: #ffffff;
	--gv-ink: #1d2321;
	--gv-muted: #5f6b68;
	--gv-surface: #ffffff;
	--gv-line: #d9dfdc;
	--gv-ok: #1b7f52;
	--gv-ok-soft: #e1f3e9;
	--gv-bad: #b5372a;
	--gv-bad-soft: #f9e3df;
	--gv-radius: 10px;
	--gv-maxw: 720px;
	color: var(--gv-ink);
	max-width: var(--gv-maxw);
	margin-inline: auto;
	line-height: 1.5;
}
.gv-alta *, .gv-alta *::before, .gv-alta *::after { box-sizing: border-box; }
.gv-card {
	background: var(--gv-surface);
	border: 1px solid var(--gv-line);
	border-radius: calc(var(--gv-radius) + 2px);
	overflow: hidden;
}
.gv-sombra-yes .gv-card { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }

/* Pasos */
.gv-steps { display: flex; gap: 4px; list-style: none; margin: 0; padding: 16px 20px 0; overflow-x: auto; }
.gv-steps li { flex: 1 1 0; min-width: 70px; display: flex; flex-direction: column; gap: 6px; font-size: .78em; color: var(--gv-muted); margin: 0; }
.gv-steps li::before { content: ""; height: 4px; border-radius: 2px; background: var(--gv-line); }
.gv-steps li.is-done::before { background: var(--gv-ok); }
.gv-steps li.is-current::before { background: var(--gv-accent); }
.gv-steps li.is-current { color: var(--gv-ink); font-weight: 600; }

/* Cuerpo */
.gv-body { padding: 22px 24px 26px; }
.gv-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.gv-title { margin: 0; font-size: 1.4em; line-height: 1.25; color: var(--gv-ink); }
.gv-lead { margin: -8px 0 0; color: var(--gv-muted); }
.gv-sub { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--gv-line); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; color: var(--gv-muted); font-weight: 600; }
.gv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 560px) { .gv-grid { grid-template-columns: minmax(0, 1fr); } .gv-body { padding: 18px 16px 22px; } }

/* Campos */
.gv-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gv-field label { font-size: .9em; font-weight: 600; color: var(--gv-ink); }
.gv-alta .gv-input {
	width: 100%; font: inherit; color: var(--gv-ink); background: var(--gv-surface);
	border: 1px solid var(--gv-line); border-radius: var(--gv-radius); padding: 10px 12px; box-shadow: none;
}
.gv-alta .gv-input:focus { outline: 2px solid var(--gv-accent); outline-offset: 1px; border-color: var(--gv-accent); }
.gv-alta .gv-input-big { max-width: 200px; text-align: center; font-size: 1.8em; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.gv-alta .gv-input[aria-invalid="true"] { border-color: var(--gv-bad); }
.gv-field-error { margin: 0; font-size: .85em; color: var(--gv-bad); }

/* Botones y enlaces */
.gv-alta .gv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: var(--gv-radius); padding: 12px 20px; cursor: pointer;
	background: var(--gv-accent); color: var(--gv-accent-ink); font-weight: 700; text-decoration: none; line-height: 1.2;
}
.gv-alta .gv-btn:hover { filter: brightness(.95); }
.gv-alta .gv-btn:focus-visible { outline: 2px solid var(--gv-ink); outline-offset: 2px; }
.gv-alta .gv-btn[disabled] { opacity: .5; cursor: progress; }
.gv-alta .gv-btn-wa { background: #25d366; color: #0b2915; align-self: flex-start; }
.gv-alta .gv-link {
	background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; font-weight: 600;
	color: var(--gv-accent); text-decoration: underline; text-underline-offset: 3px;
}
.gv-actions { display: flex; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--gv-line); }

/* Avisos */
.gv-info { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px dashed var(--gv-line); border-radius: var(--gv-radius); font-size: .95em; }
.gv-muted { color: var(--gv-muted); }
.gv-alert { padding: 10px 14px; border-radius: var(--gv-radius); background: var(--gv-bad-soft); color: var(--gv-bad); font-size: .95em; }
.gv-ok { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--gv-radius); background: var(--gv-ok-soft); }
.gv-ok strong { color: var(--gv-ok); }

/* Campo trampa: fuera de la pantalla, no display:none (algunos bots lo detectan). */
.gv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.gv-alta [hidden] { display: none !important; }
.gv-ok:focus { outline: none; }

/* Paso 2: cantidad de controles */
.gv-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.gv-plan {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
	padding: 14px; border: 1px solid var(--gv-line); border-radius: var(--gv-radius);
	background: var(--gv-surface); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.gv-plan:hover { border-color: var(--gv-muted); }
.gv-plan input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gv-plan:focus-within { outline: 2px solid var(--gv-accent); outline-offset: 2px; }
.gv-plan.is-sel { border-color: var(--gv-accent); box-shadow: inset 0 0 0 1px var(--gv-accent); background: color-mix(in srgb, var(--gv-accent) 7%, var(--gv-surface)); }
.gv-plan-n { font-size: 2.2em; font-weight: 800; line-height: 1; color: var(--gv-ink); font-variant-numeric: tabular-nums; }
.gv-plan-u { font-size: .9em; color: var(--gv-muted); margin-bottom: 6px; }
.gv-plan-name { font-weight: 700; color: var(--gv-ink); }
.gv-plan-p { font-size: .88em; color: var(--gv-ink); font-variant-numeric: tabular-nums; }
.gv-plan-m { font-size: .82em; color: var(--gv-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .gv-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pasos 3 a 6 */
.gv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gv-grid-doc { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 14px; display: grid; }
.gv-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .gv-grid-3, .gv-grid-doc { grid-template-columns: minmax(0, 1fr); } }
.gv-opt { font-weight: 400; color: var(--gv-muted); }
.gv-hint { font-size: .8em; color: var(--gv-muted); }
.gv-alta .gv-input[readonly] { background: color-mix(in srgb, var(--gv-line) 30%, var(--gv-surface)); color: var(--gv-muted); border-style: dashed; cursor: default; }
.gv-alta select.gv-input { appearance: auto; height: auto; }
.gv-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .95em; color: var(--gv-ink); }
.gv-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gv-accent); flex: none; }
.gv-ok-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gv-alta .gv-btn-sec { background: transparent; color: var(--gv-ink); border: 1px solid var(--gv-line); font-weight: 600; }
.gv-alta .gv-btn-sec:hover { border-color: var(--gv-muted); filter: none; }
.gv-actions { justify-content: space-between; align-items: center; gap: 10px; }

.gv-mapa { display: flex; flex-direction: column; gap: 10px; }
.gv-maprow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: .92em; }
.gv-map { width: 100%; height: 320px; border-radius: var(--gv-radius); border: 1px solid var(--gv-line); overflow: hidden; background: color-mix(in srgb, var(--gv-line) 35%, var(--gv-surface)); }
@media (max-width: 560px) { .gv-map { height: 260px; } }
.gv-map-ph { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gv-muted); font-size: .9em; text-align: center; padding: 16px; }
.gv-chip-ok { padding: 4px 12px; border-radius: 999px; background: var(--gv-ok-soft); color: var(--gv-ok); font-weight: 700; font-size: .9em; }

.gv-llavero { border: 1px solid var(--gv-line); border-radius: var(--gv-radius); padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gv-llavero legend { padding: 0 6px; font-weight: 700; color: var(--gv-ink); }

.gv-tyc { max-height: 260px; overflow: auto; padding: 14px 16px; border: 1px solid var(--gv-line); border-radius: var(--gv-radius); font-size: .92em; background: color-mix(in srgb, var(--gv-line) 18%, var(--gv-surface)); }
.gv-tyc p { margin: 0 0 10px; }
.gv-tyc:focus-visible { outline: 2px solid var(--gv-accent); outline-offset: 2px; }

.gv-sum { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: .95em; }
.gv-sum dt { color: var(--gv-muted); }
.gv-sum dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .gv-sum { grid-template-columns: minmax(0, 1fr); } .gv-sum dd { margin-bottom: 6px; } }

/* Paso 4: confirmar ubicación */
.gv-dir { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--gv-line); border-radius: var(--gv-radius); background: color-mix(in srgb, var(--gv-line) 18%, var(--gv-surface)); }
.gv-dir > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gv-dir strong { color: var(--gv-ink); overflow-wrap: anywhere; }
.gv-dir-label { font-size: .75em; letter-spacing: .06em; text-transform: uppercase; color: var(--gv-muted); font-weight: 600; }
.gv-map-ayuda { margin: -6px 0 0; }
.gv-alta .gv-steps li { min-width: 62px; }
.gv-alta .gv-title:focus, .gv-alta .gv-ok:focus { outline: none; }
.gv-grid-titular > .gv-field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gv-alta .gv-steps { gap: 8px; }
.gv-alta .gv-steps li { flex: 1 1 auto; min-width: min-content; }
.gv-tyc h1, .gv-tyc h2, .gv-tyc h3, .gv-tyc h4 { font-size: 1em; line-height: 1.35; margin: 16px 0 8px; color: var(--gv-ink); }
.gv-tyc > :first-child { margin-top: 0; }
.gv-alta .gv-tyc { max-height: 340px; }

/* Paso 2: detalle del plan elegido */
.gv-alta .gv-plan { align-items: center; text-align: center; }
.gv-alta .gv-plan-u { margin-bottom: 0; }
.gv-plan-info { border-style: solid; }
.gv-plan-info.is-sel { border-color: var(--gv-accent); background: color-mix(in srgb, var(--gv-accent) 5%, var(--gv-surface)); }
.gv-plan-det { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.gv-plan-det dt { color: var(--gv-muted); }
.gv-plan-det dd { margin: 0; font-weight: 600; color: var(--gv-ink); }
.gv-nw { white-space: nowrap; }
.gv-alta .gv-plan { justify-content: center; gap: 4px; padding: 16px 12px; }
.gv-alta .gv-plan .gv-plan-name { font-size: 1.15em; }
.gv-alta .gv-plan .gv-plan-u { line-height: 1.35; }
.gv-plan-k { font-size: .72em; letter-spacing: .08em; text-transform: uppercase; color: var(--gv-muted); font-weight: 600; }
.gv-alta .gv-plan .gv-plan-name { font-size: 1.2em; line-height: 1.2; overflow-wrap: anywhere; }
.gv-alta .gv-plan .gv-plan-u { margin-top: 2px; }
