/*
Theme Name: Grupo Kamar (Delfines PV)
Theme URI: https://tritonesvp.com.mx
Author: Grupo Kamar
Description: Tema estático basado en Spectral
Version: 2.8
*/

/* Paleta tomada del logo:
   pizarra #4a5469 · carbón #2a2a2b · tinta #4e4e4c · papel #f3f3f3 · acero #9aa3b0 */

body {
	background: #2a2a2b;
}

body.landing #page-wrapper,
body.is-mobile.landing #page-wrapper,
body.is-mobile.landing #banner {
	background-color: #2a2a2b;
	background-image: linear-gradient(to bottom, rgba(42, 42, 43, 0.45), rgba(42, 42, 43, 0.88));
}

#header {
	background: #2a2a2b;
}

	#header.alt {
		background: transparent;
	}

/* Marca: logo en cabecera */
#header h1 a {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

	#header h1 img {
		display: block;
		height: 2.35em;
		width: auto;
		margin-right: 0.7em;
		border: 0;
	}

	#header h1 span {
		font-size: 0.85em;
		letter-spacing: 0.18em;
		text-transform: uppercase;
	}

	@media screen and (max-width: 736px) {
		#header h1 span {
			display: none;
		}
	}

/* Marca: logo en el banner */
#banner .logo {
	display: block;
	width: auto;
	height: 12.5em;
	margin: 0 auto 1.5em;
	border: 0;
}

@media screen and (max-width: 736px) {
	#banner .logo {
		height: 8.5em;
		margin-bottom: 1.25em;
	}
}

/* Botón primario: pizarra del isotipo */
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: #4a5469;
}

	input[type="submit"].primary:hover,
	input[type="reset"].primary:hover,
	input[type="button"].primary:hover,
	button.primary:hover,
	.button.primary:hover {
		background-color: #5c677d !important;
	}

	input[type="submit"].primary:active,
	input[type="reset"].primary:active,
	input[type="button"].primary:active,
	button.primary:active,
	.button.primary:active {
		background-color: #3d4658 !important;
	}

/* Acentos de iconos */
.icon.style1 {
	color: #9aa3b0;
}

.icon.style2 {
	color: #c5c7c4;
}

.icon.style3 {
	color: #e4e4e2;
}

.features li:before {
	color: #9aa3b0;
}

/* Secciones teñidas con la marca */
.wrapper.style1 {
	background-color: #4a5469;
	color: #d5d8de;
}

	.wrapper.style1 h2,
	.wrapper.style1 h3,
	.wrapper.style1 h4,
	.wrapper.style1 h5,
	.wrapper.style1 h6 {
		color: #ffffff;
	}

	.wrapper.style1 header p,
	.wrapper.style1 header.major p {
		color: #c5c9d0;
	}

	.wrapper.style1 .icon.major {
		border-color: rgba(255, 255, 255, 0.35);
	}

.wrapper.style2 {
	background-color: #2a2a2b;
}

.wrapper.style3 {
	background-color: #3a4048;
	color: #d0d2d4;
}

	.wrapper.style3 h2,
	.wrapper.style3 h3,
	.wrapper.style3 h4,
	.wrapper.style3 h5,
	.wrapper.style3 h6 {
		color: #ffffff;
	}

	.wrapper.style3 header p,
	.wrapper.style3 header.major p {
		color: #c0c4c8;
	}

	.wrapper.style3 .icon.major {
		border-color: rgba(255, 255, 255, 0.35);
	}

.wrapper.style5 {
	background-color: #f3f3f3;
	color: #4e4e4c;
}

	.wrapper.style5 h2,
	.wrapper.style5 h3,
	.wrapper.style5 h4,
	.wrapper.style5 h5,
	.wrapper.style5 h6 {
		color: #2a2a2b;
	}

	.wrapper.style5 header p,
	.wrapper.style5 header.major p {
		color: #4e4e4c;
	}

#menu {
	background: #4a5469;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	box-shadow: 0 0 0 2px #4a5469;
}

/* Paneles editoriales de productos (sin fotografía de stock) */
.spotlight .image.product-visual {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	min-height: 22em;
	background: rgba(74, 84, 105, 0.28);
}

	.spotlight .image.product-visual span {
		font-size: 3.5em;
		font-weight: 800;
		letter-spacing: 0.2em;
		line-height: 1;
		color: rgba(154, 163, 176, 0.55);
	}

/* Clientes: cinta + mapa a pantalla */
#clientes,
#ubicacion {
	padding-bottom: 0;
}

.clientes-cinta {
	overflow: hidden;
	height: 6.4em;
	margin: 0;
	padding: 0.9em 0;
	background: #eceae6;
	-webkit-mask-image: none;
	mask-image: none;
}

	.clientes-cinta-track {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		height: 100%;
		width: max-content;
		animation: kamar-cinta 42s linear infinite;
	}

	.clientes-cinta:hover .clientes-cinta-track {
		animation-play-state: paused;
	}

	.clientes-cinta-placa {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex: 0 0 7.6em;
		-webkit-flex: 0 0 7.6em;
		-ms-flex: 0 0 7.6em;
		flex: 0 0 7.6em;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		box-sizing: border-box;
		width: 7.6em;
		min-width: 0;
		height: 4.2em;
		min-height: 0;
		margin: 0 0.75em;
		padding: 0.45em 0.6em;
		overflow: hidden;
		background: #f7f5f1;
		border: solid 1px rgba(42, 42, 43, 0.08);
		border-radius: 3px;
	}

	.clientes-cinta-placa img {
		display: block;
		max-height: 2.6em !important;
		max-width: 6.2em !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain;
		border: 0;
		opacity: 1;
	}

@keyframes kamar-cinta {
	from { -moz-transform: translateX(0); -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
	to { -moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }
}

.mapa-escenario {
	position: relative;
	margin-top: 0;
}

	.mapa-escenario:after {
		content: '';
		pointer-events: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		box-shadow: inset 0 30px 40px #2a2a2b, inset 0 -90px 80px #2a2a2b;
		z-index: 400;
	}

#mapa-kamar,
#mapa-sitio {
	height: 82vh;
	min-height: 30em;
	width: 100%;
	background: #1a1e24;
}

	#mapa-sitio .leaflet-tile-pane {
		filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.05);
	}

.mapa-ficha {
	position: absolute;
	left: 50%;
	bottom: 2em;
	z-index: 1100;
	pointer-events: none;
	width: 24em;
	max-width: calc(100% - 2.4em);
	-moz-transform: translateX(-50%) translateY(8px);
	-webkit-transform: translateX(-50%) translateY(8px);
	-ms-transform: translateX(-50%) translateY(8px);
	transform: translateX(-50%) translateY(8px);
	opacity: 0;
	text-align: center;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

	.mapa-ficha.is-visible {
		opacity: 1;
		-moz-transform: translateX(-50%) translateY(0);
		-webkit-transform: translateX(-50%) translateY(0);
		-ms-transform: translateX(-50%) translateY(0);
		transform: translateX(-50%) translateY(0);
	}

	.mapa-ficha-logo {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		width: 8.2em;
		height: 4.2em;
		margin: 0 auto 1em;
		padding: 0.45em 0.6em;
		overflow: hidden;
		background: #f7f5f1;
		border-radius: 3px;
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
	}

	.mapa-ficha-logo img {
		display: block;
		max-height: 2.7em !important;
		max-width: 6.8em !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain;
		border: 0;
	}

	.mapa-ficha em {
		display: block;
		font-style: normal;
		font-size: 0.62em;
		letter-spacing: 0.28em;
		text-transform: uppercase;
		color: #9aa3b0;
	}

	.mapa-ficha strong {
		display: block;
		margin-top: 0.35em;
		font-size: 1.35em;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: #ffffff;
		text-shadow: 0 8px 28px #111;
	}

	.mapa-ficha p {
		margin: 0.7em 0 0;
		font-size: 0.78em;
		letter-spacing: 0.06em;
		line-height: 1.55;
		color: #c5c9d0;
		text-shadow: 0 4px 16px #111;
	}

.leaflet-marker-icon.kamar-nodo {
	background: transparent;
	border: 0;
	overflow: visible !important;
}

.kamar-nodo-hub {
	position: absolute;
	left: 4px;
	top: 4px;
	width: 10px;
	height: 10px;
	background: #f3f3f3;
	border-radius: 100%;
	box-shadow: 0 0 0 4px rgba(243, 243, 243, 0.18), 0 0 16px rgba(255, 255, 255, 0.35);
	z-index: 2;
}

	.kamar-nodo.is-activo .kamar-nodo-hub {
		background: #ffffff;
		box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25), 0 0 24px rgba(255, 255, 255, 0.7);
	}

.kamar-nodo-ciudad {
	position: absolute;
	top: 20px;
	left: 50%;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(243, 243, 243, 0.8);
	text-shadow: 0 2px 8px #0e1012;
}

	.kamar-nodo.is-activo .kamar-nodo-ciudad {
		color: #ffffff;
	}

	.kamar-nodo.ancla-arriba .kamar-nodo-ciudad {
		top: auto;
		bottom: 20px;
	}

	.kamar-nodo.ancla-izq .kamar-nodo-ciudad {
		left: auto;
		right: 22px;
		top: 2px;
		-moz-transform: none;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}

	.kamar-nodo.ancla-der .kamar-nodo-ciudad {
		left: 22px;
		top: 2px;
		-moz-transform: none;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}

path.kamar-arco {
	stroke-dasharray: 6 10;
	animation: kamar-dash 26s linear infinite;
}

path.kamar-flujo {
	stroke-dasharray: 5 22;
	animation: kamar-dash 9s linear infinite;
}

@keyframes kamar-dash {
	to { stroke-dashoffset: -240; }
}

.leaflet-control-zoom a {
	background: #2a2a2b !important;
	color: #f3f3f3 !important;
	border: solid 1px rgba(255, 255, 255, 0.12) !important;
	width: 2.1em !important;
	height: 2.1em !important;
	line-height: 2.1em !important;
}

	.leaflet-control-zoom a:hover {
		background: #4a5469 !important;
	}

.leaflet-control-attribution {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.35) !important;
}

	.leaflet-control-attribution a {
		color: rgba(255, 255, 255, 0.45) !important;
	}

img.matte-negra {
	mix-blend-mode: lighten;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: #2a2a2b;
	color: #f3f3f3;
	border-radius: 3px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.leaflet-popup-content {
	margin: 1em 1.1em;
}

.kamar-popup {
	text-align: center;
	min-width: 10em;
}

	.kamar-popup strong {
		display: block;
		font-size: 0.75em;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		color: #ffffff;
	}

	.kamar-popup span,
	.kamar-popup em {
		display: block;
		font-size: 0.68em;
		font-style: normal;
		letter-spacing: 0.14em;
		text-transform: uppercase;
		color: #9aa3b0;
		margin-top: 0.25em;
	}

@media screen and (max-width: 736px) {
	.clientes-cinta {
		height: 5.6em;
	}

	.clientes-cinta-placa {
		-moz-flex: 0 0 6.4em;
		-webkit-flex: 0 0 6.4em;
		-ms-flex: 0 0 6.4em;
		flex: 0 0 6.4em;
		width: 6.4em;
		height: 3.6em;
		margin: 0 0.5em;
	}

	.clientes-cinta-placa img {
		max-height: 2.1em !important;
		max-width: 5.2em !important;
	}

	#mapa-kamar,
	#mapa-sitio {
		height: 72vh;
		min-height: 24em;
	}

	.mapa-ficha strong {
		font-size: 1.05em;
	}

	.mapa-ficha-logo {
		width: 7.2em;
		height: 3.6em;
	}

	.mapa-ficha-logo img {
		max-height: 2.2em !important;
		max-width: 5.6em !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.clientes-cinta-track,
	path.kamar-arco,
	path.kamar-flujo {
		animation: none;
	}
}

@media screen and (max-width: 980px) {
	.spotlight .image.product-visual {
		min-height: 14em;
	}
}

.kamar-aviso {
	margin: 0 0 1.5em;
	padding: 1em 1.25em;
	border-radius: 3px;
	font-size: 0.8em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

	.kamar-aviso.es-ok {
		background: rgba(243, 243, 243, 0.12);
		color: #f3f3f3;
	}

	.kamar-aviso.es-error {
		background: rgba(180, 70, 70, 0.28);
		color: #f3f3f3;
	}

.kamar-trampa {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

/* Cotización y ubicación: apartados distintos */
#giro.wrapper.style2 {
	background-color: #2a2a2b;
	color: #d0d2d4;
}

	#giro h2,
	#giro h3 {
		color: #ffffff;
	}

	#giro header.major p,
	#giro .ubicacion-kicker {
		color: #9aa3b0;
	}

	#giro .features li:before {
		color: #9aa3b0;
	}

#cta.wrapper.style4 {
	background-color: #4a5469;
	color: #d5d8de;
}

	#cta h2 {
		color: #ffffff;
	}

	#cta header p {
		color: #c5c9d0;
	}

#cta .inner {
	display: block;
	max-width: 48em;
}

	#cta .inner header {
		width: 100%;
		padding-right: 0;
		margin: 0 0 2em;
		text-align: center;
	}

	#cta form {
		margin: 0;
	}

#ubicacion > .inner {
	padding-bottom: 4.5em;
}

#ubicacion .ubicacion-kicker {
	margin: 0 0 0.85em;
	font-size: 0.7em;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #9aa3b0;
}

#ubicacion .contacto-dato {
	margin: 0.2em 0 0;
	font-size: 0.8em;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #4e4e4c;
}

	#ubicacion .contacto-dato a {
		border-bottom: dotted 1px rgba(42, 42, 43, 0.35);
		color: #2a2a2b;
	}

		#ubicacion .contacto-dato a:hover {
			color: #4a5469;
		}

#ubicacion .actions {
	margin-top: 2em;
}

/* Capa cinematográfica (ritmo editorial, CSS + scrollex nativo) */
#banner {
	isolation: isolate;
}

	#banner .inner {
		position: relative;
		z-index: 2;
		will-change: opacity, transform;
	}

	#banner .more {
		z-index: 2;
	}

.banner-atmosfera {
	pointer-events: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.banner-media {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-velo {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(16, 18, 22, 0.38) 0%, rgba(42, 42, 43, 0.52) 48%, rgba(42, 42, 43, 0.82) 100%);
	z-index: 1;
}

.banner-grano {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	z-index: 1;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
	background-size: 180px 180px;
}

#banner .banner-lema {
	margin: 0.85em 0 1.15em;
	font-size: 1.55em;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: none;
	color: #f3f3f3;
}

h2 em,
h3 em,
#banner .banner-lema em {
	font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
}

.is-reveal.is-waiting {
	opacity: 0;
	transform: translate3d(0, 2.4em, 0);
	transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

	.is-reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.spotlight.is-reveal.is-waiting {
		transform: translate3d(-2.2em, 0, 0);
	}

	.spotlight:nth-child(even).is-reveal.is-waiting {
		transform: translate3d(2.2em, 0, 0);
	}

	.spotlight.is-reveal.is-visible {
		transform: none;
	}

	.features li.is-reveal:nth-child(1) { transition-delay: 0.05s; }
	.features li.is-reveal:nth-child(2) { transition-delay: 0.12s; }
	.features li.is-reveal:nth-child(3) { transition-delay: 0.19s; }
	.features li.is-reveal:nth-child(4) { transition-delay: 0.26s; }
	.features li.is-reveal:nth-child(5) { transition-delay: 0.33s; }
	.features li.is-reveal:nth-child(6) { transition-delay: 0.4s; }

#one.is-waiting .icons.major li {
	opacity: 0;
	transform: scale(0.86);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

	#one.is-visible .icons.major li {
		opacity: 1;
		transform: none;
	}

	#one .icons.major li:nth-child(1) { transition-delay: 0.2s; }
	#one .icons.major li:nth-child(2) { transition-delay: 0.35s; }
	#one .icons.major li:nth-child(3) { transition-delay: 0.5s; }

.spotlight .image {
	overflow: hidden;
}

	.spotlight .image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		-moz-transform: scale(1.06);
		-webkit-transform: scale(1.06);
		-ms-transform: scale(1.06);
		transform: scale(1.06);
		-moz-transition: -moz-transform 8s ease;
		-webkit-transition: -webkit-transform 8s ease;
		-ms-transition: -ms-transform 8s ease;
		transition: transform 8s ease;
	}

	.spotlight.is-visible .image img {
		-moz-transform: scale(1.14);
		-webkit-transform: scale(1.14);
		-ms-transform: scale(1.14);
		transform: scale(1.14);
	}

@media (prefers-reduced-motion: reduce) {
	.banner-media {
		display: none;
	}

	.is-reveal,
	#one .icons.major li,
	.spotlight .image img {
		animation: none;
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Tarjeta de presentación (no aparece en la landing) */
body.tarjeta-pagina {
	min-height: 100vh;
}

	body.tarjeta-pagina #page-wrapper {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-align-items: center;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		min-height: 100vh;
		padding: 3em 1.5em 2em;
		background: #2a2a2b;
	}

.tarjeta-ficha {
	width: 100%;
	max-width: 28em;
	text-align: center;
}

	.tarjeta-ficha header {
		margin: 0 0 2em;
	}

	.tarjeta-ficha header img {
		display: block;
		height: 4.5em;
		width: auto;
		margin: 0 auto;
		border: 0;
	}

	.tarjeta-foto {
		margin: 0 auto 1.6em;
		width: 8.5em;
		height: 8.5em;
		overflow: hidden;
		border-radius: 3px;
		border: solid 1px rgba(243, 243, 243, 0.12);
	}

	.tarjeta-foto img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border: 0;
	}

	.tarjeta-ficha h1 {
		margin: 0;
		font-size: 1.6em;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: #ffffff;
	}

	.tarjeta-cargo {
		margin: 0.55em 0 0;
		font-size: 0.72em;
		letter-spacing: 0.28em;
		text-transform: uppercase;
		color: #9aa3b0;
	}

	.tarjeta-frase {
		margin: 1.2em 0 0;
		font-size: 0.9em;
		letter-spacing: 0.04em;
		line-height: 1.6;
		color: #c5c9d0;
	}

	.tarjeta-ficha .actions {
		margin: 1.6em 0 0;
	}

	.tarjeta-vcard {
		margin: 1.8em 0 0;
		font-size: 0.68em;
		letter-spacing: 0.22em;
		text-transform: uppercase;
	}

	.tarjeta-vcard a {
		border-bottom: dotted 1px rgba(243, 243, 243, 0.35);
		color: #9aa3b0;
		text-decoration: none;
	}

	.tarjeta-vcard a:hover {
		color: #f3f3f3;
	}

	body.tarjeta-pagina #footer {
		margin-top: 3em;
		width: 100%;
	}
