/*!
 * JotapeLabs Cotizador 1.1.0
 * Todo va dentro de .jlc para no chocar con el tema. Los colores son variables:
 * para usarlo en otro sitio basta con cambiar las variables de .jlc.
 */
.jlc {
	--jlc-bg: #000000;
	--jlc-surface: #0E0E10;
	--jlc-sel: #1A1A1C;
	--jlc-line: #232326;
	--jlc-line-2: #3A3A3D;
	--jlc-text: #F5F5F7;
	--jlc-text-2: #D1D1D6;
	--jlc-muted: #A1A1A6;
	--jlc-muted-2: #8E8E93;
	--jlc-accent: #CDBB9C;
	--jlc-accent-hover: #DCCDB2;
	--jlc-accent-text: #000000;
	--jlc-claro: #F5F5F7;
	--jlc-claro-2: #FFFFFF;
	--jlc-claro-text: #000000;
	--jlc-claro-muted: #6E6E73;
	--jlc-claro-line: #E5E5EA;
	--jlc-error: #FF9F8A;
	--jlc-radius: 28px;
	--jlc-radius-s: 20px;
	--jlc-font: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	background: var(--jlc-bg);
	color: var(--jlc-text);
	font-family: var(--jlc-font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	width: 100%;
}
.jlc *, .jlc *::before, .jlc *::after { box-sizing: border-box; }
.jlc-in { width: 100%; max-width: 960px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px) 0; }

/* ---------- espaciado ---------- */
.jlc-stack-0, .jlc-stack-2, .jlc-stack-6, .jlc-stack-8, .jlc-stack-10, .jlc-stack-12, .jlc-stack-14, .jlc-stack-20, .jlc-stack-24, .jlc-stack-32 { display: flex; flex-direction: column; }
.jlc-stack-2 { gap: 2px; } .jlc-stack-6 { gap: 6px; } .jlc-stack-8 { gap: 8px; } .jlc-stack-10 { gap: 10px; }
.jlc-stack-12 { gap: 12px; } .jlc-stack-14 { gap: 14px; } .jlc-stack-20 { gap: 20px; } .jlc-stack-24 { gap: 24px; } .jlc-stack-32 { gap: 32px; }
.jlc-row-8, .jlc-row-12 { display: flex; align-items: center; }
.jlc-row-8 { gap: 8px; } .jlc-row-12 { gap: 12px; }
.jlc-wrap { flex-wrap: wrap; }
.jlc-row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jlc-grid { display: grid; gap: 12px; }
.jlc-grid-200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.jlc-grid-220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.jlc-grid-250 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.jlc-grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- texto ---------- */
.jlc .jlc-h1 { margin: 0; font-family: var(--jlc-font); font-size: clamp(40px, 5.4vw, 64px); line-height: 1.03; font-weight: 600; letter-spacing: -0.035em; color: inherit; }
.jlc .jlc-h3 { margin: 0; font-family: var(--jlc-font); font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: inherit; }
.jlc .jlc-h4 { margin: 0; font-family: var(--jlc-font); font-size: 20px; line-height: 1.25; font-weight: 600; color: inherit; }
.jlc [data-focus]:focus { outline: none; }
.jlc p { margin: 0; }
.jlc-lead { font-size: 18px; color: var(--jlc-muted); max-width: 52ch; }
.jlc-muted { color: var(--jlc-muted); }
.jlc-strong { font-weight: 600; }
.jlc-sm { font-size: 15px; } .jlc-xs { font-size: 13px; }
.jlc-nowrap { white-space: nowrap; }
.jlc-der { text-align: right; }
.jlc-acento { color: var(--jlc-accent); font-weight: 500; }
.jlc-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jlc-accent); }
.jlc-num-xl { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.jlc-num-l { font-size: 24px; font-weight: 600; }
.jlc-link { color: var(--jlc-text-2); border-bottom: 1px solid var(--jlc-line-2); align-self: flex-start; padding-bottom: 2px; text-decoration: none; font-size: 15px; }
.jlc-link:hover { color: var(--jlc-accent); }
.jlc-sep { height: 1px; background: var(--jlc-line); }

/* ---------- tarjetas ---------- */
.jlc-card { background: var(--jlc-surface); border: 1px solid var(--jlc-line); border-radius: var(--jlc-radius); padding: clamp(24px, 4vw, 44px); }
.jlc-card-claro { background: var(--jlc-claro); color: var(--jlc-claro-text); border-radius: var(--jlc-radius); padding: clamp(24px, 4vw, 40px); }
.jlc-muted-claro { color: var(--jlc-claro-muted); }

/* ---------- opciones ---------- */
.jlc .jlc-opt {
	appearance: none; cursor: pointer; text-align: left; font: inherit; color: var(--jlc-text);
	background: transparent; border: 1px solid #2C2C2F; border-radius: var(--jlc-radius-s);
	padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 44px;
	transition: border-color .15s ease, background-color .15s ease; text-transform: none; letter-spacing: normal; box-shadow: none;
	white-space: normal; width: 100%; min-width: 0; overflow-wrap: break-word; line-height: 1.4;
}
.jlc .jlc-opt > *, .jlc .jlc-opt span { min-width: 0; white-space: normal; }
.jlc .jlc-opt:hover { border-color: #5A5A5F; background: transparent; color: var(--jlc-text); }
.jlc .jlc-opt.is-sel { border-color: var(--jlc-accent); background: var(--jlc-sel); }
.jlc .jlc-opt:focus-visible { outline: 2px solid var(--jlc-accent); outline-offset: 2px; }
.jlc-opt-alta { min-height: 150px; }
.jlc-opt-alta .jlc-opt-d { margin-top: auto; }
.jlc .jlc-opt-fila { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
.jlc-opt-t { font-size: 17px; font-weight: 600; }
.jlc-opt-d { font-size: 14px; }
.jlc-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jlc-accent-text); background: var(--jlc-accent); border-radius: 999px; padding: 3px 9px; }
.jlc-tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jlc-accent); border: 1px solid #5C5446; border-radius: 999px; padding: 3px 9px; }

/* ---------- contador ---------- */
.jlc-contador { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--jlc-line); border-bottom: 1px solid var(--jlc-line); }
.jlc-contador > div:first-child { display: flex; flex-direction: column; }
.jlc-contador + .jlc-contador { border-top: 0; }
.jlc-contador-ctrl { display: flex; align-items: center; gap: 4px; }
.jlc-contador-num { min-width: 48px; text-align: center; font-size: 20px; font-weight: 600; }
.jlc .jlc-redondo { cursor: pointer; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--jlc-line-2); background: transparent; color: var(--jlc-text); font: inherit; font-size: 20px; line-height: 1; }
.jlc .jlc-redondo:hover { border-color: var(--jlc-muted-2); background: transparent; color: var(--jlc-text); }

/* ---------- casillas ---------- */
.jlc-fieldset { border: 0; border-top: 1px solid var(--jlc-line); margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.jlc-fieldset legend { padding: 16px 0 8px; float: left; width: 100%; }
.jlc-check-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; }
.jlc-check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.jlc-check-top { align-items: flex-start; font-size: 14px; color: var(--jlc-text-2); min-height: 0; }
.jlc-check-top a { color: var(--jlc-text); text-decoration: underline; }
.jlc .jlc-check input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--jlc-accent); }
.jlc .jlc-check-top input[type="checkbox"] { margin-top: 2px; }
.jlc .jlc-check-claro input[type="checkbox"] { accent-color: #000000; }

/* ---------- progreso ---------- */
.jlc-progreso { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.jlc-progreso span { height: 3px; border-radius: 2px; background: #2C2C2F; transition: background-color .2s ease; }
.jlc-progreso span.is-on { background: var(--jlc-accent); }

/* ---------- botones ---------- */
.jlc .jlc-btn {
	appearance: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; text-transform: none; letter-spacing: normal;
	display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; box-shadow: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.jlc .jlc-btn-l { height: 52px; padding: 0 28px; font-size: 16px; }
.jlc .jlc-btn-main { background: var(--jlc-accent); color: var(--jlc-accent-text); }
.jlc .jlc-btn-main:hover { background: var(--jlc-accent-hover); color: var(--jlc-accent-text); }
.jlc .jlc-btn-main[disabled] { opacity: .4; cursor: not-allowed; }
.jlc .jlc-btn-ghost { background: transparent; border-color: var(--jlc-line-2); color: var(--jlc-text-2); }
.jlc .jlc-btn-ghost:hover { border-color: var(--jlc-muted-2); color: var(--jlc-text); background: transparent; }
.jlc .jlc-btn-dark { background: #000000; color: #F5F5F7; }
.jlc .jlc-btn-dark:hover { background: #2A2A2D; color: #F5F5F7; }
.jlc .jlc-btn-ghost-claro { background: transparent; border-color: #C7C7CC; color: #000000; }
.jlc .jlc-btn-ghost-claro:hover { border-color: #000000; color: #000000; background: transparent; }
.jlc .jlc-btn:focus-visible, .jlc .jlc-btn-texto:focus-visible, .jlc .jlc-redondo:focus-visible { outline: 2px solid var(--jlc-accent); outline-offset: 2px; }
.jlc .jlc-btn-texto { appearance: none; cursor: pointer; font: inherit; background: transparent; border: 0; color: var(--jlc-muted-2); font-size: 15px; padding: 0 8px; height: 44px; text-decoration: underline; box-shadow: none; }
.jlc .jlc-btn-texto:hover { color: var(--jlc-text); background: transparent; }

/* Evita que el tema pinte los botones al enfocarlos o pasar el mouse */
.jlc .jlc-opt:focus { background: transparent; color: var(--jlc-text); }
.jlc .jlc-opt.is-sel:focus { background: var(--jlc-sel); }
.jlc .jlc-btn-main:focus { background: var(--jlc-accent); color: var(--jlc-accent-text); }
.jlc .jlc-btn-ghost:focus, .jlc .jlc-redondo:focus, .jlc .jlc-btn-texto:focus { background: transparent; }
.jlc .jlc-btn-ghost:focus { color: var(--jlc-text-2); }
.jlc .jlc-redondo:focus { color: var(--jlc-text); }
.jlc .jlc-btn-dark:focus { background: #000000; color: #F5F5F7; }
.jlc .jlc-btn-ghost-claro:focus { background: transparent; color: #000000; }
.jlc label { line-height: inherit; vertical-align: baseline; }

/* ---------- barra inferior fija ---------- */
.jlc-barra { position: sticky; bottom: 0; z-index: 30; margin: 0;background: rgba(14, 14, 16, 0.92); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-top: 1px solid var(--jlc-line); border-radius: 20px 20px 0 0; }
.jlc-barra-in { padding: 14px clamp(16px, 3vw, 28px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.jlc-barra-in > div:first-child { display: flex; flex-direction: column; }
.jlc-barra-total { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- resultado ---------- */
.jlc-lineas { display: flex; flex-direction: column; }
.jlc-linea { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--jlc-line); font-size: 16px; }
.jlc-linea > span:first-child { color: var(--jlc-text-2); }
.jlc-linea strong { font-weight: 600; }
.jlc-tachado { color: #6E6E73; font-size: 14px; margin-right: 10px; }
.jlc-lineas.is-claro .jlc-linea { border-bottom-color: var(--jlc-claro-line); font-size: 15px; padding: 12px 0; }
.jlc-lineas.is-claro .jlc-linea > span:first-child { color: var(--jlc-claro-text); }
.jlc-lineas.is-claro .jlc-tachado { color: #8E8E93; }
.jlc-desc-res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-top: 14px; border-top: 1px solid #D2D2D7; }

/* ---------- formulario ---------- */
.jlc-campo { display: flex; flex-direction: column; gap: 6px; }
.jlc-campo > label { font-size: 14px; color: var(--jlc-text-2); }
.jlc .jlc-campo input:not([type="checkbox"]), .jlc .jlc-campo textarea {
	font: inherit; font-size: 16px; color: var(--jlc-text); background: var(--jlc-bg); border: 1px solid var(--jlc-line-2); border-radius: 14px;
	padding: 0 16px; height: 50px; width: 100%; box-shadow: none; transition: border-color .15s ease;
}
.jlc .jlc-campo textarea { height: auto; padding: 14px 16px; resize: vertical; }
.jlc .jlc-campo input:focus, .jlc .jlc-campo textarea:focus { outline: none; border-color: var(--jlc-accent); }
.jlc .jlc-campo input[aria-invalid="true"] { border-color: var(--jlc-error); }
.jlc-error { font-size: 13px; color: var(--jlc-error); }
.jlc-error-envio { background: rgba(255, 159, 138, 0.08); border: 1px solid rgba(255, 159, 138, 0.35); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.jlc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- propuesta ---------- */
.jlc-propuesta { background: var(--jlc-claro-2); color: var(--jlc-claro-text); border-radius: var(--jlc-radius); padding: clamp(28px, 5vw, 56px); }
.jlc-prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--jlc-claro-line); }
.jlc-prop-head .jlc-h1 { font-size: clamp(32px, 4.4vw, 48px); }
.jlc-eyebrow-claro { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jlc-claro-muted); }
.jlc-iso { height: 36px; width: auto; fill: #000000; flex-shrink: 0; }
.jlc-inversion { background: var(--jlc-claro); border-radius: 22px; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.jlc-total-final { font-weight: 600; font-size: 20px; padding-top: 10px; border-top: 1px solid #D2D2D7; }
.jlc-pasos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.jlc-pasos li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
.jlc-final { text-align: center; color: var(--jlc-muted); }

/* =====================================================================
   Versión corta (portada): [jotapelabs_cotizador modo="mini"]
   ===================================================================== */
.jlc.jlc-mini { background: transparent; }
.jlc-mini-card { background: var(--jlc-surface); border: 1px solid var(--jlc-line); border-radius: var(--jlc-radius); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 120px rgba(205, 187, 156, 0.06); }
.jlc-progreso.jlc-progreso-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jlc .jlc-mini-titulo { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.jlc-mini-titulo:focus { outline: none; }
.jlc-mini-cuerpo { min-height: 124px; display: flex; flex-direction: column; gap: 10px; }
.jlc-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jlc .jlc-mini-opt { padding: 14px; border-radius: 14px; gap: 4px; }
.jlc-mini-t { font-size: 14px; font-weight: 500; line-height: 1.25; }
.jlc-xxs { font-size: 12px; }
.jlc-mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jlc .jlc-chip { flex-direction: row; padding: 0 14px; height: 36px; min-height: 36px; border-radius: 999px; font-size: 13px; align-items: center; color: var(--jlc-text-2); }
.jlc .jlc-chip.is-sel, .jlc .jlc-chip.is-sel:focus, .jlc .jlc-chip.is-sel:hover { background: var(--jlc-text); color: #000000; border-color: var(--jlc-text); }
.jlc-mini .jlc-check { font-size: 14px; color: var(--jlc-text-2); min-height: 40px; }
.jlc-mini-pie { border-top: 1px solid var(--jlc-line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.jlc-mini-total { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.jlc-baseline { align-items: baseline; }
.jlc-mini .jlc-btn { height: 46px; }
@media (max-width: 420px) {
	.jlc-mini-grid { grid-template-columns: minmax(0, 1fr); }
	.jlc-mini-total { font-size: 26px; }
}

/* =====================================================================
   Formulario de contacto: [jotapelabs_contacto] (pensado para fondo blanco)
   ===================================================================== */
.jlc-c { font-family: var(--jlc-font, 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif); color: #000000; }
.jlc-c-form { display: flex; flex-direction: column; gap: 16px; }
.jlc-c-campo { display: flex; flex-direction: column; gap: 6px; }
.jlc-c-campo > label { font-size: 14px; color: #1D1D1F; line-height: 1.4; display: block; }
.jlc-c .jlc-c-campo input:not([type="checkbox"]), .jlc-c .jlc-c-campo textarea {
	font: inherit; font-size: 16px; color: #000000; background: #F5F5F7; border: 1px solid #E5E5EA; border-radius: 14px;
	padding: 0 16px; height: 50px; width: 100%; box-sizing: border-box; box-shadow: none; transition: border-color .15s ease;
}
.jlc-c .jlc-c-campo textarea { height: auto; padding: 14px 16px; resize: vertical; }
.jlc-c .jlc-c-campo input:focus, .jlc-c .jlc-c-campo textarea:focus { outline: none; border-color: #000000; }
.jlc-c [aria-invalid="true"] { border-color: #C42B1C !important; }
.jlc-c-check { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: #1D1D1F; line-height: 1.5 !important; }
.jlc-c-check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: #000000; }
.jlc-c-check a { color: #000000; text-decoration: underline; }
.jlc-c-error { font-size: 13px; color: #C42B1C; }
.jlc-c-aviso { background: #FFF2EF; border: 1px solid #F3C2B8; border-radius: 14px; padding: 12px 16px; font-size: 14px; color: #8A1F12; }
.jlc-c .jlc-c-boton, .jlc-c .jlc-c-boton:focus { align-self: flex-start; cursor: pointer; font: inherit; border: 0; background: #000000; color: #F5F5F7; font-size: 16px; font-weight: 500; padding: 0 28px; height: 52px; border-radius: 999px; transition: background-color .2s ease; }
.jlc-c .jlc-c-boton:hover { background: #2A2A2D; color: #F5F5F7; }
.jlc-c .jlc-c-boton[disabled] { opacity: .6; cursor: wait; }
.jlc-c-gracias { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; color: #000000; }
.jlc-c-gracias:focus { outline: none; }
.jlc-c-gracias h3 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: #000000; }
.jlc-c-gracias p { margin: 0; color: #6E6E73; }

/* ---------- ajustes para celular ---------- */
.jlc-inversion .jlc-row-between > span:last-child { white-space: nowrap; }
.jlc-inversion .jlc-row-between > span.jlc-der { white-space: normal; }
@media (max-width: 560px) {
	.jlc-barra-in { flex-wrap: nowrap; padding: 12px 14px; gap: 10px; }
	.jlc-barra-in > div:first-child .jlc-xs:last-child { display: none; }
	.jlc-barra-in > div:first-child { min-width: 0; flex: 1 1 auto; }
	.jlc-barra-in > .jlc-row-8 { flex-shrink: 0; }
	.jlc-barra-total { font-size: 18px; }
	.jlc .jlc-barra .jlc-btn { padding: 0 14px; height: 44px; font-size: 14px; }
	.jlc-inversion { padding: 20px; font-size: 15px; }
	.jlc-inversion .jlc-row-between:last-child { flex-wrap: wrap; }
	.jlc-inversion .jlc-row-between:last-child > span.jlc-der { text-align: left; }
	.jlc-card { padding: 22px 18px; }
	.jlc-propuesta { padding: 24px 20px; }
}

/* ---------- impresión: solo la propuesta ---------- */
@media print {
	body * { visibility: hidden !important; }
	.jlc-propuesta, .jlc-propuesta * { visibility: visible !important; }
	.jlc-propuesta { position: absolute; left: 0; top: 0; width: 100%; border-radius: 0; padding: 0; }
	.jlc-noprint { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.jlc * { transition: none !important; scroll-behavior: auto !important; }
}
