/* Ajustes propios de la landing (sobre Stellar) */

/* Imágenes ampliables: <a class="js-ampliar"> abre el modal (ver assets/js/custom.js) */

	a.js-ampliar {
		position: relative;
		display: block;
		border-bottom: 0;
		cursor: zoom-in;
	}

		a.js-ampliar .ampliar {
			position: absolute;
			right: 0.6em;
			bottom: 0.6em;
			width: 2.25em;
			height: 2.25em;
			line-height: 2.25em;
			text-align: center;
			border-radius: 100%;
			background: rgba(0, 0, 0, 0.55);
			color: #ffffff;
			font-size: 0.9em;
			pointer-events: none;
		}

			#main a.js-ampliar .ampliar:before {
				font-size: 1em;
				line-height: inherit;
			}

/* Intimaciones por año (sección "Ya pagué / Estaba exento") */

	#main .statistics.intimaciones li {
		padding: 1em 1em 0.75em 1em;
	}

		#main .statistics.intimaciones a.js-ampliar img {
			display: block;
			width: 100%;
			border-radius: 4px;
			box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.15);
			transition: transform 0.2s ease;
		}

		#main .statistics.intimaciones a.js-ampliar:hover img {
			transform: scale(1.02);
		}

		#main .statistics.intimaciones li strong {
			margin-top: 0.4em;
			font-size: 1.5em;
		}

/* Imagen de la intro: captura rectangular en vez del círculo de la plantilla */

	#main .spotlight .image.captura {
		position: relative;
		flex: 0 0 26em;
		width: 26em;
		padding: 0.5em;
		border-radius: 8px;
		border: solid 1px #dddddd;
		cursor: zoom-in;
		transition: border-color 0.2s ease, box-shadow 0.2s ease;
	}

		#main .spotlight .image.captura:hover {
			border-color: #8cc9f0;
			box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.08);
		}

		#main .spotlight .image.captura img {
			width: 100%;
			border-radius: 4px;
		}

		#main .spotlight .image.captura .ampliar {
			right: 1em;
			bottom: 1em;
		}

	@media screen and (max-width: 980px) {

		#main .spotlight .image.captura {
			flex: 0 1 auto;
			width: 32em;
			max-width: 100%;
		}

	}

/* Modales (base común) */

	body.modal-abierto {
		overflow: hidden;
	}

	.modal {
		position: fixed;
		inset: 0;
		z-index: 20000;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 3.5em 1em 1em 1em;
		background: rgba(30, 25, 50, 0.85);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0s linear 0.25s;
	}

		.modal.visible {
			opacity: 1;
			visibility: visible;
			transition: opacity 0.25s ease;
		}

		.modal .cerrar {
			position: absolute;
			top: 0.5em;
			right: 0.75em;
			width: 2.5em;
			min-width: 0;
			height: 2.5em;
			padding: 0;
			font-weight: 400;
			border: 0;
			box-shadow: none;
			border-radius: 100%;
			background: rgba(255, 255, 255, 0.15);
			color: #ffffff;
			font-size: 1.25em;
			line-height: 2.5em;
			text-align: center;
			cursor: pointer;
		}

			.modal .cerrar:hover {
				background: rgba(255, 255, 255, 0.3);
			}

/* Modal de imagen ampliada */

	.modal-imagen {
		cursor: zoom-out;
	}

		.modal-imagen .lienzo {
			max-width: 100%;
			max-height: 100%;
			overflow: auto;
			-webkit-overflow-scrolling: touch;
			border-radius: 6px;
			box-shadow: 0 1em 3em rgba(0, 0, 0, 0.35);
		}

		.modal-imagen img {
			display: block;
			max-width: 100%;
			max-height: calc(100vh - 4.5em);
			cursor: default;
		}

		/* En celular la imagen se muestra más grande que la pantalla y se desliza para recorrerla */
		@media screen and (max-width: 736px) {

			.modal-imagen .lienzo {
				width: 100%;
			}

			.modal-imagen img {
				width: 820px;
				max-width: none;
				max-height: none;
			}

		}

/* Modal con página externa (agenda de Calendly) */

	.modal-iframe .panel {
		position: relative;
		width: 1000px;
		max-width: 100%;
		height: 100%;
		max-height: 820px;
		background: #ffffff;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 1em 3em rgba(0, 0, 0, 0.35);
	}

		.modal-iframe .cargando {
			position: absolute;
			top: 50%;
			left: 0;
			right: 0;
			margin: -0.75em 0 0 0;
			text-align: center;
			color: #999999;
		}

		.modal-iframe iframe {
			position: relative;
			display: block;
			width: 100%;
			height: 100%;
			border: 0;
			background: transparent;
		}

	@media screen and (max-width: 736px) {

		.modal-iframe {
			padding: 3.75em 0 0 0;
		}

			.modal-iframe .panel {
				max-height: none;
				border-radius: 8px 8px 0 0;
			}

	}

/* Fondo: degradé de #242c4f (abajo a la izquierda) a #5f4d93 (arriba a la derecha) */

	body {
		background-color: #413c71;
		background-image: url("images/overlay.png"), linear-gradient(45deg, #242c4f 15%, #5f4d93 85%);
	}

/* Encabezado: (*) del título más chico */

	#header h1 sup {
		font-size: 0.55em;
		top: -0.8em;
		margin-left: 0.05em;
	}

/* Botón de WhatsApp: verde lleno con texto e ícono en blanco (como el primario celeste) */

	#main .button.whatsapp {
		background-color: #25d366;
		color: #ffffff !important;
		box-shadow: none;
	}

		#main .button.whatsapp:hover {
			background-color: #3ddc78;
		}

		#main .button.whatsapp:active {
			background-color: #1fbf5b;
		}

		#main .button.whatsapp.icon:before {
			color: #ffffff;
		}
